diff options
author | Drew Moseley <drew_moseley@mentor.com> | 2014-07-30 20:49:32 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-02 09:25:34 +0100 |
commit | e8ee8b765183fb3ebe5e94df6375c2fad111dcc7 (patch) | |
tree | e3ef9312dc9d9dfb61f8b305f30c6f86859bce3a | |
parent | 9f6d7d42eaad225698de730d5c76bfe9523f4a78 (diff) | |
download | openembedded-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>
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install-efi.sh | 3 | ||||
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install.sh | 3 |
2 files changed, 6 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 ;; diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh index 29587b0cc9..fb537ee310 100644 --- a/meta/recipes-core/initrdscripts/files/init-install.sh +++ b/meta/recipes-core/initrdscripts/files/init-install.sh @@ -25,6 +25,9 @@ for device in `ls /sys/block/`; do loop*) # skip loop device ;; + sr*) + # skip CDROM device + ;; ram*) # skip ram device ;; |