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
60cd1bc3
Unverified
Commit
60cd1bc3
authored
Jul 26, 2025
by
wukongdaily
Committed by
GitHub
Jul 26, 2025
Browse files
更换打包工具为flippy-openwrt-actions
parent
53104ce0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
25 deletions
+32
-25
.github/workflows/build-N1.yml
.github/workflows/build-N1.yml
+31
-25
README.md
README.md
+1
-0
No files found.
.github/workflows/build-N1.yml
View file @
60cd1bc3
...
...
@@ -2,6 +2,16 @@ name: build-N1
on
:
workflow_dispatch
:
inputs
:
openwrt_kernel
:
description
:
"
选择构建的内核"
required
:
false
default
:
"
6.1.146"
type
:
choice
options
:
-
5.15.189
-
6.1.146
-
6.6.93
-
6.12.39
include_docker
:
description
:
|
是否编译 Docker 插件
...
...
@@ -11,22 +21,21 @@ on:
options
:
-
'
yes'
-
'
no'
replace_banner
:
description
:
'
是否替换为ImmortalWrt的banner信息'
required
:
false
default
:
false
type
:
boolean
rootfs_partsize
:
description
:
'
设置
软件包大小
单位(MB)
最大数值10240
'
description
:
'
软件包大小
1G固定
'
required
:
true
default
:
'
1024'
openwrt_kernel
:
description
:
"
选择构建的内核"
required
:
false
default
:
"
6.1.y"
default
:
"
1024"
type
:
choice
options
:
-
5.4.y
-
5.10.y
-
5.15.y
-
6.1.y
-
6.6.y
-
6.12.y
-
'
1024'
jobs
:
build
:
...
...
@@ -42,7 +51,8 @@ jobs:
-
name
:
Debug workspace contents
run
:
ls -R
-
name
:
Copy banner
-
name
:
处理是否替换banner信息
if
:
${{ github.event.inputs.replace_banner == 'true' }}
run
:
|
cp n1/99-banner.sh files/etc/uci-defaults/
...
...
@@ -72,9 +82,6 @@ jobs:
-e ROOTFS_PARTSIZE=$rootfs_partsize \
immortalwrt/imagebuilder:armsr-armv8-openwrt-24.10.2 /bin/bash /home/build/immortalwrt/build.sh
done
-
name
:
检查rootfs是否存在
run
:
ls -lh ${{ github.workspace }}/bin/targets/armsr/armv8/
-
name
:
查找rootfs.tar.gz所在路径
id
:
find_rootfs
...
...
@@ -87,15 +94,14 @@ jobs:
fi
echo "file=$ROOTFS_FILE" >> $GITHUB_OUTPUT
-
name
:
Package armsr-armv8 as ImmortalWrt for N1
uses
:
ophub/amlogic-s9xxx-openwrt@main
with
:
openwrt_path
:
${{ steps.find_rootfs.outputs.file }}
openwrt_board
:
s905d
openwrt_size
:
"
256/${{
github.event.inputs.rootfs_partsize
}}"
openwrt_kernel
:
${{ inputs.openwrt_kernel }}
builder_name
:
"
wukongdaily"
auto_kernel
:
true
-
name
:
Package armsr-armv8 as ImmortalWrt for N1
uses
:
ophub/flippy-openwrt-actions@main
if
:
${{ steps.down.outputs.status }} == 'success' && !cancelled()
env
:
OPENWRT_ARMVIRT
:
${{ steps.find_rootfs.outputs.file }}
PACKAGE_SOC
:
s905d
KERNEL_VERSION_NAME
:
${{ inputs.openwrt_kernel }}
WHOAMI
:
"
wukongdaily"
-
name
:
Rename .img.gz file
id
:
rename
...
...
README.md
View file @
60cd1bc3
...
...
@@ -59,6 +59,7 @@ https://www.youtube.com/watch?v=7i6BQeitUtE
https://wkdaily.cpolar.cn/15
# 🌟鸣谢
### https://github.com/immortalwrt
### https://github.com/ophub/flippy-openwrt-actions
### https://github.com/ophub/amlogic-s9xxx-openwrt
### https://github.com/sirpdboy
### https://github.com/wukongdaily/ib-overlay
...
...
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