diff options
author | Thomas Bächler <thomas@archlinux.org> | 2016-02-13 01:08:49 +0100 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> | 2016-02-28 17:09:08 -0300 |
commit | 1a59eb379269d5312cb9fd0cde21d5691cae733d (patch) | |
tree | bab0d3a23eefc019efd73e145f9cc5e74f02364f /archiso/initcpio/hooks/archiso_pxe_http | |
parent | 249a52d941ca3edbffa4607683220a90be357ebd (diff) | |
download | archiso32-1a59eb379269d5312cb9fd0cde21d5691cae733d.tar.xz |
Add the verify=y option to verify the squashfs signature with gpg
Diffstat (limited to 'archiso/initcpio/hooks/archiso_pxe_http')
-rw-r--r-- | archiso/initcpio/hooks/archiso_pxe_http | 3 |
1 files changed, 3 insertions, 0 deletions
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 |