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
commit93c40cb3865c279645580712f3767b6be9b8637f (patch)
treebd6de3283921b2e9f0a901267efbfc59d527d077
parent69c9986a9c2dc6ad18bb1de0c2c2a328c5c94239 (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