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 14:32:54 -0500
committerDan McGee <dpmcgee@gmail.com>2007-10-09 20:59:26 -0500
commit03676260560cbe0e1765de1846fc37c47bf291b3 (patch)
treef38ba73372abb1d1cdfc2b8a9f79cc85386b2f93
parent5efbd5f06f2c83a9675a3114dca4b563bf3d59e0 (diff)
Do not copy sqfs image to RAM
This implies a memory requirement for the running system, since the sqfs image needs to be able to fit onto the ramdisk, which breaks lowmem systems like qemu. Signed-off-by: Simo Leone <simo@archlinux.org>
-rw-r--r--hooks/archiso6
1 files changed, 1 insertions, 5 deletions
diff --git a/hooks/archiso b/hooks/archiso
index 3d9e7ec..4d25017 100644
--- a/hooks/archiso
+++ b/hooks/archiso
@@ -14,11 +14,7 @@ run_hook ()
exit 1
fi
- squashimg="${BOOT_MOUNT}/archiso.sqfs"
- if [ "${copytoram}" = "y" ]; then
- /bin/cat ${squashimg} > /tmpfs/archiso.sqfs
- squashimg="/tmpfs/archiso.sqfs"
- fi
+ squashimg="${BOOT_MOUNT}/archlive.sqfs"
msg ":: Mounting squashfs image"
/bin/modprobe -q squashfs >/dev/null 2>&1