From 5b9eba924d0e700ba9023e5f73bcccc5f8ee28c8 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Mon, 28 Nov 2011 12:28:03 -0300 Subject: [archiso] Add checksum support to pxe_curl Signed-off-by: Gerardo Exequiel Pozzi --- archiso/hooks/archiso_pxe_curl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'archiso') 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 -- cgit v1.2.3-70-g09d2