mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
dracut: fix host-user-contaminated
Fixed: dracut-043+giteab03540cd695d940062af5b55c02e8829aaa526: dracut: /dracut/usr/lib/dracut/modules.d/99img-lib/img-lib.sh is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] lib32-dracut-043+giteab03540cd695d940062af5b55c02e8829aaa526: lib32-dracut: /lib32-dracut/usr/lib/dracut/modules.d/99img-lib/img-lib.sh is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] Its Makefile uses cp -arx to install modules.d, so fix the owner to root:root Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
7ad5e2d13b
commit
6fa49f3763
|
|
@ -36,6 +36,9 @@ do_configure() {
|
|||
|
||||
do_install() {
|
||||
oe_runmake install DESTDIR=${D}
|
||||
# Its Makefile uses cp -arx to install modules.d, so fix the owner
|
||||
# to root:root
|
||||
chown -R root:root ${D}/${prefix}/lib/dracut/modules.d
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-bash-completion"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user