about summary refs log tree commit diff
path: root/nixos/modules/installer
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2022-04-25 17:17:32 +0200
committerGitHub <noreply@github.com>2022-04-25 17:17:32 +0200
commitecc66a886eb7eec1d671ddfce2a0cccd12bc4807 (patch)
treed1c5590bda5505692fa006c1513dbb1bf5f327fb /nixos/modules/installer
parent4e273e43a8034d66e42565a76fd0dc78e2545e0a (diff)
parente097044b9209742dfd4b23dcb36726d531a44a65 (diff)
downloadnixlib-ecc66a886eb7eec1d671ddfce2a0cccd12bc4807.tar
nixlib-ecc66a886eb7eec1d671ddfce2a0cccd12bc4807.tar.gz
nixlib-ecc66a886eb7eec1d671ddfce2a0cccd12bc4807.tar.bz2
nixlib-ecc66a886eb7eec1d671ddfce2a0cccd12bc4807.tar.lz
nixlib-ecc66a886eb7eec1d671ddfce2a0cccd12bc4807.tar.xz
nixlib-ecc66a886eb7eec1d671ddfce2a0cccd12bc4807.tar.zst
nixlib-ecc66a886eb7eec1d671ddfce2a0cccd12bc4807.zip
Merge pull request #168945 from Lassulus/kexec-tests
nixosTests.kexec: better test if we are in a new system
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r--nixos/modules/installer/kexec/kexec-boot.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/kexec/kexec-boot.nix b/nixos/modules/installer/kexec/kexec-boot.nix
index 95ab774468c1..2d062214efc2 100644
--- a/nixos/modules/installer/kexec/kexec-boot.nix
+++ b/nixos/modules/installer/kexec/kexec-boot.nix
@@ -40,7 +40,7 @@
         }
         {
           name = "bzImage";
-          path = "${config.system.build.kernel}/bzImage";
+          path = "${config.system.build.kernel}/${config.system.boot.loader.kernelFile}";
         }
         {
           name = "kexec-boot";