This commit is contained in:
2026-01-27 17:23:31 +00:00
parent a31f575d70
commit 68a4c154f4
2 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ let
goto ''${selected}
:mrescue
kernel tftp://10.14.143.1/mrescue/bzImage
kernel tftp://10.14.143.1/mrescue/kernel
initrd tftp://10.14.143.1/mrescue/initrd
boot
@@ -40,7 +40,7 @@ let
tftp-root = pkgs.runCommand "tftp-root" { } ''
mkdir -p $out/mrescue
cp ${customIpxe}/ipxe.efi $out/boot.efi
cp ${pkgs.mrescue}/bzImage $out/mrescue/bzImage
cp ${pkgs.mrescue}/kernel $out/mrescue/kernel
cp ${pkgs.mrescue}/initrd $out/mrescue/initrd
cp ${pkgs.netbootxyz-efi} $out/netboot.xyz.efi
'';

View File

@@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
cd initramfs-extracted
find * .[^.*] -print0 | sort -z | \
cpio --quiet -o -H newc -R +0:+0 --reproducible --null | \
zstd -15 -T0 > ../initramfs-combined.zst
zstd -19 -T8 > ../initramfs-combined.zst
runHook postBuild
'';
@@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
mkdir -p $out
install -Dm644 ../../alpine-boot/vmlinuz-virt $out/kernel
install -Dm644 ../initramfs-combined.zst $out/initramfs
install -Dm644 ../initramfs-combined.zst $out/initrd
runHook postInstall
'';