installer: add deprecation warning about sd-card file move

wip/yesman
David Arnold 3 years ago
parent 1009c09b4f
commit 68afbf9d63
  1. 9
      nixos/modules/installer/cd-dvd/sd-image-aarch64-new-kernel.nix
  2. 9
      nixos/modules/installer/cd-dvd/sd-image-aarch64.nix
  3. 9
      nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix
  4. 9
      nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix
  5. 9
      nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix
  6. 9
      nixos/modules/installer/cd-dvd/sd-image.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.
''
];
};
}

@ -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.
''
];
};
}

@ -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.
''
];
};
}

@ -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.
''
];
};
}

@ -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.
''
];
};
}

@ -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.
''
];
};
}

Loading…
Cancel
Save