Commit 519680f6 authored by Will Fancher's avatar Will Fancher
Browse files

nixos/systemd: Check that systemd-boot is copied to both places.

parent d4a80b6d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -232,8 +232,10 @@ in
      """
      )

      output = machine.succeed("/run/current-system/bin/switch-to-configuration boot")
      output = machine.succeed("/run/current-system/bin/switch-to-configuration boot 2>&1")
      assert "updating systemd-boot from 000.0-1-notnixos to " in output, "Couldn't find systemd-boot update message"
      assert 'to "/boot/EFI/systemd/systemd-bootx64.efi"' in output, "systemd-boot not copied to to /boot/EFI/systemd/systemd-bootx64.efi"
      assert 'to "/boot/EFI/BOOT/BOOTX64.EFI"' in output, "systemd-boot not copied to to /boot/EFI/BOOT/BOOTX64.EFI"
    '';
  };