]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 May 2022 08:45:31 +0000 (09:45 +0100)
commit98bf3f427702687bf81ed759e7cde5d6d15e77eb
tree3bf3946d08f9d38157bd0cf5a5172c1c0268982c
parentf0bd9e5d10dc86d7b2639a31ab12728ab67bebd5
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>
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