summaryrefslogtreecommitdiffstats
path: root/meta/classes/update-rc.d.bbclass
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:59 +0100
commit6381d45db7a76ea70e1e1ecf2950a35991093963 (patch)
tree818891416c56961f721559126135308bea97d4dc /meta/classes/update-rc.d.bbclass
parent4ab6b46665bc4d99dd01ddde8973ed5bf111c9a7 (diff)
downloadpoky-6381d45db7a76ea70e1e1ecf2950a35991093963.tar.gz
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. (From OE-Core rev: 164b1b54c4b3127733bcd0a21b379bb6869693cc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/update-rc.d.bbclass')
-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 @@
1UPDATERCPN ?= "${PN}" 1UPDATERCPN ?= "${PN}"
2 2
3DEPENDS_append = " update-rc.d-native" 3DEPENDS_append = " update-rc.d-native update-rc.d"
4VIRTUAL-RUNTIME_initscripts ?= "initscripts" 4VIRTUAL-RUNTIME_initscripts ?= "initscripts"
5DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}" 5DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}"
6UPDATERCD = "update-rc.d" 6UPDATERCD = "update-rc.d"