summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaito Bezarius <masterancpp@gmail.com>2023-05-20 17:02:55 +0200
committerRaito Bezarius <masterancpp@gmail.com>2023-06-16 19:43:40 +0200
commit85c8cc7ce9eab9cc407036c8764a34b4300a6134 (patch)
tree1471017f3bbacaa9ad9acac6d6f63dc7932fef3c
parentMerge pull request #238084 from chvp/bump-mautrix-whatsapp (diff)
downloadnixpkgs-85c8cc7ce9eab9cc407036c8764a34b4300a6134.tar.gz
nixosTests.kexec: do not use bootloader
There's no reason to use a bootloader when testing kexec, this is a feature that reboots *directly* in the kernel, if anything, we should just direct boot the kernel and reboots in the kernel. A bootloader test really makes sense to test "default" systemctl kexec behavior which is already broken because systemctl kexec will read the ESP to determine what to kexec by default.
-rw-r--r--nixos/tests/kexec.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/tests/kexec.nix b/nixos/tests/kexec.nix
index 3f5a6f521af0..c828215bf539 100644
--- a/nixos/tests/kexec.nix
+++ b/nixos/tests/kexec.nix
@@ -8,10 +8,6 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
node1 = { ... }: {
virtualisation.vlans = [ ];
virtualisation.memorySize = 4 * 1024;
- virtualisation.useBootLoader = true;
- virtualisation.useEFIBoot = true;
- boot.loader.systemd-boot.enable = true;
- boot.loader.efi.canTouchEfiVariables = true;
};
node2 = { modulesPath, ... }: {