From e8ee8b765183fb3ebe5e94df6375c2fad111dcc7 Mon Sep 17 00:00:00 2001 From: Drew Moseley Date: Wed, 30 Jul 2014 20:49:32 -0400 Subject: init-install: Skip CDROM devices during probe Signed-off-by: Drew Moseley Signed-off-by: Saul Wold --- meta/recipes-core/initrdscripts/files/init-install-efi.sh | 3 +++ meta/recipes-core/initrdscripts/files/init-install.sh | 3 +++ 2 files changed, 6 insertions(+) (limited to 'meta/recipes-core') 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 ;; -- cgit v1.2.3