All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yang Shi <yang.shi@windriver.com>
To: Darren Hart <dvhart@linux.intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: [PATCH 2/2] sato: Remove questioned ISO image
Date: Mon, 9 Apr 2012 11:34:37 -0700	[thread overview]
Message-ID: <4F832BBD.1040608@windriver.com> (raw)
In-Reply-To: <4F830EC9.4050804@linux.intel.com>

On 4/9/2012 9:31 AM, Darren Hart wrote:
>
> On 03/26/2012 02:19 PM, Yang Shi wrote:
>> [YOCTO #1487]
>>
>> For the liveCD image, interactive bootup is needed, but psplash prevents from
>> booting interactively. In such case ISO image is not usable, so remove ISO image
>> and the corresponding link and throw error info to warn outside to enable
>> unionfs in kenrel.
>
> The psplash only prevents interaction on the vga console right? If the
> BSP supports a serial console as well there is not a problem right?

Yes, I think so. When I was doing the test, I disabled splash so that I 
can type 'enter' to make interaction move forward.

Thanks,
Yang

>
> --
> Darren
>
>> Signed-off-by: Yang Shi<yang.shi@windriver.com>
>> ---
>>   meta/recipes-sato/images/core-image-sato.bb |   16 ++++++++++++++++
>>   1 files changed, 16 insertions(+), 0 deletions(-)
>>
>> diff --git a/meta/recipes-sato/images/core-image-sato.bb b/meta/recipes-sato/images/core-image-sato.bb
>> index 11c3318..10e2239 100644
>> --- a/meta/recipes-sato/images/core-image-sato.bb
>> +++ b/meta/recipes-sato/images/core-image-sato.bb
>> @@ -9,3 +9,19 @@ IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES}"
>>   LICENSE = "MIT"
>>
>>   inherit core-image
>> +
>> +LIVE = "${@base_contains('IMAGE_FSTYPES', 'live', 'yes', 'no', d)}"
>> +
>> +do_check_unionfs() {
>> +        if [ "${NOISO}" = "1" ]; then
>> +                return
>> +        fi
>> +
>> +        if [ "${LIVE}" = "yes" ]&&  ! grep -q "CONFIG_UNION_FS=y" ${STAGING_KERNEL_DIR}/.config; then
>> +                rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.iso
>> +                rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.iso
>> +                bbfatal "Building LIVE CD without UNION FS enabled in kernel"
>> +        fi
>> +}
>> +
>> +addtask check_unionfs before do_build after do_bootimg



  reply	other threads:[~2012-04-09 18:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-26 21:19 [PATCH 0/2] Fix init-live.sh to use unionfs for live CD and remove questioned ISO image Yang Shi
2012-03-26 21:19 ` [PATCH 1/2] initrdscripts: fix init-live.sh and use unionfs Yang Shi
2012-04-09 16:35   ` Darren Hart
2012-04-09 18:33     ` Yang Shi
2012-03-26 21:19 ` [PATCH 2/2] sato: Remove questioned ISO image Yang Shi
2012-03-28 14:42   ` Bruce Ashfield
2012-04-09 16:31   ` Darren Hart
2012-04-09 18:34     ` Yang Shi [this message]
2012-04-09 19:49       ` Darren Hart
2012-04-09 20:48         ` Yang Shi

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=4F832BBD.1040608@windriver.com \
    --to=yang.shi@windriver.com \
    --cc=dvhart@linux.intel.com \
    --cc=yocto@yoctoproject.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.