!21 rockchip: 修复文件路径

From: @chainsx 
Reviewed-by: @woqidaideshi 
Signed-off-by: @woqidaideshi
This commit is contained in:
openeuler-ci-bot 2025-05-21 07:54:34 +00:00 committed by Gitee
commit c3b882d3c5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
6 changed files with 8 additions and 8 deletions

View File

@ -133,14 +133,14 @@ LOG(){
echo `date` - INFO, $* | tee -a ${log_dir}/${builddate}.log
}
source ${cur_dir}/boards/${board}.conf
cur_dir=$(cd $(dirname $0);pwd)
default_param
parseargs "$@" || help $?
LOG "Selected board: ${board}."
source ${cur_dir}/boards/${board}.conf
cur_dir=$(cd $(dirname $0);pwd)
LOG "Selected board: ${board}."
LOG "Board config: ${board}."
LOG "U-Boot config: ${ubootconfig}."
@ -193,7 +193,7 @@ fi
if [[ $(cat $workdir/.done | grep rootfs) != "rootfs" ]];then
if [[ "${host_arch}" == "x86_64" && "${arch}" == "arm64" ]];then
LOG "You are running this script on a ${host_arch} mechine, installing qemu-user-static...."
sudo rpm -ivh bin/qemu-user-static-aarch64-x86_64.rpm
sudo rpm -ivh ${cur_dir}/bin/qemu-user-static-aarch64-x86_64.rpm
fi
LOG "You are running this script on a ${host_arch} mechine, start building rootfs...."
bash ${cur_dir}/build_rootfs.sh

View File

@ -283,7 +283,7 @@ if [ ! -d $workdir ]; then
mkdir $workdir
fi
source $workdir/../boards/${board}.conf
source $cur_dir/boards/${board}.conf
if [ ! -d ${log_dir} ];then mkdir -p ${log_dir}; fi
if [ ! -f $workdir/.done ];then

View File

@ -358,7 +358,7 @@ if [ ! -d $workdir ]; then
mkdir $workdir
fi
source $workdir/../boards/${board}.conf
source $cur_dir/boards/${board}.conf
if [ ! -d ${log_dir} ];then mkdir -p ${log_dir}; fi
if [ ! -f $workdir/.done ];then

View File

@ -158,7 +158,7 @@ if [ ! -d $workdir ]; then
mkdir $workdir
fi
source $workdir/../boards/${board}.conf
source $cur_dir/boards/${board}.conf
if [ ! -d ${log_dir} ];then mkdir -p ${log_dir}; fi
if [ ! -f $workdir/.done ];then

View File

@ -295,7 +295,7 @@ if [ ! -d $workdir ]; then
mkdir $workdir
fi
source $workdir/../boards/${board}.conf
source $cur_dir/boards/${board}.conf
if [ ! -d ${log_dir} ];then mkdir -p ${log_dir}; fi
if [ ! -f $workdir/.done ];then