diff options
author | Mingli Yu <Mingli.Yu@windriver.com> | 2018-08-17 14:27:10 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-24 07:53:14 +0100 |
commit | 950d863a6e38ff31f8c471b7c48199a1e82e609e (patch) | |
tree | dee98d89be8cefa00aca5741304970e237abbb4e | |
parent | 238e027f20431c8c6e4b532e0afe04c40ad14e34 (diff) | |
download | poky-950d863a6e38ff31f8c471b7c48199a1e82e609e.tar.gz |
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>
-rw-r--r-- | meta/recipes-extended/mingetty/mingetty_1.08.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/mingetty/mingetty_1.08.bb b/meta/recipes-extended/mingetty/mingetty_1.08.bb index 3c16228b0d..491b892093 100644 --- a/meta/recipes-extended/mingetty/mingetty_1.08.bb +++ b/meta/recipes-extended/mingetty/mingetty_1.08.bb | |||
@@ -16,6 +16,7 @@ EXTRA_OEMAKE = "CC='${CC}' \ | |||
16 | CFLAGS='${CFLAGS} -D_GNU_SOURCE'" | 16 | CFLAGS='${CFLAGS} -D_GNU_SOURCE'" |
17 | 17 | ||
18 | do_install(){ | 18 | do_install(){ |
19 | sed -i -e "s;SBINDIR=/sbin;SBINDIR=$base_sbindir;" ${S}/Makefile | ||
19 | install -d ${D}${mandir}/man8 ${D}/${base_sbindir} | 20 | install -d ${D}${mandir}/man8 ${D}/${base_sbindir} |
20 | oe_runmake install DESTDIR=${D} | 21 | oe_runmake install DESTDIR=${D} |
21 | } | 22 | } |