]> code.ossystems Code Review - openembedded-core.git/commit
initrdscripts/init-install*: Add rootwait when installing to USB devices
authorCalifornia Sullivan <california.l.sullivan@intel.com>
Tue, 9 Aug 2016 20:35:52 +0000 (13:35 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Jun 2017 22:39:50 +0000 (23:39 +0100)
commit7f26cee3d8e4b2e9240b30c21be9fa7661186ccd
treeab0fb98936d4099a03fe44bbe8dcaccb39c40ebe
parent1aa51cfb4b8d10f478b1a6a68c69a3e35342b1c0
initrdscripts/init-install*: Add rootwait when installing to USB devices

It can take a bit for USB devices to be detected, so if a USB device is
your rootfs and you don't set rootwait you will most likely get a kernel
panic. Fix this by adding rootwait to the kernel command line on
installation.

Fixes [YOCTO #9462].

Signed-off-by: California Sullivan <california.l.sullivan@intel.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