Skip to content

Commit

Permalink
netboot: prepare for NixOS/nixos-channel-scripts#6
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Aug 16, 2016
1 parent 859157c commit bab8a2e
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions nixos/release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,20 @@ in rec {
];
}).config.system.build;
in
pkgs.symlinkJoin {name="netboot"; paths=[
build.netbootRamdisk
build.kernel
build.netbootIpxeScript
];};
pkgs.symlinkJoin {
name="netboot";
paths=[
build.netbootRamdisk
build.kernel
build.netbootIpxeScript
];
postBuild = ''
mkdir -p $out/nix-support
echo "file bzImage $out/bzImage" >> $out/nix-support/hydra-build-products
echo "file initrd $out/initrd" >> $out/nix-support/hydra-build-products
echo "file ipxe $out/netboot.ipxe" >> $out/nix-support/hydra-build-products
'';
};

iso_minimal = forAllSystems (system: makeIso {
module = ./modules/installer/cd-dvd/installation-cd-minimal.nix;
Expand Down

0 comments on commit bab8a2e

Please sign in to comment.