diff options
Diffstat (limited to 'meta/recipes-core/initscripts/init-system-helpers_1.66.bb')
-rw-r--r-- | meta/recipes-core/initscripts/init-system-helpers_1.66.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-core/initscripts/init-system-helpers_1.66.bb b/meta/recipes-core/initscripts/init-system-helpers_1.66.bb new file mode 100644 index 0000000000..64e08aae68 --- /dev/null +++ b/meta/recipes-core/initscripts/init-system-helpers_1.66.bb | |||
@@ -0,0 +1,42 @@ | |||
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 & GPL-2.0-only" | ||
17 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=c4ec20aa158fa9de26ee1accf78dcaae" | ||
18 | |||
19 | SRCREV = "a5439f465dc1d1d4e12329208dc321fb806009f4" | ||
20 | SRC_URI = "git://salsa.debian.org/debian/init-system-helpers.git;protocol=https;branch=master" | ||
21 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))(?!_exp)" | ||
22 | |||
23 | S = "${WORKDIR}/git" | ||
24 | |||
25 | do_configure[noexec] = "1" | ||
26 | do_compile[noexec] = "1" | ||
27 | |||
28 | do_install() { | ||
29 | install -d -m 0755 ${D}${sbindir} | ||
30 | install -m 0755 ${S}/script/invoke-rc.d ${D}${sbindir} | ||
31 | install -m 0755 ${S}/script/service ${D}${sbindir} | ||
32 | } | ||
33 | |||
34 | PACKAGES += "${PN}-invoke-rc.d ${PN}-service" | ||
35 | |||
36 | FILES:${PN} = "" | ||
37 | FILES:${PN}-invoke-rc.d = "${sbindir}/invoke-rc.d" | ||
38 | FILES:${PN}-service = "${sbindir}/service" | ||
39 | |||
40 | ALLOW_EMPTY:${PN} = "1" | ||
41 | |||
42 | RRECOMMENDS:${PN} += "${PN}-invoke-rc.d ${PN}-service" | ||