summary refs log tree commit diff
path: root/nixos/tests/systemd-boot.nix
Commit message (Collapse)AuthorAge
* tests/systemd-boot: Add tests for `extraFiles`Michael Hoang2021-12-23
|
* Merge staging-next into staginggithub-actions[bot]2021-11-06
|\
| * treewide: eliminate stdenv.lib usageVladimír Čunát2021-11-06
| | | | | | | | It was breaking evaluation on Hydra.
* | Merge pull request #140046 from jrobsonchase/systemd-boot/fix-regexpFlorian Klink2021-11-06
|\ \ | |/ |/| nixos/systemd-boot: Fix installed version regexp
| * nixos/systemd-boot: Use the correct version string from the bootctl ↵Josh Robson Chase2021-11-05
| | | | | | | | --version output
| * nixos/systemd-boot: Re-add the verison check, but as equivalence-onlyJosh Robson Chase2021-11-05
| |
| * nixos/systemd-boot: Remove the installed version check altogetherJosh Robson Chase2021-11-05
| | | | | | | | | | bootctl does it as a part of its update process anyway, so we're just duplicating code.
| * nixos/systemd-boot: Update test for version regexpJosh Robson Chase2021-11-05
| | | | | | | | | | This should fail since the regexp in systemd-boot-builder.py won't match the '.' in the version string.
* | nixos/systemd-boot: create boot entries for specialisationsLuke Granger-Brown2021-10-31
|/ | | | | | Some specialisations (such as those which affect various boot-time attributes) cannot be switched to at runtime. This allows picking the specialisation at boot time.
* treewide: simplify pkgs.stdenv.lib -> pkgs.libDominik Xaver Hörl2021-01-10
| | | | | The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
* Revert Merge #107275: nixos: fix "nixos-rebuild ...Vladimír Čunát2020-12-23
| | | | | | | | | ... build-vm-with-bootloader" for EFI systems This reverts commit 20257280d9a3591a2888299a1aabfa850a0d0d08, reversing changes made to 926a1b20949ddd66e3a4e1327cb1c1010ab10442. It broke nixosTests.installer.simpleUefiSystemdBoot and right now channel is lagging behing for two weeks.
* nixos: fix "nixos-rebuild build-vm-with-bootloader" for EFI systemsBjørn Forsman2020-12-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `nixos-rebuild build-vm-with-bootloader` currently fails with the default NixOS EFI configuration: $ cat >configuration.nix <<EOF { fileSystems."/".device = "/dev/sda1"; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; } EOF $ nixos-rebuild build-vm-with-bootloader -I nixos-config=$PWD/configuration.nix -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-20.09.tar.gz [...] insmod: ERROR: could not insert module /nix/store/1ibmgfr13r8b6xyn4f0wj115819f359c-linux-5.4.83/lib/modules/5.4.83/kernel/fs/efivarfs/efivarfs.ko.xz: No such device mount: /sys/firmware/efi/efivars: mount point does not exist. [ 1.908328] reboot: Power down builder for '/nix/store/dx2ycclyknvibrskwmii42sgyalagjxa-nixos-boot-disk.drv' failed with exit code 32 [...] Fix it by setting virtualisation.useEFIBoot = true in qemu-vm.nix, when efi is needed. And remove the now unneeded configuration in ./nixos/tests/systemd-boot.nix, since it's handled globally. Before: * release-20.03: successful build, unsuccessful run * release-20.09 (and master): unsuccessful build After: * Successful build and run. Fixes https://github.com/NixOS/nixpkgs/issues/107255
* nixos/systemd-boot: test for EFI boot entryDaniel Fullmer2020-07-06
|
* nixos/systemd-boot: add test for updatingDaniel Fullmer2020-06-15
|
* nixos/systemd-boot: Add basic testDaniel Fullmer2020-05-05