mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
init-system-helpers: avoid superfluous update-rc.d
Debians init-system-helpers bundle an own, perl written update-rc.d which
doesn't fulfill embedded/cross-build requirements as our own in
meta/recipes-core/update-rc.d
does. To avoid unnecessary conflicts or questions, do not bundle it by
default. Whoever wants it is invited to have an .bbappend.
(From OE-Core rev: 4e5a55c7ecf7100bb87dcad31723ee27b7006ac2)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
850abc548b
commit
ccbeea1c0b
@@ -16,8 +16,6 @@ SECTION = "base"
|
||||
LICENSE = "BSD-3-Clause & GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://debian/copyright;md5=ee2b1830fcfead84d07bc060ec43e072"
|
||||
|
||||
DEPENDS = "perl"
|
||||
|
||||
SRCREV = "760c625ec0e1ffebec2e391d891d389da0f65726"
|
||||
SRC_URI = "git://salsa.debian.org/debian/init-system-helpers.git"
|
||||
|
||||
@@ -30,17 +28,14 @@ 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}
|
||||
install -m 0755 ${S}/script/update-rc.d ${D}${sbindir}
|
||||
}
|
||||
|
||||
PACKAGES += "${PN}-invoke-rc.d ${PN}-service ${PN}-update-rc.d"
|
||||
PACKAGES += "${PN}-invoke-rc.d ${PN}-service"
|
||||
|
||||
FILES_${PN} = ""
|
||||
FILES_${PN}-invoke-rc.d = "${sbindir}/invoke-rc.d"
|
||||
FILES_${PN}-service = "${sbindir}/service"
|
||||
FILES_${PN}-update-rc.d = "${sbindir}/update-rc.d"
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
||||
RDEPENDS_${PN}-update-rc.d = "perl"
|
||||
RRECOMMENDS_${PN} += "${PN}-invoke-rc.d ${PN}-service ${PN}-update-rc.d"
|
||||
RRECOMMENDS_${PN} += "${PN}-invoke-rc.d ${PN}-service"
|
||||
|
||||
Reference in New Issue
Block a user