summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-25 23:05:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-25 23:06:46 +0100
commit164b1b54c4b3127733bcd0a21b379bb6869693cc (patch)
tree819d00653f7d133c944828a19276b93ac50cc612 /meta/classes
parentc027c1283e6444ab05f444eb5d292ec1a36b5821 (diff)
downloadopenembedded-core-164b1b54c4b3127733bcd0a21b379bb6869693cc.tar.gz
openembedded-core-164b1b54c4b3127733bcd0a21b379bb6869693cc.tar.bz2
openembedded-core-164b1b54c4b3127733bcd0a21b379bb6869693cc.zip
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@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/update-rc.d.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 5d67a485e9..7bdc0e2e72 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"