diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2017-01-19 10:39:53 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 22:51:09 +0000 |
commit | 0db5328ee2a80152904b9f82b738f92e9e38da55 (patch) | |
tree | e5ba3b4435bbac5878d17ad576942695dd63abce /meta/classes/update-rc.d.bbclass | |
parent | 39fb37a5143981ae16e722f4ebbbe1b29cbed5a4 (diff) | |
download | openembedded-core-0db5328ee2a80152904b9f82b738f92e9e38da55.tar.gz openembedded-core-0db5328ee2a80152904b9f82b738f92e9e38da55.tar.bz2 openembedded-core-0db5328ee2a80152904b9f82b738f92e9e38da55.zip |
update-rc.d: Add PACKAGE_WRITE_DEPS for postinst
use_updatercd() will always return true in rootfs generation so
checking that is not required.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Diffstat (limited to 'meta/classes/update-rc.d.bbclass')
-rw-r--r-- | meta/classes/update-rc.d.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index 9d3a7bc0c7..36f9009500 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/update-rc.d.bbclass @@ -1,6 +1,6 @@ UPDATERCPN ?= "${PN}" -DEPENDS_append_class-target = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', ' update-rc.d-native update-rc.d initscripts', '', d)}" +DEPENDS_append_class-target = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', ' update-rc.d initscripts', '', d)}" UPDATERCD = "update-rc.d" UPDATERCD_class-cross = "" @@ -34,6 +34,8 @@ if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then fi } +PACKAGE_WRITE_DEPS += "update-rc.d-native" + updatercd_postinst() { # Begin section update-rc.d if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then |