From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Koen Kooi <koen@dominion.thruhere.net>
Subject: Re: [PATCH 2/3] core-image-minimal-initramfs: force IMAGE_FSTYPES
Date: Tue, 15 Nov 2011 12:30:15 +0400 [thread overview]
Message-ID: <4EC22317.1090109@gmail.com> (raw)
In-Reply-To: <E2FAFDF6-ABD2-4242-8BAC-8124ED2B1013@dominion.thruhere.net>
On 11/04/2011 10:18 PM, Koen Kooi wrote:
>
> Op 4 nov. 2011, om 18:52 heeft Paul Eggleton het volgende geschreven:
>
>> If the user has set their own value for IMAGE_FSTYPES, they may have
>> disabled the cpio.gz image type, preventing the initramfs from being
>> produced in the format that image-live.bbclass expects; so force
>> IMAGE_FSTYPES to cpio.gz within the initramfs image recipe.
>>
>> Signed-off-by: Paul Eggleton<paul.eggleton@linux.intel.com>
>> ---
>> .../images/core-image-minimal-initramfs.bb | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/meta/recipes-core/images/core-image-minimal-initramfs.bb b/meta/recipes-core/images/core-image-minimal-initramfs.bb
>> index 0bac27a..e4d0e51 100644
>> --- a/meta/recipes-core/images/core-image-minimal-initramfs.bb
>> +++ b/meta/recipes-core/images/core-image-minimal-initramfs.bb
>> @@ -13,3 +13,4 @@ LICENSE = "MIT"
>> inherit core-image
>>
>> IMAGE_ROOTFS_SIZE = "8192"
>> +IMAGE_FSTYPES = "cpio.gz"
>
> _append or += would give less suprises.
This was merged as IMAGE_FSTYPES =+ "cpio.gz"
Now this brings problems if I have IMAGE_FSTYPES += "live" in my
local.conf / BSP machine.conf.
1) OE tries to generate hddimg for this initramfs image, which is
strange idea
2) If OE is trying to generate bootimg (hddimg) when the kernel is not
yet deployed, building fails (as bootimg can't find a deployed kernel to
put into hddimg).
Please revert this back to original patch as proposed by Paul.
--
With best wishes
Dmitry
next prev parent reply other threads:[~2011-11-15 8:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-04 17:52 [PATCH 0/3] Misc fixes Paul Eggleton
2011-11-04 17:52 ` [PATCH 1/3] allarch.bbclass: disable shlib and debug symbol processing Paul Eggleton
2011-11-04 17:52 ` [PATCH 2/3] core-image-minimal-initramfs: force IMAGE_FSTYPES Paul Eggleton
2011-11-04 18:18 ` Koen Kooi
2011-11-15 8:30 ` Dmitry Eremin-Solenikov [this message]
2011-11-18 13:55 ` Paul Eggleton
2011-11-18 13:56 ` Dmitry Eremin-Solenikov
2011-11-18 14:06 ` Andrea Adami
2011-11-04 17:52 ` [PATCH 3/3] qemugl: switch to new git repo Paul Eggleton
2011-11-07 17:42 ` [PATCH 0/3] Misc fixes 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=4EC22317.1090109@gmail.com \
--to=dbaryshkov@gmail.com \
--cc=koen@dominion.thruhere.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox