index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-10-19 15:49:55 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-10-19 15:49:55 -0500 |
commit | e779dda83b2f6bac3ffff88fd1ef060a5417e740 (patch) | |
tree | 38ae5822f2781708527f67428a36231c6bac1781 | |
parent | 2fcbaa459b767576e88efd7a51eca64131c635b6 (diff) |
-rw-r--r-- | archiso/hooks/archiso | 10 |
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso index 1464a6a..b614afd 100644 --- a/archiso/hooks/archiso +++ b/archiso/hooks/archiso @@ -47,7 +47,7 @@ run_hook () msg ":: Scanning cd drives..." for cdrom in /dev/cd/*; do if mount -r -t iso9660 "${cdrom}" ${bootmnt} >/dev/null 2>&1; then - if [ -e "${bootmnt}/archlive.sqfs" ]; then + if [ -e "${bootmnt}/archiso.sqfs" ]; then found=1 msg "${cdrom}" break @@ -63,7 +63,7 @@ run_hook () for usb in /dev/sd[a-z][0-9]; do if mount -r -t vfat "${usb}" ${bootmnt} >/dev/null 2>&1 ||\ mount -r -t ext2 "${usb}" ${bootmnt} >/dev/null 2>&1; then - if [ -e "${bootmnt}/archlive.sqfs" ]; then + if [ -e "${bootmnt}/archiso.sqfs" ]; then found=1 msg "${usb}" break @@ -80,11 +80,11 @@ run_hook () exit 1 fi - base_img="${bootmnt}/archlive.sqfs" + base_img="${bootmnt}/archiso.sqfs" if [ "${copytoram}" = "y" ]; then msg ":: Copying squashfs image to RAM" - /bin/cat ${base_img} > /tmpfs/archlive.sqfs - base_img="/tmpfs/archlive.sqfs" + /bin/cat ${base_img} > /tmpfs/archiso.sqfs + base_img="/tmpfs/archiso.sqfs" fi msg ":: Mounting squashfs image" |