diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/initscripts/initscripts_1.0.bb | 5 |
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 | |||
46 | DEPENDS_append = " update-rc.d-native" | 46 | DEPENDS_append = " update-rc.d-native" |
47 | PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" | 47 | PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd-systemctl-native','',d)}" |
48 | 48 | ||
49 | PACKAGES =+ "${PN}-functions" | 49 | PACKAGES =+ "${PN}-functions ${PN}-sushell" |
50 | RDEPENDS_${PN} = "${PN}-functions \ | 50 | RDEPENDS_${PN} = "${PN}-functions \ |
51 | ${@bb.utils.contains('DISTRO_FEATURES','selinux','bash','',d)} \ | 51 | ${@bb.utils.contains('DISTRO_FEATURES','selinux','${PN}-sushell','',d)} \ |
52 | " | 52 | " |
53 | FILES_${PN}-functions = "${sysconfdir}/init.d/functions*" | 53 | FILES_${PN}-functions = "${sysconfdir}/init.d/functions*" |
54 | FILES_${PN}-sushell = "${base_sbindir}/sushell" | ||
54 | 55 | ||
55 | ALTERNATIVE_PRIORITY_${PN}-functions = "90" | 56 | ALTERNATIVE_PRIORITY_${PN}-functions = "90" |
56 | ALTERNATIVE_${PN}-functions = "functions" | 57 | ALTERNATIVE_${PN}-functions = "functions" |