summaryrefslogtreecommitdiff
path: root/archiso/initcpio
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-08-12 20:13:09 +0200
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2014-08-12 19:32:31 -0300
commitf5b84dad94ed6ecbe1605ea5dec61ca728a6c67d (patch)
tree12b5c4f5cbffbc60bc56d42290ddd207be79b270 /archiso/initcpio
parent5a8a8c7b104ee4acf0533bda469c56b45db2afc3 (diff)
downloadarchiso32-f5b84dad94ed6ecbe1605ea5dec61ca728a6c67d.tar.xz
archiso_pxe_http: Fix location of airootfs.md5
Currently, when booting via HTTP, the airootfs.md5 file is downloaded to /run/archiso/bootmnt/arch/. However, the checksum file is later assumed to be located at "/run/archiso/bootmnt/arch/${arch}". Fix the _curl_get invocation and directly place the file in the right directory. Fixes a regression introduced in commit b3e1d31 ([archiso] Rework checksum function, 2014-06-28). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'archiso/initcpio')
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_http2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/initcpio/hooks/archiso_pxe_http b/archiso/initcpio/hooks/archiso_pxe_http
index a23e952..e36fa21 100644
--- a/archiso/initcpio/hooks/archiso_pxe_http
+++ b/archiso/initcpio/hooks/archiso_pxe_http
@@ -37,7 +37,7 @@ archiso_pxe_http_mount_handler () {
_curl_get "${archiso_http_srv}${archisobasedir}/${arch}/airootfs.sfs" "/${arch}"
if [[ "${checksum}" == "y" ]]; then
- _curl_get "${archiso_http_srv}${archisobasedir}/${arch}/airootfs.md5" "/"
+ _curl_get "${archiso_http_srv}${archisobasedir}/${arch}/airootfs.md5" "/${arch}"
fi
mkdir -p "/run/archiso/bootmnt"