]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
linux-firmware: replace mkdir by install
authorKonrad Weihmann <kweihmann@outlook.com>
Mon, 9 May 2022 10:59:57 +0000 (12:59 +0200)
committerSteve Sakoman <steve@sakoman.com>
Tue, 17 May 2022 14:14:23 +0000 (04:14 -1000)
commitc89bc0fc7f8afdf8ff0e93c3ebd7538987170a0c
treef5e985bbf642ac4b47f56068a94d7001cda40890
parentde0cafc01804a8d43b4b97e22fdc9a6b0adb8a48
linux-firmware: replace mkdir by install

if a setup is using RPM for packaging and there are multiple
recipes that install to ${nonarch_base_libdir}/firmware by using
install -d ${nonarch_base_libdir}/firmware, it will create installation
clashes on image install, as linux-firmware in before this patch
used mkdir -p, which creates different file mode bits (depending
on the current user's settings).

In a particular example
linux-fimware created /lib/firmware with 0600
while other-firmware-package created it with 0644
making the combination not installable by rpm backend

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98bf3f427702687bf81ed759e7cde5d6d15e77eb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-kernel/linux-firmware/files/0001-Makefile-replace-mkdir-by-install.patch [new file with mode: 0644]
meta/recipes-kernel/linux-firmware/linux-firmware_20220411.bb