]> code.ossystems Code Review - openembedded-core.git/commit
initrdscripts: handle mmc device as installer medium
authorAwais Belal <awais_belal@mentor.com>
Tue, 7 Jul 2015 07:43:37 +0000 (12:43 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jul 2015 14:08:42 +0000 (15:08 +0100)
commit80ec9f62791575de4948d7635dc6674abfac2193
tree16d8385b87528dc4fbaf90f77781085245d18bb8
parentf374ed441627ac833aab62c1189a16ea26a4933b
initrdscripts: handle mmc device as installer medium

Platforms which have the capability of using the MMC as an
installer medium will present the same MMC device as an
installation candidate. This happens because the MMC
devices appear as mmcblk<X> and the current script strips
up the <X> which is needed to identify an MMC device
uniqely.
This patch now updates the way device identifier stripping
is done and handles the exclusion of installer device from
installation candidates more generically.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/initrdscripts/files/init-install-efi.sh
meta/recipes-core/initrdscripts/files/init-install.sh