[oe-commits] [openembedded-core] 08/11: sysvinit: Fix Reproducibility issue

git at git.openembedded.org git at git.openembedded.org
Fri Feb 7 14:53:39 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 16fc52a5894d1768aaa3914e8d4e46eaa01bf250
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Feb 7 14:33:30 2020 +0000

    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 <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 2b146b1..349ea71 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"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list