From 93c40cb3865c279645580712f3767b6be9b8637f Mon Sep 17 00:00:00 2001 From: Simo Leone Date: Fri, 5 Oct 2007 14:32:54 -0500 Subject: 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 --- hooks/archiso | 6 +----- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3-54-g00ecf