fix initrd name

This commit is contained in:
Jörg Thalheim 2021-06-16 21:47:50 +02:00
parent 8fba363448
commit a4baf92aaa
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4

View file

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