]> code.ossystems Code Review - openembedded-core.git/commit
init-install: Strip partition number from live_dev_name
authorDrew Moseley <drew_moseley@mentor.com>
Thu, 31 Jul 2014 00:49:31 +0000 (20:49 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Aug 2014 08:25:34 +0000 (09:25 +0100)
commit9f6d7d42eaad225698de730d5c76bfe9523f4a78
tree1d23efc292a52843ce21971f45bd2d005c8ecd72
parent4abe5563f61a228963e1e442ebc2df9f2d01be80
init-install: Strip partition number from live_dev_name

This is needed in case the boot disk was created with mkdiskimage.
In that case the parameter passed is a variant of /dev/sda4 which
includes the partition number.  Without this change this install script
will offer to install onto the live media.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/initrdscripts/files/init-install-efi.sh
meta/recipes-core/initrdscripts/files/init-install.sh