poky/meta
Tom Zanussi 0b8fcb95dd init-live.sh: add 'coldplug' udev trigger
Fixes [BUGID #693]

The init-live.sh script starts udevd in init-live.sh:early_setup(),
but doesn't account for the possibility that the root device may have
already been registered by the kernel before udevd starts up.

If the device is detected after udevd starts up, everything's fine -
udevd gets the 'add' uevent for the device, the root image shows up at
e.g. /media/sda/rootfs.img, and the boot continues.

If however the device is detected before udevd starts up, udevd misses
the 'add' uevent and the root image never shows up, causing it to stay
in the 'waiting for removable media' loop forever.

The 'udevadm trigger' command is meant to be used to avoid this
situation, but init-live.sh doesn't use it.  Furthermore, since the
default was changed in udev 152 from 'add' to 'change', the command
needs to explicity name 'add' as the action.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-02-09 14:14:01 -06:00
..
classes image.bbclass: Use the dedicated BB_WORKERCONTEXT, not bitbake internals to detect context 2011-01-14 12:08:45 +00:00
conf Set release to correct version: poky.conf 2011-02-04 11:44:57 -08:00
files
lib/oe distrodata: Modify Distro tracking spreadsheet 2010-10-15 13:55:46 -07:00
recipes-bsp recipes-bsp: Cleanup package descriptions and summaries 2010-10-11 22:15:37 +01:00
recipes-connectivity openssl: restore -Wall flag 2010-12-16 15:44:15 +00:00
recipes-core init-live.sh: add 'coldplug' udev trigger 2011-02-09 14:14:01 -06:00
recipes-devtools quilt: Fixed configure test for patch --version. 2011-01-14 12:08:54 +00:00
recipes-extended procps: fix for build against make 3.82 2010-12-10 17:32:33 +00:00
recipes-gnome task-poky-sdk: Add lttng-ust 2010-10-15 11:28:00 -07:00
recipes-graphics qemugl: remove obsolate /usr/X11R6/lib lib directory 2010-10-11 22:16:42 +01:00
recipes-kernel linux-libc-headers: fix for Make 3.82 2010-12-14 12:49:13 +00:00
recipes-multimedia gst-plugins: fix for make 3.82 2010-12-14 17:56:53 +00:00
recipes-qt task-poky-qt: Re-Enable MIPS Build and disable fotowall 2010-10-14 20:12:03 +01:00
recipes-sato web-webkit: fix for make 3.82 2010-12-15 14:31:21 +00:00
recipes-support libtasn1: Comment out the RREPLACES as it causes problems with rpm backend 2010-10-15 16:38:24 +01:00
recipes-tbd Revert "meta-toolchain: Update the way ld.so.cache is handled" 2010-10-14 11:46:39 +01:00
site dpkg: fix powerpc and mips build failure 2010-09-02 09:50:49 +01:00
COPYING.MIT
recipes.txt Major layout change to the packages directory 2010-08-27 15:29:45 +01:00