]> code.ossystems Code Review - openembedded-core.git/commit
mkefidisk: Always specify a root= kernel parameter
authorDarren Hart <dvhart@linux.intel.com>
Tue, 19 Mar 2013 22:15:02 +0000 (15:15 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Mar 2013 16:51:16 +0000 (16:51 +0000)
commite5dbec7e7d3bb29676280823b0337ad429c75120
treec0678ec1faca1ad195b5ef9a60dd23406bc3c234
parentbde2c0ab1500976e2cb50f1526df04fb8b2cd408
mkefidisk: Always specify a root= kernel parameter

The current script only replaces an existing root= kernel parameter
which can result images created without a root= paremeter, even though
the script expects a target rootfs parameter.

Rather than replacing the root= parameter, delete the root= parameter if
it exists, then append an appropriate root= parameter.

Fixes [YOCTO 4035] mkefidisk.sh forgets to add root= parameter

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/contrib/mkefidisk.sh