summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/sysvinit
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-07 14:33:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-08 13:20:01 +0000
commit0f2fdd4abfd70f3608f7612f9f4ef1506250ade1 (patch)
tree0d3df54642eb13acce68f94f99c6169160d09f39 /meta/recipes-core/sysvinit
parent1b463c9e74507613261ab7c3c36707bf4223a925 (diff)
downloadpoky-0f2fdd4abfd70f3608f7612f9f4ef1506250ade1.tar.gz
sysvinit: Fix Reproducibility issue
With a sequence like: bitbake sysvinit bitbake sysvinit -c clean bitbake sysvinit -c package_write_ipk -f then the resulting package has two files with group "root/70" rather than "root/shutdown". The issue is that of do_package is a setscene task, base-passwd isn't present. This patch fixes that dependency but there may be other cases of this problem around. [YOCTO #13776] (From OE-Core rev: 0227e929021263c51d2e7db36224000fecb01f1c) 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.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.96.bb b/meta/recipes-core/sysvinit/sysvinit_2.96.bb
index 2b146b1ef8..21ef0e9cf3 100644
--- a/meta/recipes-core/sysvinit/sysvinit_2.96.bb
+++ b/meta/recipes-core/sysvinit/sysvinit_2.96.bb
@@ -29,6 +29,7 @@ B = "${S}/src"
29 29
30inherit update-alternatives features_check 30inherit update-alternatives features_check
31DEPENDS_append = " update-rc.d-native base-passwd virtual/crypt" 31DEPENDS_append = " update-rc.d-native base-passwd virtual/crypt"
32do_package_setscene[depends] = "${MLPREFIX}base-passwd:do_populate_sysroot"
32 33
33REQUIRED_DISTRO_FEATURES = "sysvinit" 34REQUIRED_DISTRO_FEATURES = "sysvinit"
34 35