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:
parent
69c9986a9c
commit
93c40cb386
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user