* Rename Intel NUC machine to Generic x86-64 The Intel NUC machine has evolved and supports various x86-64 machines today. Rename the board. Note that this does not address the migration issue. This will be handled separately. * Update Scripts/Documentation
21 lines
487 B
Bash
Executable File
21 lines
487 B
Bash
Executable File
#!/bin/bash
|
|
# shellcheck disable=SC2155
|
|
|
|
function hassos_pre_image() {
|
|
local BOOT_DATA="$(path_boot_dir)"
|
|
|
|
mkdir -p "${BOOT_DATA}/EFI/BOOT"
|
|
mkdir -p "${BOOT_DATA}/EFI/barebox"
|
|
|
|
cp "${BINARIES_DIR}/barebox.bin" "${BOOT_DATA}/EFI/BOOT/BOOTx64.EFI"
|
|
cp "${BR2_EXTERNAL_HASSOS_PATH}/bootloader/barebox-state-efi.dtb" "${BOOT_DATA}/EFI/barebox/state.dtb"
|
|
|
|
echo "console=tty1" > "${BOOT_DATA}/cmdline.txt"
|
|
}
|
|
|
|
|
|
function hassos_post_image() {
|
|
convert_disk_image_xz
|
|
}
|
|
|