Add warning for rockchip uboot on modern hosts

This commit is contained in:
Mecid Urganci 2025-10-20 13:30:13 +02:00 committed by Igor
parent 5decdbfac1
commit 106ba53c6a
2 changed files with 18 additions and 0 deletions

View File

@ -44,6 +44,15 @@ esac
prepare_boot_configuration
pre_config_uboot_target() {
# Check if building Radxa U-Boot on a host other than Ubuntu Jammy
if [[ "${BOOTSOURCE}" == "https://github.com/radxa/u-boot.git" ]]; then
if [[ "${HOSTRELEASE}" != "jammy" ]]; then
display_alert "Building Rockchip BSP U-Boot from Radxa repository" "on Ubuntu ${HOSTRELEASE} (newer than Jammy) can lead to unintended bugs" "wrn"
fi
fi
}
family_tweaks_bsp() {
:
}

View File

@ -42,6 +42,15 @@ esac
prepare_boot_configuration
pre_config_uboot_target() {
# Check if building Radxa U-Boot on a host other than Ubuntu Jammy
if [[ "${BOOTSOURCE}" == "https://github.com/radxa/u-boot.git" ]]; then
if [[ "${HOSTRELEASE}" != "jammy" ]]; then
display_alert "Building Rockchip BSP U-Boot from Radxa repository" "on Ubuntu ${HOSTRELEASE} (newer than Jammy) can lead to unintended bugs" "wrn"
fi
fi
}
family_tweaks_bsp() {
:
}