diff options
Diffstat (limited to 'meta/recipes-core')
-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 ;; |