[OE-core] [PATCH 1/3] sysvinit: Fix Reproducibility issue
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Feb 7 14:40:55 UTC 2020
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 <richard.purdie at linuxfoundation.org>
---
meta/recipes-core/sysvinit/sysvinit_2.96.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-core/sysvinit/sysvinit_2.96.bb b/meta/recipes-core/sysvinit/sysvinit_2.96.bb
index 2b146b1ef8f..349ea71837d 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] = "base-passwd:do_populate_sysroot"
REQUIRED_DISTRO_FEATURES = "sysvinit"
--
2.20.1
More information about the Openembedded-core
mailing list