Use GRUB bootloader for all UEFI platforms (#1762)

* Use GRUB bootloader for all UEFI platforms
* Introduce and use file_env command
* Compress squashfs for aarch64 as well
This commit is contained in:
Stefan Agner
2022-02-24 13:42:17 +01:00
committed by GitHub
parent b0bbe70315
commit d1cc7394b5
39 changed files with 207 additions and 300 deletions

View File

@@ -84,8 +84,6 @@ function install_bootloader_config() {
if [ "${BOOTLOADER}" == "uboot" ]; then
# shellcheck disable=SC1117
echo -e "/dev/disk/by-partlabel/hassos-bootstate\t0x0000\t${BOOT_ENV_SIZE}" > "${TARGET_DIR}/etc/fw_env.config"
elif [ "${BOOTLOADER}" == "barebox" ]; then
cp -f "${BR2_EXTERNAL_HASSOS_PATH}/bootloader/barebox-state-efi.dtb" "${TARGET_DIR}/etc/barebox-state.dtb"
fi
# Fix MBR