index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Simo Leone <simo@archlinux.org> | 2007-10-05 20:09:53 -0500 |
---|---|---|
committer | Dan McGee <dpmcgee@gmail.com> | 2007-10-09 20:59:26 -0500 |
commit | c5ed9e2186aea9d6bc36c94f06a21fb341144154 (patch) | |
tree | 25607069c7af2f60807f6c998ae676c589153f67 /hooks/archiso | |
parent | 03676260560cbe0e1765de1846fc37c47bf291b3 (diff) |
-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 |