Revert "Do not copy sqfs image to RAM"

This reverts commit 42d794561c1f3809f95299e4aa04cd3f28d4239b.
My bad. Bad logic on removing, it was an option anyway.
This commit is contained in:
Simo Leone 2007-10-05 20:09:53 -05:00 committed by Dan McGee
parent 93c40cb386
commit c2c8c2a77a

View File

@ -14,7 +14,11 @@ run_hook ()
exit 1
fi
squashimg="${BOOT_MOUNT}/archlive.sqfs"
squashimg="${BOOT_MOUNT}/archiso.sqfs"
if [ "${copytoram}" = "y" ]; then
/bin/cat ${squashimg} > /tmpfs/archiso.sqfs
squashimg="/tmpfs/archiso.sqfs"
fi
msg ":: Mounting squashfs image"
/bin/modprobe -q squashfs >/dev/null 2>&1