mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 07:19:39 +01:00
Changelog: ========= * use fakechroot instead of unsharing the mount namespace and mounting tmpfs * deb-systemd-invoke: systemctl --machine @<UID> is now available in v249.10. Adjust the version check accordingly * Skip build-time tests if DEB_BUILD_OPTIONS=nocheck is set * Fix typos found by Lintian * Set Rules-Requires-Root: no (From OE-Core rev: 5ee6558c4364d49a0e003648ac49f58f1fb41765) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
42 lines
1.6 KiB
BlitzBasic
42 lines
1.6 KiB
BlitzBasic
SUMMARY = "helper tools for all init systems"
|
|
DESCRIPTION = "This package contains helper tools that are necessary for switching between \
|
|
the various init systems that Debian contains (e. g. sysvinit or \
|
|
systemd). An example is deb-systemd-helper, a script that enables systemd unit \
|
|
files without depending on a running systemd. \
|
|
\
|
|
It also includes the \"service\", \"invoke-rc.d\", and \"update-rc.d\" scripts which \
|
|
provide an abstraction for enabling, disabling, starting, and stopping \
|
|
services for all supported Debian init systems as specified by the policy. \
|
|
\
|
|
While this package is maintained by pkg-systemd-maintainers, it is NOT \
|
|
specific to systemd at all. Maintainers of other init systems are welcome to \
|
|
include their helpers in this package."
|
|
HOMEPAGE = "https://salsa.debian.org/debian/init-system-helpers"
|
|
SECTION = "base"
|
|
LICENSE = "BSD-3-Clause & GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://debian/copyright;md5=ee2b1830fcfead84d07bc060ec43e072"
|
|
|
|
SRCREV = "bbe4b508f3216cdc124683ba449e2295974a6b4a"
|
|
SRC_URI = "git://salsa.debian.org/debian/init-system-helpers.git;protocol=https;branch=master"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
do_configure[noexec] = "1"
|
|
do_compile[noexec] = "1"
|
|
|
|
do_install() {
|
|
install -d -m 0755 ${D}${sbindir}
|
|
install -m 0755 ${S}/script/invoke-rc.d ${D}${sbindir}
|
|
install -m 0755 ${S}/script/service ${D}${sbindir}
|
|
}
|
|
|
|
PACKAGES += "${PN}-invoke-rc.d ${PN}-service"
|
|
|
|
FILES:${PN} = ""
|
|
FILES:${PN}-invoke-rc.d = "${sbindir}/invoke-rc.d"
|
|
FILES:${PN}-service = "${sbindir}/service"
|
|
|
|
ALLOW_EMPTY:${PN} = "1"
|
|
|
|
RRECOMMENDS:${PN} += "${PN}-invoke-rc.d ${PN}-service"
|