summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/initscripts/initscripts_1.0.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
index 5951e0c198..d1644a3204 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -42,8 +42,12 @@ KERNEL_VERSION = ""
42inherit update-alternatives 42inherit update-alternatives
43DEPENDS_append = " update-rc.d-native" 43DEPENDS_append = " update-rc.d-native"
44 44
45ALTERNATIVE_PRIORITY = "90" 45PACKAGES =+ "${PN}-functions"
46ALTERNATIVE_${PN} = "functions" 46RDEPENDS_${PN} = "${PN}-functions"
47FILES_${PN}-functions = "${sysconfdir}/init.d/functions*"
48
49ALTERNATIVE_PRIORITY_${PN}-functions = "90"
50ALTERNATIVE_${PN}-functions = "functions"
47ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions" 51ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions"
48 52
49HALTARGS ?= "-d -f" 53HALTARGS ?= "-d -f"