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>
This commit is contained in:
Simo Leone 2007-10-05 14:32:54 -05:00 committed by Dan McGee
parent 69c9986a9c
commit 93c40cb386

View File

@ -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