Update build.sh
This commit is contained in:
16
build.sh
16
build.sh
@@ -195,6 +195,22 @@ compilation_script() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
print_info "正在更新软件源 feeds..."
|
||||||
|
echo -e "${BLUE_COLOR}├─ 更新软件包列表...${RESET}"
|
||||||
|
if ./scripts/feeds update -a > /dev/null 2>&1; then
|
||||||
|
echo -e "${GREEN_COLOR}├─ 软件包列表更新成功${RESET}"
|
||||||
|
else
|
||||||
|
error_exit "feeds 更新失败"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo -e "${BLUE_COLOR}├─ 安装软件包依赖...${RESET}"
|
||||||
|
if ./scripts/feeds install -a > /dev/null 2>&1; then
|
||||||
|
echo -e "${GREEN_COLOR}└─ 软件包依赖安装完成${RESET}"
|
||||||
|
print_success "Feeds 更新和安装完成"
|
||||||
|
else
|
||||||
|
error_exit "feeds 安装失败"
|
||||||
|
fi
|
||||||
|
|
||||||
print_info "下载并执行构建脚本..."
|
print_info "下载并执行构建脚本..."
|
||||||
local scripts=(
|
local scripts=(
|
||||||
00-prepare_base.sh
|
00-prepare_base.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user