Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit dbd2946

Browse files
committed
beta test - 4
1 parent 796bd60 commit dbd2946

File tree

1 file changed

+89
-83
lines changed

1 file changed

+89
-83
lines changed

.github/workflows/build-openwrt.yml

+89-83
Original file line numberDiff line numberDiff line change
@@ -65,120 +65,126 @@ jobs:
6565
run: |
6666
rm -f ./.config*
6767
touch ./.config
68-
# cp ./makeconfig.d/x86_64.config ./.config
6968
7069
#
7170
# 以下为定制化固件选项和说明:
7271
#
7372
73+
#
74+
# 如果不对本区块做出任何编辑, 则生成默认配置固件.
75+
#
76+
7477
#
75-
# 有些插件/选项是默认开启的, 如果想要关闭, 可以参照以下示例:
78+
# 有些插件/选项是默认开启的, 如果想要关闭, 请参照以下示例进行编写:
7679
#
77-
# -----------------------------------------
78-
# | # 取消编译VMware镜像: |
79-
# | cat >> .config <<EOF |
80-
# | # CONFIG_VMDK_IMAGES is not set |
81-
# | EOF |
82-
# -----------------------------------------
80+
# =========================================
81+
# | # 取消编译VMware镜像: |
82+
# | cat >> .config <<EOF |
83+
# | # CONFIG_VMDK_IMAGES is not set |
84+
# | EOF |
85+
# =========================================
8386
#
8487
8588
#
8689
# 以下是一些提前准备好的一些插件选项.
90+
# 直接取消注释相应代码块即可应用. 不要取消注释代码块上的汉字说明.
91+
# 如果不需要代码块里的某一项配置, 只需要删除相应行.
92+
#
8793
# 如果需要其他插件, 请按照示例自行添加.
88-
# 注意只添加依赖链顶端的包. 如果你需要插件 A, 同时 A 依赖 B, 即只需要添加 A.
94+
# 注意, 只需添加依赖链顶端的包. 如果你需要插件 A, 同时 A 依赖 B, 即只需要添加 A.
8995
#
9096
# 无论你想要对固件进行怎样的定制, 都需要且只需要修改 EOF 回环内的内容.
9197
#
9298
9399
# 编译x64固件:
94-
cat >> .config <<EOF
95-
CONFIG_TARGET_x86=y
96-
CONFIG_TARGET_x86_64=y
97-
CONFIG_TARGET_x86_64_Generic=y
98-
EOF
100+
# cat >> .config <<EOF
101+
# CONFIG_TARGET_x86=y
102+
# CONFIG_TARGET_x86_64=y
103+
# CONFIG_TARGET_x86_64_Generic=y
104+
# EOF
99105
100106
# 固件压缩:
101-
cat >> .config <<EOF
102-
CONFIG_TARGET_IMAGES_GZIP=y
103-
EOF
107+
# cat >> .config <<EOF
108+
# CONFIG_TARGET_IMAGES_GZIP=y
109+
# EOF
104110
105111
# 编译UEFI固件:
106-
cat >> .config <<EOF
107-
CONFIG_EFI_IMAGES=y
108-
EOF
112+
# cat >> .config <<EOF
113+
# CONFIG_EFI_IMAGES=y
114+
# EOF
109115
110116
# IPv6支持:
111-
cat >> .config <<EOF
112-
CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
113-
CONFIG_PACKAGE_ipv6helper=y
114-
EOF
115-
116-
# 文件系统支持:
117-
cat >> .config <<EOF
118-
CONFIG_PACKAGE_kmod-fs-nfs=y
119-
CONFIG_PACKAGE_kmod-fs-nfs-common=y
120-
CONFIG_PACKAGE_kmod-fs-nfs-v3=y
121-
CONFIG_PACKAGE_kmod-fs-nfs-v4=y
122-
CONFIG_PACKAGE_kmod-fs-ntfs=y
123-
CONFIG_PACKAGE_kmod-fs-squashfs=y
124-
EOF
117+
# cat >> .config <<EOF
118+
# CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
119+
# CONFIG_PACKAGE_ipv6helper=y
120+
# EOF
121+
122+
# 多文件系统支持:
123+
# cat >> .config <<EOF
124+
# CONFIG_PACKAGE_kmod-fs-nfs=y
125+
# CONFIG_PACKAGE_kmod-fs-nfs-common=y
126+
# CONFIG_PACKAGE_kmod-fs-nfs-v3=y
127+
# CONFIG_PACKAGE_kmod-fs-nfs-v4=y
128+
# CONFIG_PACKAGE_kmod-fs-ntfs=y
129+
# CONFIG_PACKAGE_kmod-fs-squashfs=y
130+
# EOF
125131
126132
# USB3.0支持:
127-
cat >> .config <<EOF
128-
CONFIG_PACKAGE_kmod-usb-ohci=y
129-
CONFIG_PACKAGE_kmod-usb-ohci-pci=y
130-
CONFIG_PACKAGE_kmod-usb2=y
131-
CONFIG_PACKAGE_kmod-usb2-pci=y
132-
CONFIG_PACKAGE_kmod-usb3=y
133-
EOF
133+
# cat >> .config <<EOF
134+
# CONFIG_PACKAGE_kmod-usb-ohci=y
135+
# CONFIG_PACKAGE_kmod-usb-ohci-pci=y
136+
# CONFIG_PACKAGE_kmod-usb2=y
137+
# CONFIG_PACKAGE_kmod-usb2-pci=y
138+
# CONFIG_PACKAGE_kmod-usb3=y
139+
# EOF
134140
135141
# 常用LuCI插件选择:
136-
cat >> .config <<EOF
137-
CONFIG_PACKAGE_luci-app-adbyby-plus=y
138-
CONFIG_PACKAGE_luci-app-aria2=y
139-
CONFIG_PACKAGE_luci-app-baidupcs-web=y
140-
CONFIG_PACKAGE_luci-app-docker=y
141-
CONFIG_PACKAGE_luci-app-frpc=y
142-
CONFIG_PACKAGE_luci-app-hd-idle=y
143-
CONFIG_PACKAGE_luci-app-kodexplorer=y
144-
CONFIG_PACKAGE_luci-app-minidlna=y
145-
CONFIG_PACKAGE_luci-app-openvpn=y
146-
CONFIG_PACKAGE_luci-app-openvpn-server=y
147-
CONFIG_PACKAGE_luci-app-smartinfo=y
148-
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y
149-
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y
150-
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y
151-
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y
152-
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y
153-
CONFIG_PACKAGE_luci-app-ttyd=y
154-
CONFIG_PACKAGE_luci-app-v2ray-server=y
155-
CONFIG_PACKAGE_luci-app-verysync=y
156-
CONFIG_PACKAGE_luci-app-webadmin=y
157-
CONFIG_PACKAGE_luci-app-wireguard=y
158-
CONFIG_PACKAGE_luci-app-wrtbwmon=y
159-
EOF
142+
# cat >> .config <<EOF
143+
# CONFIG_PACKAGE_luci-app-adbyby-plus=y
144+
# CONFIG_PACKAGE_luci-app-aria2=y
145+
# CONFIG_PACKAGE_luci-app-baidupcs-web=y
146+
# CONFIG_PACKAGE_luci-app-docker=y
147+
# CONFIG_PACKAGE_luci-app-frpc=y
148+
# CONFIG_PACKAGE_luci-app-hd-idle=y
149+
# CONFIG_PACKAGE_luci-app-kodexplorer=y
150+
# CONFIG_PACKAGE_luci-app-minidlna=y
151+
# CONFIG_PACKAGE_luci-app-openvpn=y
152+
# CONFIG_PACKAGE_luci-app-openvpn-server=y
153+
# CONFIG_PACKAGE_luci-app-smartinfo=y
154+
# CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Kcptun=y
155+
# CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y
156+
# CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y
157+
# CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y
158+
# CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=y
159+
# CONFIG_PACKAGE_luci-app-ttyd=y
160+
# CONFIG_PACKAGE_luci-app-v2ray-server=y
161+
# CONFIG_PACKAGE_luci-app-verysync=y
162+
# CONFIG_PACKAGE_luci-app-webadmin=y
163+
# CONFIG_PACKAGE_luci-app-wireguard=y
164+
# CONFIG_PACKAGE_luci-app-wrtbwmon=y
165+
# EOF
160166
161167
# LuCI主题:
162-
cat >> .config <<EOF
163-
CONFIG_PACKAGE_luci-theme-argon=y
164-
EOF
168+
# cat >> .config <<EOF
169+
# CONFIG_PACKAGE_luci-theme-argon=y
170+
# EOF
165171
166172
# 常用软件包:
167-
cat >> .config <<EOF
168-
CONFIG_PACKAGE_curl=y
169-
CONFIG_PACKAGE_htop=y
170-
CONFIG_PACKAGE_nano=y
171-
CONFIG_PACKAGE_screen=y
172-
CONFIG_PACKAGE_tree=y
173-
CONFIG_PACKAGE_vim-fuller=y
174-
CONFIG_PACKAGE_wget=y
175-
EOF
176-
177-
# 取消编译VMware镜像以及镜像填充:
178-
cat >> .config <<EOF
179-
# CONFIG_TARGET_IMAGES_PAD is not set
180-
# CONFIG_VMDK_IMAGES is not set
181-
EOF
173+
# cat >> .config <<EOF
174+
# CONFIG_PACKAGE_curl=y
175+
# CONFIG_PACKAGE_htop=y
176+
# CONFIG_PACKAGE_nano=y
177+
# CONFIG_PACKAGE_screen=y
178+
# CONFIG_PACKAGE_tree=y
179+
# CONFIG_PACKAGE_vim-fuller=y
180+
# CONFIG_PACKAGE_wget=y
181+
# EOF
182+
183+
# 取消编译VMware镜像以及镜像填充 (不要删除被缩进的注释符号):
184+
# cat >> .config <<EOF
185+
# # CONFIG_TARGET_IMAGES_PAD is not set
186+
# # CONFIG_VMDK_IMAGES is not set
187+
# EOF
182188
183189
#
184190
# 固件定制部分结束.

0 commit comments

Comments
 (0)