summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/sysvinit
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@kernel.crashing.org>2020-02-25 11:49:29 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-28 23:11:28 +0000
commit208b07a0407d8f4da8e46b5f2bbe8964e021a77a (patch)
treec0323b3f974394bedda1485777d059cf0e12e30b /meta/recipes-core/sysvinit
parent1033abb95f995793da8c1e471288dd9451cf92d2 (diff)
downloadpoky-208b07a0407d8f4da8e46b5f2bbe8964e021a77a.tar.gz
sysvinit: Fix install order/dependency
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. (From OE-Core rev: c4fb899b19a905a2b027f33947b6ec56f55b81a6) Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/sysvinit')
-rw-r--r--meta/recipes-core/sysvinit/sysvinit_2.96.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.96.bb b/meta/recipes-core/sysvinit/sysvinit_2.96.bb
index 21ef0e9cf3..63c10848b4 100644
--- a/meta/recipes-core/sysvinit/sysvinit_2.96.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_2.96.bb
@@ -70,7 +70,7 @@ FILES_${PN} += "${base_sbindir}/* ${base_bindir}/*"
70FILES_sysvinit-pidof = "${base_bindir}/pidof.sysvinit ${base_sbindir}/killall5" 70FILES_sysvinit-pidof = "${base_bindir}/pidof.sysvinit ${base_sbindir}/killall5"
71FILES_sysvinit-sulogin = "${base_sbindir}/sulogin.sysvinit" 71FILES_sysvinit-sulogin = "${base_sbindir}/sulogin.sysvinit"
72 72
73RDEPENDS_${PN} += "sysvinit-pidof initd-functions" 73RDEPENDS_${PN} += "sysvinit-pidof initd-functions base-passwd"
74 74
75CFLAGS_prepend = "-D_GNU_SOURCE " 75CFLAGS_prepend = "-D_GNU_SOURCE "
76export LCRYPT = "-lcrypt" 76export LCRYPT = "-lcrypt"