generic-poky/meta/recipes-core/udev/udev-extraconf
Chen Qi 96eff4c25d mount.sh: automount cdrom device even if no ID_FS_TYPE available
This script was modified to check whether $ID_FS_TYPE is empty before
automount, however, for cdrom devices on qemu, the ID_FS_TYPE is not
set, yet the device should be mounted. Otherwise, when booting an iso
image with runqemu, the boot process hangs at 'waiting for removable
media'.

This patch fixes this problem by first checking whether the block device
is a cdrom.

[YOCTO #4487]

(From OE-Core rev: 2df21a3b27543df912a3ce05bef2415fae13cb7c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-10 22:58:33 +01:00
..
automount.rules udev-extraconf: Merge with udev-extra-rules from meta-oe 2012-09-04 14:08:35 +01:00
autonet.rules udev-extraconf: Merge with udev-extra-rules from meta-oe 2012-09-04 14:08:35 +01:00
localextra.rules udev-extraconf: Add rule adding input devices to input group 2013-04-04 14:04:42 +01:00
mount.blacklist udev-extraconf: blacklist /dev/dm-* 2013-07-05 15:34:21 +01:00
mount.sh mount.sh: automount cdrom device even if no ID_FS_TYPE available 2013-09-10 22:58:33 +01:00
network.sh udev-extraconf: Merge with udev-extra-rules from meta-oe 2012-09-04 14:08:35 +01:00