diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-11-28 12:28:03 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-11-28 12:28:03 -0300 |
commit | 5b9eba924d0e700ba9023e5f73bcccc5f8ee28c8 (patch) | |
tree | 802d9c63453f3e3df48df7b25f8ec738040fb7a5 | |
parent | cd359bc37a23bdfdb751883f33f6972229648cf7 (diff) | |
download | archiso32-5b9eba924d0e700ba9023e5f73bcccc5f8ee28c8.tar.xz |
[archiso] Add checksum support to pxe_curl
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-rw-r--r-- | archiso/hooks/archiso_pxe_curl | 4 |
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 |