From f270b35145097e9ca4ef0bb1adce741e601d2e76 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 07 Nov 2023 14:00:46 +0800
Subject: [PATCH] Update Yocto build shell script for download packet path

---
 yocto/build.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/yocto/build.sh b/yocto/build.sh
index ec42a75..8a341ec 100755
--- a/yocto/build.sh
+++ b/yocto/build.sh
@@ -121,7 +121,7 @@
 
     if [ ! -e $YCT_PATH/sources/meta-igkboard ] ; then
         cd $YCT_PATH/sources/
-        git clone http://main.iot-yun.club:8088/r/meta-igkboard.git -b $YCT_VER
+        git clone http://main.iot-yun.club:8088/r/igkboard-meta.git meta-igkboard -b $YCT_VER
     fi
 }
 
@@ -138,8 +138,8 @@
     fi
 
     if [[ -n "$DL_PATH" ]] ; then
-        sed -i "s|^#DL_DIR.*|DL_DIR ?= \"$DL_PATH\"|g" conf/local.conf
-        sed -i "s|^DL_DIR.*|DL_DIR ?= \"$DL_PATH\"|g" conf/local.conf
+        sed -i "s|^#DL_DIR.*|DL_DIR ?= \"$DL_PATH/$YCT_VER\"|g" conf/local.conf
+        sed -i "s|^DL_DIR.*|DL_DIR ?= \"$DL_PATH/$YCT_VER\"|g" conf/local.conf
     fi
 
     bitbake $BB_TARGET

--
Gitblit v1.9.1