Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mgqnfoqv7k2w
AutoBuildImmortalWrt
Commits
9e91c42c
Unverified
Commit
9e91c42c
authored
Jul 12, 2025
by
wukongdaily
Committed by
GitHub
Jul 12, 2025
Browse files
Merge pull request #205 from wukongdaily:rk
rk 24.10 增加第三方包
parents
376fc601
01004e8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
10 deletions
+52
-10
.github/workflows/build-rockchip-immortalWrt-24.10.2.yml
.github/workflows/build-rockchip-immortalWrt-24.10.2.yml
+1
-0
rockchip/build.sh
rockchip/build.sh
+51
-10
No files found.
.github/workflows/build-rockchip-immortalWrt-24.10.2.yml
View file @
9e91c42c
...
@@ -119,6 +119,7 @@ jobs:
...
@@ -119,6 +119,7 @@ jobs:
-v "${{ github.workspace }}/bin:/home/build/immortalwrt/bin" \
-v "${{ github.workspace }}/bin:/home/build/immortalwrt/bin" \
-v "${{ github.workspace }}/files:/home/build/immortalwrt/files" \
-v "${{ github.workspace }}/files:/home/build/immortalwrt/files" \
-v "${{ github.workspace }}/rockchip/imm.config:/home/build/immortalwrt/.config" \
-v "${{ github.workspace }}/rockchip/imm.config:/home/build/immortalwrt/.config" \
-v "${{ github.workspace }}/shell/prepare-packages.sh:/home/build/immortalwrt/prepare-packages.sh" \
-v "${{ github.workspace }}/rockchip/build.sh:/home/build/immortalwrt/build.sh" \
-v "${{ github.workspace }}/rockchip/build.sh:/home/build/immortalwrt/build.sh" \
-e PROFILE=$profile \
-e PROFILE=$profile \
-e ROOTFS_PARTSIZE=$rootfs_partsize \
-e ROOTFS_PARTSIZE=$rootfs_partsize \
...
...
rockchip/build.sh
View file @
9e91c42c
...
@@ -20,30 +20,71 @@ EOF
...
@@ -20,30 +20,71 @@ EOF
echo
"cat pppoe-settings"
echo
"cat pppoe-settings"
cat
/home/build/immortalwrt/files/etc/config/pppoe-settings
cat
/home/build/immortalwrt/files/etc/config/pppoe-settings
# 输出调试信息
# 下载 run 文件仓库
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Starting build process..."
echo
"🔄 Cloning run file repo..."
git clone
--depth
=
1 https://github.com/wukongdaily/store.git /tmp/store-run-repo
# 拷贝 run/arm64 下所有 run 文件和ipk文件 到 extra-packages 目录
mkdir
-p
/home/build/immortalwrt/extra-packages
cp
-r
/tmp/store-run-repo/run/arm64/
*
/home/build/immortalwrt/extra-packages/
echo
"✅ Run files copied to extra-packages:"
ls
-lh
/home/build/immortalwrt/extra-packages/
*
.run
# 解压并拷贝ipk到packages目录
sh prepare-packages.sh
ls
-lah
/home/build/immortalwrt/packages/
# 添加架构优先级信息
sed
-i
'1i\
arch aarch64_generic 10\n\
arch aarch64_cortex-a53 15'
repositories.conf
# 输出调试信息
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- 开始构建固件..."
echo
"查看repositories.conf信息——————"
cat
repositories.conf
# 定义所需安装的包列表 下列插件你都可以自行删减
# 定义所需安装的包列表 下列插件你都可以自行删减
PACKAGES
=
""
PACKAGES
=
""
PACKAGES
=
"
$PACKAGES
curl"
PACKAGES
=
"
$PACKAGES
curl"
PACKAGES
=
"
$PACKAGES
openssh-sftp-server"
PACKAGES
=
"
$PACKAGES
luci-i18n-diskman-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-diskman-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-package-manager-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-package-manager-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-firewall-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-firewall-zh-cn"
# 服务——FileBrowser 用户名admin 密码admin
PACKAGES
=
"
$PACKAGES
luci-i18n-filebrowser-go-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-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"
PACKAGES
=
"
$PACKAGES
luci-i18n-homeproxy-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-homeproxy-zh-cn"
PACKAGES
=
"
$PACKAGES
openssh-sftp-serv
er
"
# dock
er
PACKAGES
=
"
$PACKAGES
luci-i18n-dockerman-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-dockerman-zh-cn"
# 增加几个必备组件 方便用户安装iStore
# 文件管理器
PACKAGES
=
"
$PACKAGES
fdisk"
PACKAGES
=
"
$PACKAGES
luci-i18n-filemanager-zh-cn"
PACKAGES
=
"
$PACKAGES
script-utils"
# 静态文件服务器dufs(推荐)
PACKAGES
=
"
$PACKAGES
luci-i18n-samba4-zh-cn"
PACKAGES
=
"
$PACKAGES
luci-i18n-dufs-zh-cn"
# ============= imm仓库外的第三方插件===============
# ===== 若启用 请打开PACKAGES前面的注释==============
# istore商店
PACKAGES
=
"
$PACKAGES
luci-app-store"
# 首页和网络向导
PACKAGES
=
"
$PACKAGES
luci-i18n-quickstart-zh-cn"
# 去广告adghome
PACKAGES
=
"
$PACKAGES
luci-app-adguardhome"
# 代理相关
PACKAGES
=
"
$PACKAGES
luci-app-ssr-plus"
PACKAGES
=
"
$PACKAGES
luci-app-passwall2"
PACKAGES
=
"
$PACKAGES
luci-i18n-nikki-zh-cn"
# VPN
PACKAGES
=
"
$PACKAGES
luci-app-tailscale"
PACKAGES
=
"
$PACKAGES
luci-i18n-tailscale-zh-cn"
# 分区扩容 by sirpdboy
PACKAGES
=
"
$PACKAGES
luci-app-partexp"
PACKAGES
=
"
$PACKAGES
luci-i18n-partexp-zh-cn"
# 酷猫主题 by sirpdboy
PACKAGES
=
"
$PACKAGES
luci-theme-kucat"
# 网络测速 by sirpdboy
PACKAGES
=
"
$PACKAGES
luci-app-netspeedtest"
PACKAGES
=
"
$PACKAGES
luci-i18n-netspeedtest-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:"
...
@@ -56,4 +97,4 @@ if [ $? -ne 0 ]; then
...
@@ -56,4 +97,4 @@ if [ $? -ne 0 ]; then
exit
1
exit
1
fi
fi
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Build completed successfully."
echo
"
$(
date
'+%Y-%m-%d %H:%M:%S'
)
- Build completed successfully."
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment