diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-25 23:05:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-25 23:06:59 +0100 |
commit | 6381d45db7a76ea70e1e1ecf2950a35991093963 (patch) | |
tree | 818891416c56961f721559126135308bea97d4dc | |
parent | 4ab6b46665bc4d99dd01ddde8973ed5bf111c9a7 (diff) | |
download | poky-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>
-rw-r--r-- | meta/classes/update-rc.d.bbclass | 2 |
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 @@ | |||
1 | UPDATERCPN ?= "${PN}" | 1 | UPDATERCPN ?= "${PN}" |
2 | 2 | ||
3 | DEPENDS_append = " update-rc.d-native" | 3 | DEPENDS_append = " update-rc.d-native update-rc.d" |
4 | VIRTUAL-RUNTIME_initscripts ?= "initscripts" | 4 | VIRTUAL-RUNTIME_initscripts ?= "initscripts" |
5 | DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}" | 5 | DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}" |
6 | UPDATERCD = "update-rc.d" | 6 | UPDATERCD = "update-rc.d" |