[OE-core] [PATCH 1/1] init-live.sh: allow users to choose the boot action

Tomas Frydrych tf+lists.yocto at r-finger.com
Wed Jul 10 08:32:08 UTC 2013


Hi,

On 10/07/13 08:12, Qi.Chen at windriver.com wrote:
> From: Chen Qi <Qi.Chen at windriver.com>
> 
> Previously, the boot action for live images was totally determined
> by the LABEL value in the boot parameters (/proc/cmdline).
> 
> This behavior is not very convenient for users. The user may just want
> to drop to a shell for troubleshooting the live image, or the user may
> want to try to install the live image while the LABEL value is 'boot'.
> 
> We should provide the users a chance to choose the boot action when
> the live image starts up.

I am not entirely clear on why this is needed, the LABEL kernel cmdline
parameter is set up by syslinux, and its value can be specified by the
user from the syslinux prompt. If what you want is a more user friendly
menu, then I think the correct solution would be to tweak the syslinux
config, rather than to create a duplicate boot menu in the init script.

Tomas


-- 
http://sleepfive.com



More information about the Openembedded-core mailing list