Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks/archiso_pxe_http
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
commitc8eb3f3b34b82a9a64777834be8d3247f77739e5 (patch)
tree04295aa21fd0218ef33241af50f15e4d6a66f32e /hooks/archiso_pxe_http
parent314a74f4c6c50b2f1c26a35fffed7738d3245da5 (diff)
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 5506e1e ([archiso] Rework checksum function, 2014-06-28). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'hooks/archiso_pxe_http')
-rw-r--r--hooks/archiso_pxe_http2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/archiso_pxe_http b/hooks/archiso_pxe_http
index a23e952..e36fa21 100644
--- a/hooks/archiso_pxe_http
+++ b/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"