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 72ce92b964..5f2599e724 100644 --- a/meta/recipes-core/initrdscripts/files/init-install.sh +++ b/meta/recipes-core/initrdscripts/files/init-install.sh | |||
@@ -152,6 +152,11 @@ if [ ! "${device#/dev/mmcblk}" = "${device}" ]; then | |||
152 | rootwait="rootwait" | 152 | rootwait="rootwait" |
153 | fi | 153 | fi |
154 | 154 | ||
155 | # USB devices also require rootwait | ||
156 | if [ -n `readlink /dev/disk/by-id/usb* | grep $TARGET_DEVICE_NAME` ]; then | ||
157 | rootwait="rootwait" | ||
158 | fi | ||
159 | |||
155 | if [ $grub_version -eq 0 ] ; then | 160 | if [ $grub_version -eq 0 ] ; then |
156 | bios_boot='' | 161 | bios_boot='' |
157 | bootfs=${device}${part_prefix}1 | 162 | bootfs=${device}${part_prefix}1 |