index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | hooks/archiso | 6 |
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 |