]> code.ossystems Code Review - openembedded-core.git/commit
mkefidisk: Create interactive menu for the script
authorBruno Bottazzini <bruno.bottazzini@intel.com>
Mon, 14 Sep 2015 21:29:04 +0000 (18:29 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Sep 2015 20:38:23 +0000 (21:38 +0100)
commit768fb686b8dfd47ff4cb4833ce166c213502f419
tree94e7adb4d4da3f37b27b8249739735c891cb2844
parenta3473d1ee30f8ec688d57dddb6e3c2b887194384
mkefidisk: Create interactive menu for the script

If it is passed only the image parameter, it will show some interactive
options to help to conclude the script.

With this patch it will detect devices available in the machine, asking
to choose what it is wanted to be flashed.

it will suggest the target device. If it is a SD card the suggestion
is /dev/mmcblk0. If it is a pendrive it will suggest to use /dev/sda.

Signed-off-by: Bruno Bottazzini <bruno.bottazzini@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/contrib/mkefidisk.sh