From 68a4c154f49920aaa3c0c4b88337ef95fb1489db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 27 Jan 2026 17:23:31 +0000 Subject: [PATCH] embed --- hosts/mtworx/configuration.nix | 4 ++-- pkgs/mrescue.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/mtworx/configuration.nix b/hosts/mtworx/configuration.nix index b96822f..c518cbd 100644 --- a/hosts/mtworx/configuration.nix +++ b/hosts/mtworx/configuration.nix @@ -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 ''; diff --git a/pkgs/mrescue.nix b/pkgs/mrescue.nix index c32d485..bbeb5b6 100644 --- a/pkgs/mrescue.nix +++ b/pkgs/mrescue.nix @@ -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 '';