Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Leone <simo@archlinux.org>2007-10-05 20:09:53 -0500
committerDan McGee <dpmcgee@gmail.com>2007-10-09 20:59:26 -0500
commitc5ed9e2186aea9d6bc36c94f06a21fb341144154 (patch)
tree25607069c7af2f60807f6c998ae676c589153f67
parent03676260560cbe0e1765de1846fc37c47bf291b3 (diff)
Revert "Do not copy sqfs image to RAM"
This reverts commit 42d794561c1f3809f95299e4aa04cd3f28d4239b. My bad. Bad logic on removing, it was an option anyway.
-rw-r--r--hooks/archiso6
1 files changed, 5 insertions, 1 deletions
diff --git a/hooks/archiso b/hooks/archiso
index 4d25017..3d9e7ec 100644
--- a/hooks/archiso
+++ b/hooks/archiso
@@ -14,7 +14,11 @@ run_hook ()
exit 1
fi
- squashimg="${BOOT_MOUNT}/archlive.sqfs"
+ squashimg="${BOOT_MOUNT}/archiso.sqfs"
+ if [ "${copytoram}" = "y" ]; then
+ /bin/cat ${squashimg} > /tmpfs/archiso.sqfs
+ squashimg="/tmpfs/archiso.sqfs"
+ fi
msg ":: Mounting squashfs image"
/bin/modprobe -q squashfs >/dev/null 2>&1