Skip to content

Commit e39b00f

Browse files
authored
Update build25.sh
1 parent 7c3f444 commit e39b00f

1 file changed

Lines changed: 1 addition & 19 deletions

File tree

x86-64/build25.sh

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/bash
22
# Log file for debugging
33
source shell/custom-packages.sh
4-
source shell/switch_repository.sh
54
echo "第三方软件包: $CUSTOM_PACKAGES"
65
LOGFILE="/tmp/uci-defaults-log.txt"
76
echo "Starting 99-custom.sh at $(date)" >> $LOGFILE
@@ -21,24 +20,7 @@ EOF
2120
echo "cat pppoe-settings"
2221
cat /home/build/immortalwrt/files/etc/config/pppoe-settings
2322

24-
if [ -z "$CUSTOM_PACKAGES" ]; then
25-
echo "⚪️ 未选择 任何第三方软件包"
26-
else
27-
# ============= 同步第三方插件库==============
28-
# 同步第三方软件仓库run/ipk
29-
echo "🔄 正在同步第三方软件仓库 Cloning run file repo..."
30-
git clone --depth=1 https://github.com/wukongdaily/store.git /tmp/store-run-repo
31-
32-
# 拷贝 run/x86 下所有 run 文件和ipk文件 到 extra-packages 目录
33-
mkdir -p /home/build/immortalwrt/extra-packages
34-
cp -r /tmp/store-run-repo/run/x86/* /home/build/immortalwrt/extra-packages/
3523

36-
echo "✅ Run files copied to extra-packages:"
37-
ls -lh /home/build/immortalwrt/extra-packages/*.run
38-
# 解压并拷贝ipk到packages目录
39-
sh shell/prepare-packages.sh
40-
ls -lah /home/build/immortalwrt/packages/
41-
fi
4224

4325
# 输出调试信息
4426
echo "$(date '+%Y-%m-%d %H:%M:%S') - 开始构建固件..."
@@ -64,7 +46,7 @@ PACKAGES="$PACKAGES openssh-sftp-server"
6446
PACKAGES="$PACKAGES luci-i18n-filemanager-zh-cn"
6547
# ======== shell/custom-packages.sh =======
6648
# 合并imm仓库以外的第三方插件
67-
PACKAGES="$PACKAGES $CUSTOM_PACKAGES"
49+
#PACKAGES="$PACKAGES $CUSTOM_PACKAGES"
6850

6951

7052
# 判断是否需要编译 Docker 插件

0 commit comments

Comments
 (0)