tests: check whether our UKIs are recognized
This commit is contained in:
parent
f2bc0af580
commit
14afe7ce9b
|
@ -202,6 +202,10 @@ in
|
||||||
testScript = ''
|
testScript = ''
|
||||||
machine.start()
|
machine.start()
|
||||||
assert "Secure Boot: enabled (user)" in machine.succeed("bootctl status")
|
assert "Secure Boot: enabled (user)" in machine.succeed("bootctl status")
|
||||||
|
|
||||||
|
# We want systemd to recognize our PE binaries as true UKIs. systemd has
|
||||||
|
# become more picky in the past, so make sure.
|
||||||
|
assert "Kernel Type: uki" in machine.succeed("bootctl kernel-inspect /boot/EFI/Linux/nixos-generation-1-*.efi")
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue