From 19382f8b38f8ab854bbcea1755994f66ca7cdfbf Mon Sep 17 00:00:00 2001 From: mayuehit Date: Thu, 23 Oct 2025 08:48:05 +0000 Subject: [PATCH] update functionsystem/build.sh. Signed-off-by: mayuehit --- functionsystem/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functionsystem/build.sh b/functionsystem/build.sh index 54fbd2b..78f762d 100644 --- a/functionsystem/build.sh +++ b/functionsystem/build.sh @@ -793,7 +793,7 @@ if [ "X${GEN_LLT_REPORT}" = "XON" ]; then fi # copy function system output -mkdir -p "${FUNCTION_SYSTEM_PACKAGE_DIR}"/bin "${FUNCTION_SYSTEM_PACKAGE_DIR}"/lib "${FUNCTION_SYSTEM_PACKAGE_DIR}"/include "${FUNCTION_SYSTEM_PACKAGE_DIR}"/config +mkdir -p "${FUNCTION_SYSTEM_PACKAGE_DIR}"/bin "${FUNCTION_SYSTEM_PACKAGE_DIR}"/lib "${FUNCTION_SYSTEM_PACKAGE_DIR}"/include "${FUNCTION_SYSTEM_PACKAGE_DIR}"/deploy "${FUNCTION_SYSTEM_PACKAGE_DIR}"/config cp -ar "$OUTPUT_DIR"/bin/* "${FUNCTION_SYSTEM_PACKAGE_DIR}"/bin if [ $(ls -A "$OUTPUT_DIR"/lib | wc -w) -ne 0 ]; then @@ -804,6 +804,8 @@ if [ -f "$OUTPUT_DIR"/include ]; then cp -ar "$OUTPUT_DIR"/include/* "${FUNCTION_SYSTEM_PACKAGE_DIR}"/include fi +cp -ar "${YR_ROOT_DIR}"/scripts/deploy/function_system/* "${FUNCTION_SYSTEM_PACKAGE_DIR}"/deploy + # copy metrics config file cp -ar "${YR_ROOT_DIR}"/scripts/config/metrics/metrics_config.json "${FUNCTION_SYSTEM_PACKAGE_DIR}"/config/ -- Gitee