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%.
8.3 KiB
8.3 KiB