diff options
author | Domen Kožar <domen@dev.si> | 2016-08-16 17:26:21 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2016-08-16 17:27:11 +0200 |
commit | bab8a2ebe38a635a270da83d9edc83cb11e05bd2 (patch) | |
tree | 5d9ee73a5f97cf8443e01e0f5f451cbfeee3988f /nixos/release.nix | |
parent | 859157c36b1bf1aca36269ecbd1c5ca6c93e9813 (diff) |
netboot: prepare for https://github.com/NixOS/nixos-channel-scripts/issues/6
Diffstat (limited to 'nixos/release.nix')
-rw-r--r-- | nixos/release.nix | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/nixos/release.nix b/nixos/release.nix index 4647a02afb1c..70a7ba5af89d 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -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; |