index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Simo Leone <simo@archlinux.org> | 2007-10-05 20:52:03 -0500 |
---|---|---|
committer | Dan McGee <dpmcgee@gmail.com> | 2007-10-09 20:59:26 -0500 |
commit | 656016ca18ce2af9435456e6ef8238aa3d7981fc (patch) | |
tree | dca77d74952bb8f1380b4786a1c489bf460f52b6 | |
parent | c5ed9e2186aea9d6bc36c94f06a21fb341144154 (diff) |
-rw-r--r-- | hooks/archiso | 6 | ||||
-rw-r--r-- | hooks/boot-usb | 2 |
diff --git a/hooks/archiso b/hooks/archiso index 3d9e7ec..1074e50 100644 --- a/hooks/archiso +++ b/hooks/archiso @@ -14,10 +14,10 @@ run_hook () exit 1 fi - squashimg="${BOOT_MOUNT}/archiso.sqfs" + squashimg="${BOOT_MOUNT}/archlive.sqfs" if [ "${copytoram}" = "y" ]; then - /bin/cat ${squashimg} > /tmpfs/archiso.sqfs - squashimg="/tmpfs/archiso.sqfs" + /bin/cat ${squashimg} > /tmpfs/archlive.sqfs + squashimg="/tmpfs/archlive.sqfs" fi msg ":: Mounting squashfs image" diff --git a/hooks/boot-usb b/hooks/boot-usb index 9898ff6..bb86596 100644 --- a/hooks/boot-usb +++ b/hooks/boot-usb @@ -10,7 +10,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}/archiso.sqfs" ]; then + if [ -e "${bootmnt}/archlive.sqfs" ]; then found=1 msg "${usb}" break |