diff options
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 @@ | |||
1 | UPDATERCPN ?= "${PN}" | 1 | UPDATERCPN ?= "${PN}" |
2 | 2 | ||
3 | DEPENDS_append_class-target = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', ' update-rc.d-native update-rc.d initscripts', '', d)}" | 3 | DEPENDS_append_class-target = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', ' update-rc.d initscripts', '', d)}" |
4 | 4 | ||
5 | UPDATERCD = "update-rc.d" | 5 | UPDATERCD = "update-rc.d" |
6 | UPDATERCD_class-cross = "" | 6 | UPDATERCD_class-cross = "" |
@@ -34,6 +34,8 @@ if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then | |||
34 | fi | 34 | fi |
35 | } | 35 | } |
36 | 36 | ||
37 | PACKAGE_WRITE_DEPS += "update-rc.d-native" | ||
38 | |||
37 | updatercd_postinst() { | 39 | updatercd_postinst() { |
38 | # Begin section update-rc.d | 40 | # Begin section update-rc.d |
39 | if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then | 41 | if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then |