add U-Boot support for aarch64 in setup script

This commit is contained in:
Tobias Powalowski 2022-10-18 19:39:52 +02:00
parent b8a59da141
commit 83bb9c8960

View file

@ -1001,7 +1001,7 @@ do_uboot() {
_KERNEL_PARAMS_COMMON_UNMOD="root=${_rootpart} rootfstype=${ROOTFS} rw ${ROOTFLAGS} ${RAIDARRAYS} ${CRYPTSETUP}"
_KERNEL_PARAMS_COMMON_MOD="$(echo "${_KERNEL_PARAMS_COMMON_UNMOD}" | sed -e 's# # #g' | sed -e 's# # #g')"
[[ "${_RUNNING_ARCH}" == "aarch64" ]] _TITLE="ARM 64"
[[ "${_RUNNING_ARCH}" == "aarch64" ]] _TITLE="RISC-V 64"
[[ "${_RUNNING_ARCH}" == "riscv64" ]] _TITLE="RISC-V 64"
# write extlinux.conf
DIALOG --infobox "Installing UBOOT..." 0 0
cat << EOF >> "${DESTDIR}/boot/extlinux/extlinux.conf"