[oe-commits] Richard Purdie : update-rc.d: Include updated-rc.d in DEPENDS

git at git.openembedded.org git at git.openembedded.org
Sat Jul 25 22:16:18 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 164b1b54c4b3127733bcd0a21b379bb6869693cc
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=164b1b54c4b3127733bcd0a21b379bb6869693cc

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sat Jul 25 23:05:22 2015 +0100

update-rc.d: Include updated-rc.d in DEPENDS

If you build a user of updated-rc.d like udev, as things stand currently
nothing pulls in updated-rc.d but there is a dependency added on the
package at do_package time. This can lead to errors during rootfs
construction either with licensing. The fact its a RRECOMMEND means
the image are not deterministic.

A particularly good test case for reproducing this is:

MACHINE=A bitbake core-image-minimal
MACHINE=B bitbake core-image-minimal-initramfs

and since the second machine can find the package but not the license
manifest, a failure will result.

Extending the DEPENDS is the easy way to fix the issues.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/update-rc.d.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 5d67a48..7bdc0e2 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -1,6 +1,6 @@
 UPDATERCPN ?= "${PN}"
 
-DEPENDS_append = " update-rc.d-native"
+DEPENDS_append = " update-rc.d-native update-rc.d"
 VIRTUAL-RUNTIME_initscripts ?= "initscripts"
 DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}"
 UPDATERCD = "update-rc.d"



More information about the Openembedded-commits mailing list