Revert "Revert "Merge #99""

This reverts commit d6d6eb5136.
This commit is contained in:
Jörg Thalheim 2023-05-07 20:55:45 +02:00
parent d6d6eb5136
commit 51155d8415

View file

@ -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