From 1a59eb379269d5312cb9fd0cde21d5691cae733d 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 --- archiso/initcpio/hooks/archiso_pxe_http | 3 +++ 1 file changed, 3 insertions(+) (limited to 'archiso/initcpio/hooks/archiso_pxe_http') diff --git a/archiso/initcpio/hooks/archiso_pxe_http b/archiso/initcpio/hooks/archiso_pxe_http index e36fa21..909ac78 100644 --- a/archiso/initcpio/hooks/archiso_pxe_http +++ b/archiso/initcpio/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