]> code.ossystems Code Review - openembedded-core.git/commitdiff
sysvinit: Fix install order/dependency
authorMark Hatle <mark.hatle@kernel.crashing.org>
Tue, 25 Feb 2020 17:49:29 +0000 (11:49 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Feb 2020 23:08:11 +0000 (23:08 +0000)
It is possible for sysvinit to be installed before the passwd/group
files are installed from base-passwd.  This results in an warning that
the shutdown group can't be found.

Adding a dependeny on base-passwd will resolve this issue.

This has similar symptoms to the problem that oe-core commit
0227e929021263c51d2e7db36224000fecb01f1c fixed.  The fix is simular in that
it ensures that base-passwd is installed first, just at runtime vs setscene
time.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/sysvinit/sysvinit_2.96.bb

index 21ef0e9cf3a7d7365efb68e5f54f72b7c4d08d56..63c10848b464de208b82a34905f7bcde0bbf4f5a 100644 (file)
@@ -70,7 +70,7 @@ FILES_${PN} += "${base_sbindir}/* ${base_bindir}/*"
 FILES_sysvinit-pidof = "${base_bindir}/pidof.sysvinit ${base_sbindir}/killall5"
 FILES_sysvinit-sulogin = "${base_sbindir}/sulogin.sysvinit"
 
-RDEPENDS_${PN} += "sysvinit-pidof initd-functions"
+RDEPENDS_${PN} += "sysvinit-pidof initd-functions base-passwd"
 
 CFLAGS_prepend = "-D_GNU_SOURCE "
 export LCRYPT = "-lcrypt"