From d8af2a00f719de4db110fc668f74b45fc7e27082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 7 May 2023 20:32:04 +0200 Subject: [PATCH] also build new smaller installer in ci --- build-images.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build-images.sh b/build-images.sh index b80ec9c..d839870 100755 --- a/build-images.sh +++ b/build-images.sh @@ -20,8 +20,8 @@ build_netboot_image() { } build_kexec_installer() { - declare -r tag=$1 arch=$2 tmp=$3 - out=$(nix build --print-out-paths --option accept-flake-config true -L ".#packages.${arch}.kexec-installer-${tag//.}") + declare -r tag=$1 arch=$2 tmp=$3 variant=$4 + out=$(nix build --print-out-paths --option accept-flake-config true -L ".#packages.${arch}.kexec-installer-${tag//.}${variant}") echo "$out/nixos-kexec-installer-$arch.tar.gz" } @@ -30,7 +30,9 @@ main() { tmp="$(mktemp -d)" trap 'rm -rf -- "$tmp"' EXIT ( - build_kexec_installer "$tag" "$arch" "$tmp" + build_kexec_installer "$tag" "$arch" "$tmp" "" + build_kexec_installer "$tag" "$arch" "$tmp" "-virtual-noninteractive" + build_kexec_installer "$tag" "$arch" "$tmp" "-noninteractive" build_netboot_image "$tag" "$arch" "$tmp" ) | readarray -t assets for asset in "${assets[@]}"; do