[OE-core] [PATCH v2] init-live: default to initrd shell if image isn't found

Otavio Salvador otavio at ossystems.com.br
Mon Dec 17 17:20:54 UTC 2012


On Mon, Dec 17, 2012 at 3:12 PM, Burton, Ross <ross.burton at intel.com> wrote:
> On 17 December 2012 17:09, Otavio Salvador <otavio at ossystems.com.br> wrote:
>> One possible improvement (not for this patch but long term) is to use
>> initramfs-framework for this. It provides a modular system and has
>> some nice featues for debug and shell handling so you can say:
>>
>> debug=before:udev shell=after:e2fs
>>
>> Just an example. Another good thing about it is it allow for less code
>> duplication.
>
> Good point - I only noticed last week that we've duplicated udev logic
> in the live scripts and the initramfs-framework (that isn't used by
> oe-core).  Clearly this is Wrong and if we're shipping a framework for
> a initramfs, we should be using it in our initramfs...

When I wrote the framework I had this on mind and we've been using the
framework extensively as it is quite flexible. I do believe all
initramfs scripts that are available today in oe-core would be quite
simple to convert.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-core mailing list