diff options
author | Konrad Weihmann <kweihmann@outlook.com> | 2022-05-09 12:59:57 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-20 10:08:06 +0100 |
commit | 98481ac1de15a7d24cf74aa7b613f64910a442b5 (patch) | |
tree | bfcea93344b9266ab950448e88d655cf4f15393a /scripts/lib/wic/plugins/source/rootfs.py | |
parent | 0070210dee83fdb820583d278188ba7d4ab4d55b (diff) | |
download | poky-98481ac1de15a7d24cf74aa7b613f64910a442b5.tar.gz |
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
(From OE-Core rev: e16b9768a2e3eb931d11558f448149c16afa490b)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/source/rootfs.py')
0 files changed, 0 insertions, 0 deletions