31
31
sudo apt-get -y install upx-ucl unzip subversion
32
32
sudo apt-get -y purge dotnet* ghc* google* llvm* mysql* php* zulu* firefox hhvm
33
33
sudo apt-get -y autoremove --purge
34
- wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | bash
34
+ wget -O - https://raw.githubusercontent.com/friendlyarm/build-env-on-ubuntu-bionic/master/install.sh | sed 's/python-/python3-/g' | /bin/ bash
35
35
36
36
# - name: Setup Debug Session
37
37
# uses: P3TERX/debugger-action@master
@@ -68,12 +68,12 @@ jobs:
68
68
69
69
git clone https://github.com/jerrykuku/lua-maxminddb.git
70
70
git clone https://github.com/jerrykuku/luci-app-vssr.git
71
- git clone --depth=1 -b master https://github.com/vernesong/OpenClash
71
+ # git clone --depth=1 -b master https://github.com/vernesong/OpenClash
72
72
73
73
rm -rf lean/luci-theme-argon
74
74
git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git
75
75
76
- # svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash
76
+ svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash
77
77
# svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash
78
78
79
79
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/luci-app-passwall
@@ -85,12 +85,15 @@ jobs:
85
85
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/brook
86
86
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/chinadns-ng
87
87
svn co https://github.com/xiaorouji/openwrt-passwall/trunk/xray-core
88
+ svn co https://github.com/xiaorouji/openwrt-passwall/trunk/xray-plugin
88
89
89
90
# svn co https://github.com/songchenwen/nanopi-r2s/trunk/luci-app-r2sflasher
90
91
91
92
svn co https://github.com/pymumu/smartdns/trunk/package/openwrt smartdns
92
93
svn co https://github.com/pymumu/luci-app-smartdns/branches/lede luci-app-smartdns
93
94
95
+ svn co https://github.com/lisaac/luci-app-dockerman/trunk/applications/luci-app-dockerman
96
+
94
97
git clone https://github.com/jerrykuku/luci-app-jd-dailybonus.git
95
98
git clone https://github.com/NateLol/luci-app-oled
96
99
99
102
cd code/friendlywrt/package/base-files/files
100
103
mkdir -p etc/openclash/core
101
104
# for updates, go to: https://github.com/Dreamacro/clash/releases
102
- wget -qO- https://github.com/Dreamacro/clash/releases/download/v1.3.5 /clash-linux-armv8-v1.3.5 .gz | gunzip -c > etc/openclash/core/clash
105
+ wget -qO- https://github.com/Dreamacro/clash/releases/download/v1.4.1 /clash-linux-armv8-v1.4.1 .gz | gunzip -c > etc/openclash/core/clash
103
106
# for updates, go to: https://github.com/vernesong/OpenClash/releases/tag/TUN-Premium
104
107
wget -qO- https://github.com/vernesong/OpenClash/releases/download/TUN-Premium/clash-linux-armv8-2021.02.21.gz | gunzip -c > etc/openclash/core/clash_tun
105
108
# for updates, go to: https://github.com/vernesong/OpenClash/releases/tag/TUN
@@ -144,14 +147,15 @@ jobs:
144
147
wget -O friendlywrt/feeds/packages/libs/libxml2/Makefile https://raw.githubusercontent.com/coolsnowwolf/packages/master/libs/libxml2/Makefile
145
148
146
149
sed -i "/redirect_https/d" friendlywrt/package/network/services/uhttpd/files/uhttpd.config
147
- #sed -i '/Load Average/i\\t\t<tr><td width="33%"><%:YouTube % ></td><td><%=WikiHackers % ></td></tr>' friendlywrt/feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
148
- # sed -i '/Load Average/i\\t\t<tr><td width="33%"><%:CPU Temperature % ></td><td><%=luci.sys.exec("cut -c1-2 /sys/class/thermal/thermal_zone0/temp") % ><span>℃</span></td></tr>' friendlywrt/feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
149
- # sed -i 's/pcdata(boardinfo.system or "?")/"ARMv8"/' friendlywrt/feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
150
150
sed -i 's/services/vpn/g' friendlywrt/package/feeds/luci/luci-app-openvpn/luasrc/controller/openvpn.lua
151
151
sed -i 's/resolv.conf.d\/resolv.conf.auto/resolv.conf.auto/g' friendlywrt/package/lean/luci-app-flowoffload/root/etc/init.d/flowoffload
152
-
153
- sed -i '/done/imkfs.ext4 \/dev\/mmcblk0p2 && mkdir \/mnt\/mmcblk0p2 && mount \/dev\/mmcblk0p2 \/mnt\/mmcblk0p2 && mount \/dev\/mmcblk0p2 \/opt\n' ./friendlywrt/package/base-files/files/root/setup.sh
154
- # sed -i 's/\/root/\/mnt\/mmcblk0p2/g' ./friendlywrt/package/luci-app-r2sflasher/root/usr/bin/rom_flash
152
+
153
+ sed -i '/done/imkfs.ext4 /dev/mmcblk0p2 && mkdir /mnt/mmcblk0p2 && mount /dev/mmcblk0p2 /mnt/mmcblk0p2 && mkdir /mnt/mmcblk0p2/docker\n' friendlywrt/package/base-files/files/root/setup.sh
154
+ sed -i "/done/iblock detect | sed \"s/enabled\\\t'0'/enabled\\\t'1'/\" > /etc/config/fstab\n" friendlywrt/package/base-files/files/root/setup.sh
155
+ sed -i '/done/i[ -f /etc/init.d/dockerman ] && /etc/init.d/dockerman restart\n' friendlywrt/package/base-files/files/root/setup.sh
156
+
157
+ # sed -i '/done/imkfs.ext4 \/dev\/mmcblk0p2 && mkdir \/mnt\/mmcblk0p2 && mount \/dev\/mmcblk0p2 \/mnt\/mmcblk0p2 && mount \/dev\/mmcblk0p2 \/opt\n' ./friendlywrt/package/base-files/files/root/setup.sh
158
+ # sed -i 's/\/root/\/mnt\/mmcblk0p2/g' ./friendlywrt/package/luci-app-r2sflasher/root/usr/bin/rom_flash
155
159
- name : MOD index file
156
160
run : |
157
161
cd code/friendlywrt/feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status
@@ -166,7 +170,7 @@ jobs:
166
170
- name : Custom Configure Files
167
171
run : |
168
172
rm -f code/friendlywrt/.config*
169
- cp config/ r4s-rk3399-config code/configs/config_rk3399
173
+ cp r4s-rk3399-config code/configs/config_rk3399
170
174
171
175
- name : Set Default Values
172
176
run : |
@@ -198,7 +202,6 @@ jobs:
198
202
rm -rf ./artifact/
199
203
mkdir -p ./artifact/
200
204
201
- #find code/out/ -name "FriendlyWrt_*img" | xargs -I{} sh -c 'f=$(basename $1); zip -r -j "./artifact/${f}.zip" $1' sh {} \;
202
205
cp code/out/*.img.zip ./artifact/
203
206
cp code/friendlywrt/.config ./artifact/
204
207
@@ -214,9 +217,7 @@ jobs:
214
217
with :
215
218
name : FriendlyWrt_NanoPi-R4S RK3399 v19.07
216
219
allowUpdates : true
217
- tag : ${{ env.NOW }}
218
- env :
219
- NOW : $(date +'%Y-%m-%dT%H:%M:%S')
220
+ tag : R2S20210306
220
221
commit : main
221
222
replacesArtifacts : true
222
223
token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments