orangepi5: hardening and typo

This commit is contained in:
Igor Pecovnik 2025-09-28 06:27:57 +02:00 committed by Igor
parent ab74439823
commit a96702dec5

View File

@ -67,13 +67,15 @@ function post_config_uboot_target__orangepi5_keep_sata_bootconfig() {
fi
}
function pre_package_uboot_image__orangepi5_copy_sataconfig_to_pacage() {
function pre_package_uboot_image__orangepi5_copy_sataconfig_to_package() {
if [[ $BRANCH == "vendor" ]]; then
return
fi
run_host_command_logged cp ${uboottempdir}/.config.sata "$uboottempdir/usr/lib/u-boot/orangepi-5-sata-rk3588s_defconfig"
run_host_command_logged rm ${uboottempdir}/.config.sata
if [[ -f "${uboottempdir}/.config.sata" ]]; then
run_host_command_logged cp ${uboottempdir}/.config.sata "$uboottempdir/usr/lib/u-boot/orangepi-5-sata-rk3588s_defconfig"
run_host_command_logged rm ${uboottempdir}/.config.sata
fi
}
function post_family_tweaks_bsp__orangepi5_copy_usb2_service() {