diff options
author | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2018-12-25 18:58:04 -0500 |
---|---|---|
committer | Domen Kožar <domen@enlambda.com> | 2018-12-26 11:03:32 +0000 |
commit | 302d53df2b79f48ea6e9f42e47dd17e561ff6433 (patch) | |
tree | 88371734224d440bd3175ae3ed5801d209658073 | |
parent | 207210660f2a8f178fa0dfb3fd3c35371bf9406d (diff) |
nixos/sd-image-aarch64-new-kernel: Added to release
This, paired with the previous commit, ensures the channel won't be held
back from a kernel upgrade and a non-building sd image, while still
having a new-kernel variant available.
-rw-r--r-- | nixos/modules/installer/cd-dvd/sd-image-aarch64-new-kernel.nix | 7 | ||||
-rw-r--r-- | nixos/release.nix | 8 |
2 files changed, 15 insertions, 0 deletions
diff --git a/nixos/modules/installer/cd-dvd/sd-image-aarch64-new-kernel.nix b/nixos/modules/installer/cd-dvd/sd-image-aarch64-new-kernel.nix new file mode 100644 index 000000000000..2882fbcc7305 --- /dev/null +++ b/nixos/modules/installer/cd-dvd/sd-image-aarch64-new-kernel.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: + +{ + imports = [ ./sd-image-aarch64.nix ]; + + boot.kernelPackages = pkgs.linuxPackages_latest; +} diff --git a/nixos/release.nix b/nixos/release.nix index e7952b33de6b..df2c52ccd0b6 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -172,6 +172,14 @@ in rec { inherit system; }); + sd_image_new_kernel = forMatchingSystems [ "aarch64-linux" ] (system: makeSdImage { + module = { + aarch64-linux = ./modules/installer/cd-dvd/sd-image-aarch64-new-kernel.nix; + }.${system}; + type = "minimal-new-kernel"; + inherit system; + }); + # A bootable VirtualBox virtual appliance as an OVA file (i.e. packaged OVF). ova = forMatchingSystems [ "x86_64-linux" ] (system: |