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:26:17 +0100 |
commit | cade601651c58225a10ece507b65e7ef738a6fa9 (patch) | |
tree | 28bec48b65c4e4fc7a28929a39ee4467ae87297f /meta/recipes-core/initrdscripts | |
parent | 112674d9fcf5650783de1f2ab932d2a6c6401fb3 (diff) | |
download | poky-cade601651c58225a10ece507b65e7ef738a6fa9.tar.gz |
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>
Diffstat (limited to 'meta/recipes-core/initrdscripts')
-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 | |||
26 | loop*) | 26 | loop*) |
27 | # skip loop device | 27 | # skip loop device |
28 | ;; | 28 | ;; |
29 | sr*) | ||
30 | # skip CDROM device | ||
31 | ;; | ||
29 | ram*) | 32 | ram*) |
30 | # skip ram device | 33 | # skip ram device |
31 | ;; | 34 | ;; |
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 | |||
25 | loop*) | 25 | loop*) |
26 | # skip loop device | 26 | # skip loop device |
27 | ;; | 27 | ;; |
28 | sr*) | ||
29 | # skip CDROM device | ||
30 | ;; | ||
28 | ram*) | 31 | ram*) |
29 | # skip ram device | 32 | # skip ram device |
30 | ;; | 33 | ;; |