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