netboot.ipxe: fix-up download urls

This commit is contained in:
Jörg Thalheim 2021-06-13 09:04:19 +02:00
parent 2f842f70bd
commit 8fba363448
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4

View file

@ -10,7 +10,10 @@ build_netboot_image() {
echo "$tmp/bzImage-$arch" echo "$tmp/bzImage-$arch"
ln -s "$img/initrd" "$tmp/initrd-$arch" ln -s "$img/initrd" "$tmp/initrd-$arch"
echo "$tmp/initrd-$arch" echo "$tmp/initrd-$arch"
ln -s "$img/netboot.ipxe" "$tmp/netboot-$arch.ipxe" sed -e "s!^kernel bzImage!kernel https://github.com/nix-community/nixos-images/releases/download/${tag}/bzImage-${arch}!" \
-e "s!^initrd initrd!initrd https://github.com/nix-community/nixos-images/releases/download/${tag}/initrd-${arch}!" \
< "$img/netboot.ipxe" \
> "$tmp/netboot-$arch.ipxe"
echo "$tmp/netboot-$arch.ipxe" echo "$tmp/netboot-$arch.ipxe"
} }