summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/initscripts/initscripts_1.0.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
index 7ab0d2bd41..d627d2e30f 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -46,11 +46,12 @@ inherit update-alternatives
46DEPENDS_append = " update-rc.d-native" 46DEPENDS_append = " update-rc.d-native"
47PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" 47PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}"
48 48
49PACKAGES =+ "${PN}-functions" 49PACKAGES =+ "${PN}-functions ${PN}-sushell"
50RDEPENDS_${PN} = "${PN}-functions \ 50RDEPENDS_${PN} = "${PN}-functions \
51 ${@bb.utils.contains('DISTRO_FEATURES','selinux','bash','',d)} \ 51 ${@bb.utils.contains('DISTRO_FEATURES','selinux','${PN}-sushell','',d)} \
52 " 52 "
53FILES_${PN}-functions = "${sysconfdir}/init.d/functions*" 53FILES_${PN}-functions = "${sysconfdir}/init.d/functions*"
54FILES_${PN}-sushell = "${base_sbindir}/sushell"
54 55
55ALTERNATIVE_PRIORITY_${PN}-functions = "90" 56ALTERNATIVE_PRIORITY_${PN}-functions = "90"
56ALTERNATIVE_${PN}-functions = "functions" 57ALTERNATIVE_${PN}-functions = "functions"