summaryrefslogtreecommitdiff
path: root/meta/recipes-core/initrdscripts/files/init-install-efi.sh
diff options
context:
space:
mode:
authorDrew Moseley <drew_moseley@mentor.com>2014-07-30 20:49:32 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-02 09:25:34 +0100
commite8ee8b765183fb3ebe5e94df6375c2fad111dcc7 (patch)
treee3ef9312dc9d9dfb61f8b305f30c6f86859bce3a /meta/recipes-core/initrdscripts/files/init-install-efi.sh
parent9f6d7d42eaad225698de730d5c76bfe9523f4a78 (diff)
downloadopenembedded-core-e8ee8b765183fb3ebe5e94df6375c2fad111dcc7.tar.gz
openembedded-core-e8ee8b765183fb3ebe5e94df6375c2fad111dcc7.tar.bz2
openembedded-core-e8ee8b765183fb3ebe5e94df6375c2fad111dcc7.zip
init-install: Skip CDROM devices during probe
Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/initrdscripts/files/init-install-efi.sh')
-rw-r--r--meta/recipes-core/initrdscripts/files/init-install-efi.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
index 70a2ee6073..89d0750b09 100644
--- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh
+++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
@@ -26,6 +26,9 @@ for device in `ls /sys/block/`; do
loop*)
# skip loop device
;;
+ sr*)
+ # skip CDROM device
+ ;;
ram*)
# skip ram device
;;