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 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/yocto/build.sh b/yocto/build.sh
index 87e84cd..8a341ec 100755
--- a/yocto/build.sh
+++ b/yocto/build.sh
@@ -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