index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | hooks/archiso | 1 | ||||
-rw-r--r-- | hooks/boot-cd | 6 | ||||
-rw-r--r-- | install/archiso | 2 | ||||
-rw-r--r-- | install/boot-cd | 2 |
diff --git a/hooks/archiso b/hooks/archiso index c60df2b..3d9e7ec 100644 --- a/hooks/archiso +++ b/hooks/archiso @@ -6,7 +6,6 @@ run_hook () fi msg -n ":: Mounting tmpfs, size=${ramdisk_size}..." mount -t tmpfs -o "size=${ramdisk_size}" tmpfs /tmpfs - mkdir /tmpfs/bootcd msg "done." if [ "x${BOOT_MOUNT}" -eq "x" ]; then diff --git a/hooks/boot-cd b/hooks/boot-cd index d6d9da6..a730412 100644 --- a/hooks/boot-cd +++ b/hooks/boot-cd @@ -3,14 +3,14 @@ run_hook () { msg ":: Scanning for boot cdrom device..." - /bin/mkdir -p /tmpfs/bootmnt - bootmnt="/tmpfs/bootmnt/" + /bin/mkdir -p /bootmnt + bootmnt="/bootmnt/" found=0 /bin/modprobe -q isofs >/dev/null 2>&1 for cdrom in /dev/cd/*; do if mount -r -t iso9660 "${cdrom}" ${bootmnt} >/dev/null 2>&1; then - if [ -e "${bootmnt}/archiso.sqfs" ]; then + if [ -e "${bootmnt}/archlive.sqfs" ]; then found=1 msg "${cdrom}" break diff --git a/install/archiso b/install/archiso index d75a57e..ff3f64a 100644 --- a/install/archiso +++ b/install/archiso @@ -6,5 +6,5 @@ install () FILES="" add_dir /real_root add_dir /tmpfs - SCRIPT="archlive" + SCRIPT="archiso" } diff --git a/install/boot-cd b/install/boot-cd index b7e82ae..10577a9 100644 --- a/install/boot-cd +++ b/install/boot-cd @@ -4,5 +4,5 @@ install () MODULES="cdrom ide-cd ide-core ide-generic unionfs squashfs isofs $(all_modules '/kernel/fs' | grep -v "nls") " BINARIES="" FILES="" - SCRIPT="from-cd" + SCRIPT="boot-cd" } |