Fixed references to archiso.sqfs

Appears to have been changed to archlive.sqfs,
a couple hooks refered to the old name and didn't work.

Signed-off-by: Simo Leone <simo@archlinux.org>
This commit is contained in:
Simo Leone 2007-10-05 20:52:03 -05:00 committed by Dan McGee
parent c2c8c2a77a
commit 0ed7712017
2 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -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