Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Jens Rehsack" <rehsack@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Anuj Mittal <anuj.mittal@intel.com>,
	Otavio Salvador <otavio.salvador@gmail.com>,
	Jens Rehsack <sno@netbsd.org>
Subject: [OE-core][PATCH v4 2/2] init-system-helpers: avoid superfluous update-rc.d
Date: Tue,  2 Jun 2020 15:42:56 +0200	[thread overview]
Message-ID: <20200602134256.8156-2-sno@netbsd.org> (raw)
In-Reply-To: <20200602134256.8156-1-sno@netbsd.org>

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.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
---
 .../recipes-core/initscripts/init-system-helpers_1.57.bb | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-core/initscripts/init-system-helpers_1.57.bb b/meta/recipes-core/initscripts/init-system-helpers_1.57.bb
index d41bb94791..46f5bbf442 100644
--- a/meta/recipes-core/initscripts/init-system-helpers_1.57.bb
+++ b/meta/recipes-core/initscripts/init-system-helpers_1.57.bb
@@ -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"
-- 
2.17.1


  reply	other threads:[~2020-06-02 13:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-02 13:42 [OE-core][PATCH v4 1/2] initscripts/init-system-helpers: fix mountnfs.sh dependency Jens Rehsack
2020-06-02 13:42 ` Jens Rehsack [this message]
2020-06-04 19:29 ` Denys Dmytriyenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200602134256.8156-2-sno@netbsd.org \
    --to=rehsack@gmail.com \
    --cc=anuj.mittal@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=otavio.salvador@gmail.com \
    --cc=sno@netbsd.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox