diff options
author | Thomas Watson <twatson52@icloud.com> | 2023-01-19 23:42:22 -0600 |
---|---|---|
committer | Thomas Watson <twatson52@icloud.com> | 2023-01-19 23:52:35 -0600 |
commit | ddc5d34f6126c7029d6aa876eac29e2aed0ee0e4 (patch) | |
tree | 3e692760c4a6570e8c9b8b7e5b1c6161db4149a2 /nixos/modules/system/boot | |
parent | 8736edfd9547b2f5807c4fa7d780fcc2fef87088 (diff) |
nixos/tests/systemd-boot: only patch systemd-boot during update test
The update test patches the systemd-boot binary to report a known version then tests that this is the version updated from. The previous patch would also search the kernel and initrd binaries, which would cause sed to write out a temporary file that might cause the disk to run out of space and the test to fail. Only attempt to patch binaries which contain systemd-boot (usually `BOOT<arch>.EFI` and `systemd-boot<arch>.efi` to avoid this problem. As a bonus, this reduces test time by 20-30%.
Diffstat (limited to 'nixos/modules/system/boot')
0 files changed, 0 insertions, 0 deletions