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

Otavio Salvador otavio at ossystems.com.br
Mon Dec 17 12:09:08 UTC 2012


On Mon, Dec 17, 2012 at 9:29 AM, Alex DAMIAN <alexandru.damian at intel.com> wrote:
> From: Alexandru DAMIAN <alexandru.damian at intel.com>
>
> If the init live fails to find and mount a root-fs image,
> we should dump to a shell so that the developer can figure
> what's wrong.
>
> Prior art in Ubuntu. Also, leaving a system stale isn't good form.
>
> Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>

I don't like to get a shell at users as he might be an end user and
don't know what to do so I'd prefer to have a proper error message and
support the shell as fallback depending on a boot param or so (so it
can be used during development).

Another issue is the amount of time waiting ... I have hardware that
takes up to 8s to be ready so 3s is too short and the amount of time.
The time to wait should be configurable by bootparam too (and
documented in commitlog).

Regards,

--
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