Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-11-28 12:28:03 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-11-28 12:28:03 -0300
commite5e2dbbacefd172def3695440f1a21db1bc4d439 (patch)
tree87f200a6b398d6b3d2662f2c3508ebdb0b42149d /archiso
parent70df765c851d0a7c5316237e9db83f6543a8fef6 (diff)
[archiso] Add checksum support to pxe_curl
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso')
-rw-r--r--archiso/hooks/archiso_pxe_curl4
1 files changed, 4 insertions, 0 deletions
diff --git a/archiso/hooks/archiso_pxe_curl b/archiso/hooks/archiso_pxe_curl
index 7a553ad..80315bc 100644
--- a/archiso/hooks/archiso_pxe_curl
+++ b/archiso/hooks/archiso_pxe_curl
@@ -55,6 +55,10 @@ archiso_pxe_curl_mount_handler () {
fi
done < "${_aitab_file}"
+ if [[ "${checksum}" == "y" ]]; then
+ _curl_get "${archiso_curl_url}${archisobasedir}/checksum.${arch}.md5" "${archisobasedir}"
+ fi
+
mkdir -p "/run/archiso/bootmnt"
mount -o bind /run/archiso/curlspace /run/archiso/bootmnt
else