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