Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Leone <simo@archlinux.org>2008-11-13 03:47:58 -0600
committerSimo Leone <simo@archlinux.org>2008-11-13 03:47:58 -0600
commit7f1a1411365309d1d50e1eea5935a29d2debab8b (patch)
tree6bcd56145a839786468852387b9aa117a24f9e78
parentdee0d28205efd2ba5428095ec35f1ce239666bf3 (diff)
Fix CD-ROM mounting
klibc-udev hasn't created cdrom symlinks in a while, we have to look through kernel names ourselves. Signed-off-by: Simo Leone <simo@archlinux.org>
-rw-r--r--archiso/hooks/archiso2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso
index f2b62fe..c8b6a1b 100644
--- a/archiso/hooks/archiso
+++ b/archiso/hooks/archiso
@@ -43,7 +43,7 @@ run_hook ()
/bin/modprobe -q isofs >/dev/null 2>&1
msg ":: Scanning cd drives..."
- for cdrom in /dev/cd/*; do
+ for cdrom in /dev/hd[a-z] /dev/sr[0-9]* /dev/scd[a-z] /dev/sg[0-9]*; do
if mount -r -t iso9660 "${cdrom}" ${bootmnt} >/dev/null 2>&1; then
if [ -e "${bootmnt}/archiso.sqfs" ]; then
found=1