2021-01-05 23:38:00 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# https://github.com/Hyy2001X/AutoBuild-Actions
|
|
|
|
# AutoBuild Module by Hyy2001
|
|
|
|
# AutoBuild DiyScript
|
|
|
|
|
|
|
|
Diy_Core() {
|
|
|
|
Author=Hyy2001
|
2021-03-07 11:47:41 +00:00
|
|
|
Default_Device=
|
2021-01-11 13:44:45 +00:00
|
|
|
|
|
|
|
INCLUDE_AutoUpdate=true
|
2021-01-16 07:59:00 +00:00
|
|
|
INCLUDE_AutoBuild_Tools=true
|
2021-03-17 14:15:03 +00:00
|
|
|
INCLUDE_DRM_I915=true
|
2021-01-05 23:38:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Diy-Part1() {
|
2021-01-11 13:44:45 +00:00
|
|
|
Diy_Part1_Base
|
2021-02-24 23:51:13 +00:00
|
|
|
|
2021-03-04 13:50:20 +00:00
|
|
|
Update_Makefile exfat package/kernel/exfat
|
2021-01-05 23:38:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Diy-Part2() {
|
2021-01-11 13:44:45 +00:00
|
|
|
Diy_Part2_Base
|
2021-02-26 05:37:28 +00:00
|
|
|
ExtraPackages svn other/../../feeds/packages/admin netdata https://github.com/openwrt/packages/trunk/admin
|
2021-03-24 12:50:54 +00:00
|
|
|
|
2021-03-26 01:09:26 +00:00
|
|
|
Replace_File CustomFiles/uhttpd.po feeds/luci/applications/luci-app-uhttpd/po/zh-cn
|
|
|
|
Replace_File CustomFiles/webadmin.po package/lean/luci-app-webadmin/po/zh-cn
|
|
|
|
Replace_File CustomFiles/mwan3.config package/feeds/packages/mwan3/files/etc/config mwan3
|
2021-03-24 12:50:54 +00:00
|
|
|
|
|
|
|
case ${TARGET_PROFILE} in
|
|
|
|
d-team_newifi-d2)
|
2021-03-26 01:09:26 +00:00
|
|
|
Replace_File CustomFiles/mac80211.sh package/kernel/mac80211/files/lib/wifi
|
|
|
|
Replace_File CustomFiles/system_newifi-d2 package/base-files/files/etc/config system
|
|
|
|
Replace_File CustomFiles/102-mt7621-fix-cpu-clk-add-clkdev.patch target/linux/ramips/patches-5.4
|
2021-03-24 12:50:54 +00:00
|
|
|
;;
|
|
|
|
*)
|
2021-03-26 01:09:26 +00:00
|
|
|
Replace_File CustomFiles/system_common package/base-files/files/etc/config system
|
2021-03-24 12:50:54 +00:00
|
|
|
;;
|
|
|
|
esac
|
2021-01-05 23:38:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Diy-Part3() {
|
2021-01-11 13:44:45 +00:00
|
|
|
Diy_Part3_Base
|
|
|
|
}
|