All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roman I Khimov <khimov@altell.ru>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] update-rc.d.bbclass: add dependency on update-rc.d-native
Date: Fri,  9 Apr 2010 18:52:33 +0400	[thread overview]
Message-ID: <1270824753-5361-1-git-send-email-khimov@altell.ru> (raw)
In-Reply-To: <4BBF3920.1000702@mwester.net>

Recipes are using update-rc.d to do postinst and postinst scripts are being
ran on build hosts where native version is needed to run properly. It is
needed only at image build stage, but it's easier to have it in DEPENDS,
build time for it is almost zero anyway.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
---
 classes/update-rc.d.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/update-rc.d.bbclass b/classes/update-rc.d.bbclass
index b6491ed..4594d0f 100644
--- a/classes/update-rc.d.bbclass
+++ b/classes/update-rc.d.bbclass
@@ -1,4 +1,4 @@
-DEPENDS_append = " update-rc.d"
+DEPENDS_append = " update-rc.d update-rc.d-native"
 RDEPENDS_${PN}_append = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
 
 INITSCRIPT_PARAMS ?= "defaults"
-- 
1.5.6.5




  reply	other threads:[~2010-04-09 14:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-09 10:26 postinst scripts and opkg configure Sergey Lapin
2010-04-09 10:39 ` Roman I Khimov
2010-04-09 10:53   ` Sergey Lapin
2010-04-09 11:26     ` Roman I Khimov
2010-04-09 13:58       ` Sergey Lapin
2010-04-09 14:26         ` Mike Westerhof
2010-04-09 14:52           ` Roman I Khimov [this message]
2010-04-09 11:19   ` [PATCH] rootfs_ipk.bbclass: run preinst/postinst scripts with "-e" Roman I Khimov
2010-04-09 15:48     ` Chris Larson

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=1270824753-5361-1-git-send-email-khimov@altell.ru \
    --to=khimov@altell.ru \
    --cc=openembedded-devel@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.