diff options
Diffstat (limited to 'meta/recipes-core/initrdscripts/files/init-install.sh')
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh index c5623eeb26..fddaf6aa82 100644 --- a/meta/recipes-core/initrdscripts/files/init-install.sh +++ b/meta/recipes-core/initrdscripts/files/init-install.sh | |||
@@ -146,6 +146,11 @@ if [ ! "${device#/dev/mmcblk}" = "${device}" ]; then | |||
146 | rootwait="rootwait" | 146 | rootwait="rootwait" |
147 | fi | 147 | fi |
148 | 148 | ||
149 | # USB devices also require rootwait | ||
150 | if [ -n `readlink /dev/disk/by-id/usb* | grep $TARGET_DEVICE_NAME` ]; then | ||
151 | rootwait="rootwait" | ||
152 | fi | ||
153 | |||
149 | if [ $grub_version -eq 0 ] ; then | 154 | if [ $grub_version -eq 0 ] ; then |
150 | bios_boot='' | 155 | bios_boot='' |
151 | bootfs=${device}${part_prefix}1 | 156 | bootfs=${device}${part_prefix}1 |