From 0ed7712017ddeb24973dcf3cc61d2d3bf479c5ae Mon Sep 17 00:00:00 2001 From: Simo Leone Date: Fri, 5 Oct 2007 20:52:03 -0500 Subject: 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 --- hooks/archiso | 6 +++--- hooks/boot-usb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- cgit v1.2.3-70-g09d2