From: Richard Purdie Date: Fri, 7 Feb 2020 14:33:30 +0000 (+0000) Subject: sysvinit: Fix Reproducibility issue X-Git-Tag: uninative-2.8~265 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0227e929021263c51d2e7db36224000fecb01f1c;p=openembedded-core.git 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] Signed-off-by: Richard Purdie --- 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" inherit update-alternatives features_check DEPENDS_append = " update-rc.d-native base-passwd virtual/crypt" +do_package_setscene[depends] = "${MLPREFIX}base-passwd:do_populate_sysroot" REQUIRED_DISTRO_FEATURES = "sysvinit"