summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/initrdscripts')
-rw-r--r--meta/recipes-core/initrdscripts/files/init-install-efi.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
index f339b30ebe..a3ed74b989 100644
--- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh
+++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
@@ -55,6 +55,11 @@ for device in `ls /sys/block/`; do
55 esac 55 esac
56done 56done
57 57
58if [ -z "${hdnamelist}" ]; then
59 echo "You need another device (besides the live device /dev/${live_dev_name}) to install the image. Installation aborted."
60 exit 1
61fi
62
58TARGET_DEVICE_NAME="" 63TARGET_DEVICE_NAME=""
59for hdname in $hdnamelist; do 64for hdname in $hdnamelist; do
60 # Display found hard drives and their basic info 65 # Display found hard drives and their basic info