Unverified Commit ddaf9eca authored by wukongdaily's avatar wukongdaily Committed by GitHub
Browse files

Update build_rockchip.sh

parent c9698597
...@@ -3,17 +3,6 @@ ...@@ -3,17 +3,6 @@
# 输出调试信息 # 输出调试信息
echo "$(date '+%Y-%m-%d %H:%M:%S') - Starting build process..." echo "$(date '+%Y-%m-%d %H:%M:%S') - Starting build process..."
# 定义路径变量
MAKEFILE_PATH="/home/build/immortalwrt/target/linux/rockchip/Makefile"
# 打印 Makefile 内容
if [ -f "$MAKEFILE_PATH" ]; then
echo "Printing Makefile:"
cat "$MAKEFILE_PATH"
else
echo "Error: Makefile not found at $MAKEFILE_PATH"
exit 1
fi
# 定义所需安装的包列表 # 定义所需安装的包列表
PACKAGES="" PACKAGES=""
...@@ -22,8 +11,10 @@ PACKAGES="$PACKAGES luci-i18n-firewall-zh-cn" ...@@ -22,8 +11,10 @@ PACKAGES="$PACKAGES luci-i18n-firewall-zh-cn"
PACKAGES="$PACKAGES luci-i18n-filebrowser-zh-cn" PACKAGES="$PACKAGES luci-i18n-filebrowser-zh-cn"
PACKAGES="$PACKAGES luci-app-argon-config" PACKAGES="$PACKAGES luci-app-argon-config"
PACKAGES="$PACKAGES luci-i18n-argon-config-zh-cn" PACKAGES="$PACKAGES luci-i18n-argon-config-zh-cn"
#PACKAGES="$PACKAGES luci-i18n-package-manager-zh-cn" #24.10
PACKAGES="$PACKAGES luci-i18n-opkg-zh-cn" PACKAGES="$PACKAGES luci-i18n-package-manager-zh-cn"
#23.05
#PACKAGES="$PACKAGES luci-i18n-opkg-zh-cn"
PACKAGES="$PACKAGES luci-i18n-ttyd-zh-cn" PACKAGES="$PACKAGES luci-i18n-ttyd-zh-cn"
PACKAGES="$PACKAGES luci-i18n-passwall-zh-cn" PACKAGES="$PACKAGES luci-i18n-passwall-zh-cn"
PACKAGES="$PACKAGES luci-app-openclash" PACKAGES="$PACKAGES luci-app-openclash"
...@@ -35,7 +26,7 @@ PACKAGES="$PACKAGES luci-i18n-dockerman-zh-cn" ...@@ -35,7 +26,7 @@ PACKAGES="$PACKAGES luci-i18n-dockerman-zh-cn"
echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:" echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:"
echo "$PACKAGES" echo "$PACKAGES"
make image PACKAGES="$PACKAGES" FILES="/home/build/immortalwrt/files" ROOTFS_PARTSIZE="2048" make image PROFILE=friendlyarm_nanopi-r3s PACKAGES="$PACKAGES" FILES="/home/build/immortalwrt/files" ROOTFS_PARTSIZE="2048"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "$(date '+%Y-%m-%d %H:%M:%S') - Error: Build failed!" echo "$(date '+%Y-%m-%d %H:%M:%S') - Error: Build failed!"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment