From 61638b4d855d3635af195aa49a3528cfd39d962c Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 29 Nov 2023 07:37:41 +0800 Subject: init-system-helpers: upgrade 1.65.2 -> 1.66 Changelog: ========== * d/init.lintian-overrides: Silence warning about "Important" field 'Important: yes' instructs APT to warn the user before removing this package. * script/update-rc.d: DPKG_ROOT support for sysvinit * Add "Protected: yes" to package "init" The "Protected" field does the same as "Important" already did in apt, but is also understood by dpkg (since dpkg 1.20.1). * Bump Standards-Version to 4.6.2, no changes * Override Lintian warning for Protected: yes * deb-systemd-invoke: support reload/reexec. This is useful for the --user case, to provide a shortcut that loops over all active user sessions over D-Bus. * deb-systemd-invoke: support --no-dbus for reload/reexec. Provide common implementation for SIGHUP/SIGRTMIN+25 to reload/reexec the system or user instances. (From OE-Core rev: 1d3af466f58dc1e5299c55f7ad6179128da3a553) Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../initscripts/init-system-helpers_1.65.2.bb | 42 ---------------------- .../initscripts/init-system-helpers_1.66.bb | 42 ++++++++++++++++++++++ 2 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 meta/recipes-core/initscripts/init-system-helpers_1.65.2.bb create mode 100644 meta/recipes-core/initscripts/init-system-helpers_1.66.bb (limited to 'meta/recipes-core/initscripts') diff --git a/meta/recipes-core/initscripts/init-system-helpers_1.65.2.bb b/meta/recipes-core/initscripts/init-system-helpers_1.65.2.bb deleted file mode 100644 index 1fc23acb74..0000000000 --- a/meta/recipes-core/initscripts/init-system-helpers_1.65.2.bb +++ /dev/null @@ -1,42 +0,0 @@ -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=c4ec20aa158fa9de26ee1accf78dcaae" - -SRCREV = "2f446b69db728b2bda68270a9b81de88102e1fdd" -SRC_URI = "git://salsa.debian.org/debian/init-system-helpers.git;protocol=https;branch=master" -UPSTREAM_CHECK_GITTAGREGEX = "(?P(\d+(\.\d+)+))(?!_exp)" - -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" 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 @@ +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=c4ec20aa158fa9de26ee1accf78dcaae" + +SRCREV = "a5439f465dc1d1d4e12329208dc321fb806009f4" +SRC_URI = "git://salsa.debian.org/debian/init-system-helpers.git;protocol=https;branch=master" +UPSTREAM_CHECK_GITTAGREGEX = "(?P(\d+(\.\d+)+))(?!_exp)" + +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" -- cgit v1.2.3-54-g00ecf