embed
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user