Enable space optimisation and disable minfree on read-only firmware images
There is no need to kept 8% space on read-only filesystem.
And while here, optimize it for space too.
Example of free space improvement:
Filesystem Size Used Avail Capacity Mounted on
/dev/md0 899M 749M 78M 91% /tmp/firmware.before
/dev/md1 899M 749M 149M 83% /tmp/firmware.after
Use gptboot.efi in place of loader.efi to support bootme and bootonce
loader.efi ignores the GPT attributes bootme and bootonce: So after upgrading firmware image the system is still wrongly booting the first UFS partition found and not the new one.
Using gptboot.efi fix this behaviour.
Update common.sh
Some build system try to extract OS values from /etc/os-release, so populate it.
(cherry picked from commit 48d15c2a0aff88816ad255d5beefc9ca0c04727b)
cirrus: Skip longer build tests.
This is because we keep exceeding our resource allocation.
A LOT more build tests are coming. We need basic tests for
PR automation.
(cherry picked from commit b17d43f4462f5ac5186ec3d200ce16b3409db25b)
download_from_repo: Use same ABI check as delete_old_pkg
This fixes fetching a package that has its ABI changed to NOARCH
and then immediately deleting it.
(cherry picked from commit a656392b661fd309f71d9ce0884853663f1baaf1)