diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/distro/include/maintainers.inc | 1 | ||||
-rw-r--r-- | meta/recipes-core/initscripts/init-system-helpers_1.57.bb | 46 | ||||
-rw-r--r-- | meta/recipes-core/initscripts/initscripts_1.0.bb | 1 |
3 files changed, 48 insertions, 0 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index dc20126d9b..6496a48e40 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc | |||
@@ -264,6 +264,7 @@ RECIPE_MAINTAINER_pn-icu = "Alexander Kanavin <alex.kanavin@gmail.com>" | |||
264 | RECIPE_MAINTAINER_pn-ifupdown = "Anuj Mittal <anuj.mittal@intel.com>" | 264 | RECIPE_MAINTAINER_pn-ifupdown = "Anuj Mittal <anuj.mittal@intel.com>" |
265 | RECIPE_MAINTAINER_pn-inetutils = "Tom Rini <trini@konsulko.com>" | 265 | RECIPE_MAINTAINER_pn-inetutils = "Tom Rini <trini@konsulko.com>" |
266 | RECIPE_MAINTAINER_pn-init-ifupdown = "Anuj Mittal <anuj.mittal@intel.com>" | 266 | RECIPE_MAINTAINER_pn-init-ifupdown = "Anuj Mittal <anuj.mittal@intel.com>" |
267 | RECIPE_MAINTAINER_pn-init-system-helpers = "Anuj Mittal <anuj.mittal@intel.com>" | ||
267 | RECIPE_MAINTAINER_pn-initramfs-boot = "Otavio Salvador <otavio.salvador@ossystems.com.br>" | 268 | RECIPE_MAINTAINER_pn-initramfs-boot = "Otavio Salvador <otavio.salvador@ossystems.com.br>" |
268 | RECIPE_MAINTAINER_pn-initramfs-framework = "Otavio Salvador <otavio.salvador@ossystems.com.br>" | 269 | RECIPE_MAINTAINER_pn-initramfs-framework = "Otavio Salvador <otavio.salvador@ossystems.com.br>" |
269 | RECIPE_MAINTAINER_pn-initramfs-live-boot = "Anuj Mittal <anuj.mittal@intel.com>" | 270 | RECIPE_MAINTAINER_pn-initramfs-live-boot = "Anuj Mittal <anuj.mittal@intel.com>" |
diff --git a/meta/recipes-core/initscripts/init-system-helpers_1.57.bb b/meta/recipes-core/initscripts/init-system-helpers_1.57.bb new file mode 100644 index 0000000000..d41bb94791 --- /dev/null +++ b/meta/recipes-core/initscripts/init-system-helpers_1.57.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | SUMMARY = "helper tools for all init systems" | ||
2 | DESCRIPTION = "This package contains helper tools that are necessary for switching between \ | ||
3 | the various init systems that Debian contains (e. g. sysvinit or \ | ||
4 | systemd). An example is deb-systemd-helper, a script that enables systemd unit \ | ||
5 | files without depending on a running systemd. \ | ||
6 | \ | ||
7 | It also includes the \"service\", \"invoke-rc.d\", and \"update-rc.d\" scripts which \ | ||
8 | provide an abstraction for enabling, disabling, starting, and stopping \ | ||
9 | services for all supported Debian init systems as specified by the policy. \ | ||
10 | \ | ||
11 | While this package is maintained by pkg-systemd-maintainers, it is NOT \ | ||
12 | specific to systemd at all. Maintainers of other init systems are welcome to \ | ||
13 | include their helpers in this package." | ||
14 | HOMEPAGE = "https://salsa.debian.org/debian/init-system-helpers" | ||
15 | SECTION = "base" | ||
16 | LICENSE = "BSD-3-Clause & GPLv2" | ||
17 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=ee2b1830fcfead84d07bc060ec43e072" | ||
18 | |||
19 | DEPENDS = "perl" | ||
20 | |||
21 | SRCREV = "760c625ec0e1ffebec2e391d891d389da0f65726" | ||
22 | SRC_URI = "git://salsa.debian.org/debian/init-system-helpers.git" | ||
23 | |||
24 | S = "${WORKDIR}/git" | ||
25 | |||
26 | do_configure[noexec] = "1" | ||
27 | do_compile[noexec] = "1" | ||
28 | |||
29 | do_install() { | ||
30 | install -d -m 0755 ${D}${sbindir} | ||
31 | install -m 0755 ${S}/script/invoke-rc.d ${D}${sbindir} | ||
32 | install -m 0755 ${S}/script/service ${D}${sbindir} | ||
33 | install -m 0755 ${S}/script/update-rc.d ${D}${sbindir} | ||
34 | } | ||
35 | |||
36 | PACKAGES += "${PN}-invoke-rc.d ${PN}-service ${PN}-update-rc.d" | ||
37 | |||
38 | FILES_${PN} = "" | ||
39 | FILES_${PN}-invoke-rc.d = "${sbindir}/invoke-rc.d" | ||
40 | FILES_${PN}-service = "${sbindir}/service" | ||
41 | FILES_${PN}-update-rc.d = "${sbindir}/update-rc.d" | ||
42 | |||
43 | ALLOW_EMPTY_${PN} = "1" | ||
44 | |||
45 | RDEPENDS_${PN}-update-rc.d = "perl" | ||
46 | RRECOMMENDS_${PN} += "${PN}-invoke-rc.d ${PN}-service ${PN}-update-rc.d" | ||
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb index 1a59b82fbf..4080c4a495 100644 --- a/meta/recipes-core/initscripts/initscripts_1.0.bb +++ b/meta/recipes-core/initscripts/initscripts_1.0.bb | |||
@@ -50,6 +50,7 @@ PACKAGE_WRITE_DEPS_append = " ${@bb.utils.contains('DISTRO_FEATURES','systemd',' | |||
50 | PACKAGES =+ "${PN}-functions ${PN}-sushell" | 50 | PACKAGES =+ "${PN}-functions ${PN}-sushell" |
51 | RDEPENDS_${PN} = "initd-functions \ | 51 | RDEPENDS_${PN} = "initd-functions \ |
52 | ${@bb.utils.contains('DISTRO_FEATURES','selinux','${PN}-sushell','',d)} \ | 52 | ${@bb.utils.contains('DISTRO_FEATURES','selinux','${PN}-sushell','',d)} \ |
53 | init-system-helpers-service \ | ||
53 | " | 54 | " |
54 | # Recommend pn-functions so that it will be a preferred default provider for initd-functions | 55 | # Recommend pn-functions so that it will be a preferred default provider for initd-functions |
55 | RRECOMMENDS_${PN} = "${PN}-functions" | 56 | RRECOMMENDS_${PN} = "${PN}-functions" |