From: Saul Wold <sgw@linux.intel.com>
To: Phil Blundell <pb@pbcl.net>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/4] update-rc.d/useradd: Add additional dependecies
Date: Tue, 10 Jun 2014 07:38:48 -0700 [thread overview]
Message-ID: <53971878.5090300@linux.intel.com> (raw)
In-Reply-To: <1402401428.10715.132.camel@phil-desktop.brightsign>
On 06/10/2014 04:57 AM, Phil Blundell wrote:
> On Thu, 2014-06-05 at 17:09 -0700, Saul Wold wrote:
>> These dependcies are needed to ensure that thier packages are created
>> correctly since these classes have runtime dependiences in their packages
>> but they are not actually created yet at rootfs time.
>
> Can you be more specific about why these
> dependecies/dependcies/dependiences are required? I can't, offhand,
> think of any reason why update-rc.d requires initscripts for example.
>
It's more about having initscripts-funtions package built so that it's
available for the dynamic addition to the RDEPENDS later in
populate_pacakges_updatercd(). If initscripts is not built and we add
initscripts-functions to the RDEPENDS, the final rootfs will fail with
an unsatisfied dependency.
> Also, what's going on with the PACKAGESPLITFUNCS_remove_class-nativesdk?
>
We don't need to run that funtion to create the nativesdk sysroot, so
don't run it.
Sau!
> thanks
>
> p.
>
>>
>> [YOCTO #6072]
>>
>> Signed-off-by: Saul Wold <sgw@linux.intel.com>
>> ---
>> meta/classes/update-rc.d.bbclass | 2 ++
>> meta/classes/useradd.bbclass | 2 +-
>> 2 files changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
>> index 56eef4e..ca9486b 100644
>> --- a/meta/classes/update-rc.d.bbclass
>> +++ b/meta/classes/update-rc.d.bbclass
>> @@ -1,6 +1,7 @@
>> UPDATERCPN ?= "${PN}"
>>
>> DEPENDS_append = " update-rc.d-native"
>> +DEPENDS_append_class-target = " initscripts"
>> UPDATERCD = "update-rc.d"
>> UPDATERCD_class-cross = ""
>> UPDATERCD_class-native = ""
>> @@ -67,6 +68,7 @@ python __anonymous() {
>> }
>>
>> PACKAGESPLITFUNCS_prepend = "populate_packages_updatercd "
>> +PACKAGESPLITFUNCS_remove_class-nativesdk = "populate_packages_updatercd "
>>
>> populate_packages_updatercd[vardeps] += "updatercd_prerm updatercd_postrm updatercd_preinst updatercd_postinst"
>
>
>
>
next prev parent reply other threads:[~2014-06-10 14:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-06 0:09 [PATCH 0/4] 4 Bug fixes! Saul Wold
2014-06-06 0:09 ` [PATCH 1/4] update-rc.d/useradd: Add additional dependecies Saul Wold
2014-06-10 11:57 ` Phil Blundell
2014-06-10 14:38 ` Saul Wold [this message]
2014-06-10 14:53 ` Phil Blundell
2014-06-16 14:47 ` Paul Eggleton
2014-06-17 13:18 ` Phil Blundell
2014-06-17 17:01 ` Paul Eggleton
2014-06-06 0:09 ` [PATCH 2/4] busybox: put udhcpc in background Saul Wold
2014-06-06 0:09 ` [PATCH 3/4] freetype: enable 64 bit file support Saul Wold
2014-06-06 0:09 ` [PATCH 4/4] fontconfig: " Saul Wold
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=53971878.5090300@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=pb@pbcl.net \
/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