All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 24/33] update-rc.d: Add PACKAGE_WRITE_DEPS for postinst
Date: Thu, 19 Jan 2017 22:53:06 +0000	[thread overview]
Message-ID: <1484866395-17971-24-git-send-email-richard.purdie@linuxfoundation.org> (raw)
In-Reply-To: <1484866395-17971-1-git-send-email-richard.purdie@linuxfoundation.org>

From: Jussi Kukkonen <jussi.kukkonen@intel.com>

use_updatercd() will always return true in rootfs generation so
checking that is not required.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
---
 meta/classes/update-rc.d.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 9d3a7bc..36f9009 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -1,6 +1,6 @@
 UPDATERCPN ?= "${PN}"
 
-DEPENDS_append_class-target = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', ' update-rc.d-native update-rc.d initscripts', '', d)}"
+DEPENDS_append_class-target = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', ' update-rc.d initscripts', '', d)}"
 
 UPDATERCD = "update-rc.d"
 UPDATERCD_class-cross = ""
@@ -34,6 +34,8 @@ if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then
 fi
 }
 
+PACKAGE_WRITE_DEPS += "update-rc.d-native"
+
 updatercd_postinst() {
 # Begin section update-rc.d
 if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then
-- 
2.7.4



  parent reply	other threads:[~2017-01-19 22:53 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-19 22:52 [PATCH 01/33] lib/oe/utils: Add build_depends_string function Richard Purdie
2017-01-19 22:52 ` [PATCH 02/33] classes/package*: Add support for PACKAGE_WRITE_DEPS Richard Purdie
2017-01-19 22:52 ` [PATCH 03/33] sstate: Drop the depchain isPostDep() checks Richard Purdie
2017-01-19 22:52 ` [PATCH 04/33] gtk-icon-cache: Add PACKAGE_WRITE_DEPS for postinst Richard Purdie
2017-01-19 22:52 ` [PATCH 05/33] kernel-module-split: " Richard Purdie
2017-01-19 22:52 ` [PATCH 06/33] pixbufcache: " Richard Purdie
2017-01-19 22:52 ` [PATCH 07/33] systemd: " Richard Purdie
2017-01-19 22:52 ` [PATCH 08/33] keymaps: " Richard Purdie
2017-01-19 22:52 ` [PATCH 09/33] v86d: " Richard Purdie
2017-01-19 22:52 ` [PATCH 10/33] initscripts: " Richard Purdie
2017-01-19 22:52 ` [PATCH 11/33] psplash: " Richard Purdie
2017-01-19 22:52 ` [PATCH 12/33] systemd-compat-units: " Richard Purdie
2017-01-19 22:52 ` [PATCH 13/33] modutils-initsripts: " Richard Purdie
2017-01-19 22:52 ` [PATCH 14/33] matchbox-session-sato: " Richard Purdie
2017-01-19 22:52 ` [PATCH 15/33] ca-certificates: " Richard Purdie
2017-01-19 22:52 ` [PATCH 16/33] useradd: " Richard Purdie
2017-01-19 22:52 ` [PATCH 17/33] nss: Add PACKAGE_WRITE_DEPS Richard Purdie
2017-01-19 22:53 ` [PATCH 18/33] linux-dtb: Add PACKAGE_WRITE_DEP for postinstall Richard Purdie
2017-01-19 22:53 ` [PATCH 19/33] xorg-font-common: Add PACKAGE_WRITE_DEPS for postinst Richard Purdie
2017-01-19 22:53 ` [PATCH 20/33] shadow: " Richard Purdie
2017-01-19 22:53 ` [PATCH 21/33] eudev: Add PACKAGE_WRITE_DEPS for postinstall Richard Purdie
2017-01-19 22:53 ` [PATCH 22/33] systemd: Add PACKAGE_WRITE_DEPS for postinst Richard Purdie
2017-01-19 22:53 ` [PATCH 23/33] dbus: " Richard Purdie
2017-01-19 22:53 ` Richard Purdie [this message]
2017-01-19 22:53 ` [PATCH 25/33] update-alternatives.bbclass: " Richard Purdie
2017-01-19 22:53 ` [PATCH 26/33] mime.bbclass: " Richard Purdie
2017-01-19 22:53 ` [PATCH 27/33] gtk-immodules-cache: " Richard Purdie
2017-01-19 22:53 ` [PATCH 28/33] gsettings: " Richard Purdie
2017-01-19 22:53 ` [PATCH 29/33] gio-module-cache: " Richard Purdie
2017-01-19 22:53 ` [PATCH 30/33] gconf.bbclass: " Richard Purdie
2017-01-19 22:53 ` [PATCH 31/33] fontcache.bbclass: " Richard Purdie
2017-01-19 22:53 ` [PATCH 32/33] cantarell-fonts: inherit pkgconfig Richard Purdie
2017-01-19 22:53 ` [PATCH 33/33] kernel.bbclass: Add PACKAGE_WRITE_DEPS for postinst Richard Purdie
2017-02-16  8:04   ` Robert Yang

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=1484866395-17971-24-git-send-email-richard.purdie@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.