index : archiso32 | |
Archlinux32 iso tools | 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 | c2c8c2a77a4feb7fd948933cc11cffb0595acf71 (patch) | |
tree | d82403b2404ce2638c4ca4b56c438535020ed2af /hooks/archiso | |
parent | 93c40cb3865c279645580712f3767b6be9b8637f (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 |