diff options
author | David Arnold <dar@xoe.solutions> | 2021-02-02 17:40:46 -0500 |
---|---|---|
committer | David Arnold <dar@xoe.solutions> | 2021-02-19 19:00:19 -0500 |
commit | 68afbf9d6385032be9fc368dbfa4ad4ba2cc45e0 (patch) | |
tree | 2053e9f00c6b611f02844f03c0841d186b31e65d | |
parent | 1009c09b4f6de5b13dcec246b7ef37afca3cf47b (diff) | |
download | nixpkgs-68afbf9d6385032be9fc368dbfa4ad4ba2cc45e0.tar nixpkgs-68afbf9d6385032be9fc368dbfa4ad4ba2cc45e0.tar.gz nixpkgs-68afbf9d6385032be9fc368dbfa4ad4ba2cc45e0.tar.bz2 nixpkgs-68afbf9d6385032be9fc368dbfa4ad4ba2cc45e0.tar.lz nixpkgs-68afbf9d6385032be9fc368dbfa4ad4ba2cc45e0.tar.xz nixpkgs-68afbf9d6385032be9fc368dbfa4ad4ba2cc45e0.tar.zst nixpkgs-68afbf9d6385032be9fc368dbfa4ad4ba2cc45e0.zip |
installer: add deprecation warning about sd-card file move
6 files changed, 54 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 index 923c775c17a..a669d61571f 100644 --- a/nixos/modules/installer/cd-dvd/sd-image-aarch64-new-kernel.nix +++ b/nixos/modules/installer/cd-dvd/sd-image-aarch64-new-kernel.nix @@ -1,5 +1,14 @@ +{ config, ... }: { imports = [ ../sd-card/sd-image-aarch64-new-kernel-installer.nix ]; + config = { + warnings = [ + '' + .../cd-dvd/sd-image-aarch64-new-kernel.nix is deprecated and will eventually be removed. + Please switch to .../sd-card/sd-image-aarch64-new-kernel-installer.nix, instead. + '' + ]; + }; } diff --git a/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix b/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix index b2062801021..76c1509b8f7 100644 --- a/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix +++ b/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix @@ -1,5 +1,14 @@ +{ config, ... }: { imports = [ ../sd-card/sd-image-aarch64-installer.nix ]; + config = { + warnings = [ + '' + .../cd-dvd/sd-image-aarch64.nix is deprecated and will eventually be removed. + Please switch to .../sd-card/sd-image-aarch64-installer.nix, instead. + '' + ]; + }; } diff --git a/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix b/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix index 15ddf0ad23b..6ee0eb9e9b8 100644 --- a/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix +++ b/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix @@ -1,5 +1,14 @@ +{ config, ... }: { imports = [ ../sd-card/sd-image-armv7l-multiplatform-installer.nix ]; + config = { + warnings = [ + '' + .../cd-dvd/sd-image-armv7l-multiplatform.nix is deprecated and will eventually be removed. + Please switch to .../sd-card/sd-image-armv7l-multiplatform-installer.nix, instead. + '' + ]; + }; } diff --git a/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix b/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix index 3a67546a50f..747440ba9c6 100644 --- a/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix +++ b/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix @@ -1,5 +1,14 @@ +{ config, ... }: { imports = [ ../sd-card/sd-image-raspberrypi-installer.nix ]; + config = { + warnings = [ + '' + .../cd-dvd/sd-image-raspberrypi.nix is deprecated and will eventually be removed. + Please switch to .../sd-card/sd-image-raspberrypi-installer.nix, instead. + '' + ]; + }; } diff --git a/nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix b/nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix index e57bc37a45d..79db1fa29bc 100644 --- a/nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix +++ b/nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix @@ -1,5 +1,14 @@ +{ config, ... }: { imports = [ ../sd-card/sd-image-raspberrypi4-installer.nix ]; + config = { + warnings = [ + '' + .../cd-dvd/sd-image-raspberrypi4.nix is deprecated and will eventually be removed. + Please switch to .../sd-card/sd-image-raspberrypi4-installer.nix, instead. + '' + ]; + }; } diff --git a/nixos/modules/installer/cd-dvd/sd-image.nix b/nixos/modules/installer/cd-dvd/sd-image.nix index aca446d097d..e2d6dcb3fe3 100644 --- a/nixos/modules/installer/cd-dvd/sd-image.nix +++ b/nixos/modules/installer/cd-dvd/sd-image.nix @@ -1,5 +1,14 @@ +{ config, ... }: { imports = [ ../sd-card/sd-image.nix ]; + config = { + warnings = [ + '' + .../cd-dvd/sd-image.nix is deprecated and will eventually be removed. + Please switch to .../sd-card/sd-image.nix, instead. + '' + ]; + }; } |