fix: include configs/ in offline package
This commit is contained in:
parent
49bfdf059a
commit
fbc773be4a
@ -52,6 +52,15 @@ if [ -d models ]; then
|
||||
cp models/*.rknn "$BUILD_DIR/models/" 2>/dev/null || true
|
||||
fi
|
||||
|
||||
# 配置文件
|
||||
if [ -d configs ]; then
|
||||
mkdir -p "$BUILD_DIR/configs"
|
||||
cp -r configs/*.json "$BUILD_DIR/configs/" 2>/dev/null || true
|
||||
cp -r configs/profiles "$BUILD_DIR/configs/" 2>/dev/null || true
|
||||
cp -r configs/overlays "$BUILD_DIR/configs/" 2>/dev/null || true
|
||||
cp -r configs/templates "$BUILD_DIR/configs/" 2>/dev/null || true
|
||||
fi
|
||||
|
||||
# 运维脚本
|
||||
if [ -f scripts/ops.sh ]; then cp scripts/ops.sh "$BUILD_DIR/"; fi
|
||||
if [ -f scripts/monitor_hw.sh ]; then cp scripts/monitor_hw.sh "$BUILD_DIR/"; fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user