mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 20:59:42 +01:00
mingetty: fix usrmerge install path
Update /sbin to $base_sbindir to fix the below warning when usrmerge enabled in DISTRO_FEATURES. WARNING: mingetty-1.08-r3 do_package: mingetty: NOT adding alternative provide /usr/sbin/getty: /usr/sbin/mingetty does not exist WARNING: mingetty-1.08-r3 do_package: QA Issue: mingetty: Files/directories were installed but not shipped in any package: /sbin /usr/sbin (From OE-Core rev: 35b92053c5bc0f4ae4b92ca75456535ff78797a2) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
238e027f20
commit
950d863a6e
@@ -16,6 +16,7 @@ EXTRA_OEMAKE = "CC='${CC}' \
|
||||
CFLAGS='${CFLAGS} -D_GNU_SOURCE'"
|
||||
|
||||
do_install(){
|
||||
sed -i -e "s;SBINDIR=/sbin;SBINDIR=$base_sbindir;" ${S}/Makefile
|
||||
install -d ${D}${mandir}/man8 ${D}/${base_sbindir}
|
||||
oe_runmake install DESTDIR=${D}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user