From dc20e4e98174d2940af145efa732f2dc4115f337 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sat, 13 Feb 2016 01:08:49 +0100 Subject: Add the verify=y option to verify the squashfs signature with gpg --- hooks/archiso_pxe_http | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hooks/archiso_pxe_http') diff --git a/hooks/archiso_pxe_http b/hooks/archiso_pxe_http index e36fa21..909ac78 100644 --- a/hooks/archiso_pxe_http +++ b/hooks/archiso_pxe_http @@ -39,6 +39,9 @@ archiso_pxe_http_mount_handler () { if [[ "${checksum}" == "y" ]]; then _curl_get "${archiso_http_srv}${archisobasedir}/${arch}/airootfs.md5" "/${arch}" fi + if [[ "${verify}" == "y" ]]; then + _curl_get "${archiso_http_srv}${archisobasedir}/${arch}/airootfs.sfs.sig" "/${arch}" + fi mkdir -p "/run/archiso/bootmnt" mount -o bind /run/archiso/httpspace /run/archiso/bootmnt -- cgit v1.2.3-70-g09d2