From 2f842f70bd1cbf3128abf12f6506c581d519ca19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 12 Jun 2021 09:00:47 +0200 Subject: [PATCH] also include ipxe script --- build-images.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build-images.sh b/build-images.sh index e2b2cf8..7dbd801 100755 --- a/build-images.sh +++ b/build-images.sh @@ -6,10 +6,12 @@ set -xeuo pipefail build_netboot_image() { declare -r tag=$1 arch=$2 tmp=$3 img=$(nix-build --no-out-link -I "nixpkgs=https://github.com/NixOS/nixpkgs/archive/${tag}.tar.gz" '' -A "netboot.$arch") - cp "$img/bzImage" "$tmp/bzImage-$arch" + ln -s "$img/bzImage" "$tmp/bzImage-$arch" echo "$tmp/bzImage-$arch" - cp "$img/initrd" "$tmp/initrd-$arch" + ln -s "$img/initrd" "$tmp/initrd-$arch" echo "$tmp/initrd-$arch" + ln -s "$img/netboot.ipxe" "$tmp/netboot-$arch.ipxe" + echo "$tmp/netboot-$arch.ipxe" } build_kexec_bundle() {