init-install: Skip CDROM devices during probe

(From OE-Core rev: e8ee8b765183fb3ebe5e94df6375c2fad111dcc7)

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Drew Moseley 2014-07-30 20:49:32 -04:00 committed by Richard Purdie
parent 112674d9fc
commit cade601651
2 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,9 @@ for device in `ls /sys/block/`; do
loop*)
# skip loop device
;;
sr*)
# skip CDROM device
;;
ram*)
# skip ram device
;;

View File

@ -25,6 +25,9 @@ for device in `ls /sys/block/`; do
loop*)
# skip loop device
;;
sr*)
# skip CDROM device
;;
ram*)
# skip ram device
;;