[arch-releng] [PATCH] archiso_pxe_http: Fix location of airootfs.md5

Gerardo Exequiel Pozzi vmlinuz386 at gmail.com
Tue Aug 12 18:34:15 EDT 2014


On 08/12/2014 03:13 PM, Lukas Fleischer wrote:
> 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 at cryptocrack.de>
> ---
>  archiso/initcpio/hooks/archiso_pxe_http | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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"
> 

Thanks you,

Applied.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-releng/attachments/20140812/6958f640/attachment.asc>


More information about the arch-releng mailing list