diff options
Diffstat (limited to 'hooks')
-rw-r--r-- | hooks/archiso | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hooks/archiso b/hooks/archiso index 4d25017..3d9e7ec 100644 --- a/hooks/archiso +++ b/hooks/archiso @@ -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 |