generated from Hyy2001X/AutoBuild-Actions-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAutoBuild_DiyScript.sh
44 lines (35 loc) · 1.3 KB
/
AutoBuild_DiyScript.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
# AutoBuild Module by Hyy2001 <https://github.com/Hyy2001X/AutoBuild-Actions>
# AutoBuild DiyScript
Firmware_Diy_Core() {
Author=AUTO
Author_URL=AUTO
Default_FLAG=AUTO
Default_IP="10.0.0.254"
Banner_Message="Powered by AutoBuild-Actions"
Short_Firmware_Date=true
Checkout_Virtual_Images=false
Firmware_Format=AUTO
REGEX_Skip_Checkout="packages|buildinfo|sha256sums|manifest|kernel|rootfs|factory"
INCLUDE_AutoBuild_Features=true
INCLUDE_Original_OpenWrt_Compatible=false
}
Firmware_Diy() {
# 请在该函数内定制固件
# 可用预设变量, 其他可用变量请参考运行日志
# ${OP_AUTHOR} OpenWrt 源码作者
# ${OP_REPO} OpenWrt 仓库名称
# ${OP_BRANCH} OpenWrt 源码分支
# ${TARGET_PROFILE} 设备名称
# ${TARGET_BOARD} 设备架构
# ${TARGET_FLAG} 固件名称后缀
# ${Home} OpenWrt 源码位置
# ${CONFIG_FILE} 使用的配置文件名称
# ${FEEDS_CONF} OpenWrt 源码目录下的 feeds.conf.default 文件
# ${CustomFiles} 仓库中的 /CustomFiles 绝对路径
# ${Scripts} 仓库中的 /Scripts 绝对路径
# ${FEEDS_LUCI} OpenWrt 源码目录下的 package/feeds/luci 目录
# ${FEEDS_PKG} OpenWrt 源码目录下的 package/feeds/packages 目录
# ${BASE_FILES} OpenWrt 源码目录下的 package/base-files/files 目录
:
}