[archiso] Add checksum support to pxe_curl

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
Gerardo Exequiel Pozzi 2011-11-28 12:28:03 -03:00
parent cd359bc37a
commit 5b9eba924d

View File

@ -55,6 +55,10 @@ archiso_pxe_curl_mount_handler () {
fi fi
done < "${_aitab_file}" done < "${_aitab_file}"
if [[ "${checksum}" == "y" ]]; then
_curl_get "${archiso_curl_url}${archisobasedir}/checksum.${arch}.md5" "${archisobasedir}"
fi
mkdir -p "/run/archiso/bootmnt" mkdir -p "/run/archiso/bootmnt"
mount -o bind /run/archiso/curlspace /run/archiso/bootmnt mount -o bind /run/archiso/curlspace /run/archiso/bootmnt
else else