[OE-core] [PATCH 1/1] runqemu: support booting poky-tiny images

Scott Garman scott.a.garman at intel.com
Sat Aug 11 06:26:56 UTC 2012


On 08/10/2012 09:48 PM, Khem Raj wrote:
> On Fri, Aug 10, 2012 at 8:20 PM, Scott Garman <scott.a.garman at intel.com> wrote:
>> Added support for booting poky-tiny images, which do not have block
>> device support. Note to shut down a running poky-tiny image, you
>> need to include the -f option to the poweroff command.
>>
>> This fixes [YOCTO #2612].
>>
>> Signed-off-by: Scott Garman <scott.a.garman at intel.com>
>> ---
>>   scripts/runqemu          |    6 ++++++
>>   scripts/runqemu-internal |    5 +++++
>>   2 files changed, 11 insertions(+)
>>
>> diff --git a/scripts/runqemu b/scripts/runqemu
>> index 7454dd4..6f2f861 100755
>> --- a/scripts/runqemu
>> +++ b/scripts/runqemu
>> @@ -26,6 +26,7 @@ usage() {
>>       echo "  KERNEL - the kernel image file to use"
>>       echo "  ROOTFS - the rootfs image file or nfsroot directory to use"
>>       echo "  MACHINE - the machine name (optional, autodetected from KERNEL filename if unspecified)"
>> +    echo "  TINY - specify 'tiny' if booting a poky-tiny image"
>
>
> you seem to be mixing poky distro with OE-Core here. As a whole the
> patch seems like adding support for ramfs based images. If you intend
> to just have images specific to poky then this patch
> belongs to [poky] but if you generalize it enough that non
> tiny users can also leverage this then it certainly is good
> for OE-Core.

Hi Khem,

I had a hunch I'd get called out for this. :)

I will respin by changing the "tiny" feature to "ramfs". I definitely 
don't want to see the runqemu script diverge between oe-core and poky.

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center




More information about the Openembedded-core mailing list