File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,15 @@ function post_config_uboot_target__orangepi5_keep_sata_bootconfig() {
67
67
fi
68
68
}
69
69
70
- function pre_package_uboot_image__orangepi5_copy_sataconfig_to_pacage () {
70
+ function pre_package_uboot_image__orangepi5_copy_sataconfig_to_package () {
71
71
if [[ $BRANCH == "vendor" ]]; then
72
72
return
73
73
fi
74
74
75
- run_host_command_logged cp ${uboottempdir}/.config.sata "$uboottempdir/usr/lib/u-boot/orangepi-5-sata-rk3588s_defconfig"
76
- run_host_command_logged rm ${uboottempdir}/.config.sata
75
+ if [[ -f "${uboottempdir}/.config.sata" ]]; then
76
+ run_host_command_logged cp ${uboottempdir}/.config.sata "$uboottempdir/usr/lib/u-boot/orangepi-5-sata-rk3588s_defconfig"
77
+ run_host_command_logged rm ${uboottempdir}/.config.sata
78
+ fi
77
79
}
78
80
79
81
function post_family_tweaks_bsp__orangepi5_copy_usb2_service() {
You can’t perform that action at this time.
0 commit comments