diff options
author | David P <megver83@parabola.nu> | 2021-12-30 01:23:53 -0300 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2021-12-30 01:32:05 -0300 |
commit | a5acee9cc7bb4dfcd8be48389fa39b09f1f1415b (patch) | |
tree | b18df863eb8c3e7cfe06e4ef88c966ff178b6968 /configs/releng/packages.x86_64 | |
parent | 44acfec7e130f896567fa0a3f1b6e6189d5bbb7d (diff) |
create a _validate_common_requirements_bootmode_uefi-x64() function
This is to avoid repeating the same code for systemd-boot and refind bootmodes.
The new function also checks if we're building an x64 system, otherwise fail,
because the x64 .efi files are only in x86_64 packages
It is, in theory, valid to skip this check as we could cross-compile x86_64
refind and systemd-boot binaries for i686 (then it would only have to fail for
armv7h), but extra work should be done. The only purpose for this would be to
boot an i686-only ISO in a UEFI machine, but we don't really need it. You can
use a dual ISO for that, or set up legacy BIOS.
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'configs/releng/packages.x86_64')
0 files changed, 0 insertions, 0 deletions