From: Firo Yang <yongming.yang@windriver.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] image: Fix a build error by adding kernel dependence to do_rootfs
Date: Wed, 29 Jul 2015 17:11:34 +0800 [thread overview]
Message-ID: <55B898C6.6070305@windriver.com> (raw)
In-Reply-To: <3536050.hMERRFrlJT@peggleto-mobl.ger.corp.intel.com>
On 07/29/2015 04:50 PM, Paul Eggleton wrote:
> Hi Firo,
>
> On Wednesday 29 July 2015 15:48:28 Firo Yang wrote:
>> Issue: LIN7-4290
>>
>> do_rootfs needs a file named kernel-abiversion generated by
>> virtual/kernel:do_packagedata to run depmod.
>>
>> If do_rootfs scheduled before virtual/kernel:do_packagedata that will
>> make do_roofs failed because of leaking the file kernel-abiversion.
>> So add the dependence of virtual/kernel:do_packagedata to do_rootfs
>> will make it happier.
>>
>> Signed-off-by: Firo Yang <yongming.yang@windriver.com>
>> ---
>> meta/classes/image.bbclass | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
>> index ed12abb..b6128da 100644
>> --- a/meta/classes/image.bbclass
>> +++ b/meta/classes/image.bbclass
>> @@ -77,7 +77,7 @@ LDCONFIGDEPEND_libc-uclibc = ""
>> LDCONFIGDEPEND_libc-musl = ""
>>
>> do_rootfs[depends] += "makedevs-native:do_populate_sysroot
>> virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND}"
>> -do_rootfs[depends] +=
>> "virtual/update-alternatives-native:do_populate_sysroot
>> update-rc.d-native:do_populate_sysroot" +do_rootfs[depends] +=
>> "virtual/update-alternatives-native:do_populate_sysroot
>> update-rc.d-native:do_populate_sysroot virtual/kernel:do_packagedata"
>> do_rootfs[recrdeptask] += "do_packagedata"
>>
>> def command_variables(d):
> This was already fixed some time ago:
>
> http://cgit.openembedded.org/openembedded-core/commit/?id=41f0f86ec0a3e0b6f6c9bb4ef71a4215c00bf66c
>
> And modified slightly since then:
>
> http://cgit.openembedded.org/openembedded-core/commit/?id=2e3c8fd70694dcf9553b5e4c50a57b617a9130b6
>
> If you could please ensure future patches you send are against the
> master branch, that would be much appreciated.
Hi Paul
Thanks for your kind reply.
I will do more check before sending patches next time.
Best,
Firo
>
> Thanks,
> Paul
>
prev parent reply other threads:[~2015-07-29 9:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-29 7:48 [PATCH] image: Fix a build error by adding kernel dependence to do_rootfs Firo Yang
2015-07-29 8:50 ` Paul Eggleton
2015-07-29 9:11 ` Firo Yang [this message]
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=55B898C6.6070305@windriver.com \
--to=yongming.yang@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul.eggleton@linux.intel.com \
/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.