@@ -114,37 +114,37 @@ jobs:
114114
115115 - name : Install Mods
116116 run : |
117- cd code
117+ cd code/friendlywrt
118118
119- rm -rf friendlywrt/ feeds/packages/libs/libcap
120- svn co https://github.com/openwrt/packages/trunk/libs/libcap friendlywrt/ feeds/packages/libs/libcap
119+ rm -rf feeds/packages/libs/libcap
120+ svn co https://github.com/openwrt/packages/trunk/libs/libcap feeds/packages/libs/libcap
121121
122- rm -rf friendlywrt/ package/feeds/packages/netdata
123- svn co https://github.com/openwrt/packages/trunk/admin/netdata friendlywrt/ package/feeds/packages/netdata
122+ rm -rf package/feeds/packages/netdata
123+ svn co https://github.com/openwrt/packages/trunk/admin/netdata package/feeds/packages/netdata
124124
125- rm -rf friendlywrt/ feeds/packages/libs/libnatpmp
126- svn co https://github.com/coolsnowwolf/packages/trunk/libs/libnatpmp friendlywrt/ feeds/packages/libs/libnatpmp
125+ rm -rf feeds/packages/libs/libnatpmp
126+ svn co https://github.com/coolsnowwolf/packages/trunk/libs/libnatpmp feeds/packages/libs/libnatpmp
127127
128- rm -rf friendlywrt/ feeds/packages/lang/luasec
129- svn co https://github.com/coolsnowwolf/packages/trunk/lang/luasec friendlywrt/ feeds/packages/lang/luasec
128+ rm -rf feeds/packages/lang/luasec
129+ svn co https://github.com/coolsnowwolf/packages/trunk/lang/luasec feeds/packages/lang/luasec
130130
131- sed -i '/STAMP_BUILT/d' friendlywrt/ feeds/packages/utils/runc/Makefile
132- sed -i '/STAMP_BUILT/d' friendlywrt/ feeds/packages/utils/containerd/Makefile
131+ sed -i '/STAMP_BUILT/d' feeds/packages/utils/runc/Makefile
132+ sed -i '/STAMP_BUILT/d' feeds/packages/utils/containerd/Makefile
133133
134- sed -i '/upx/d' friendlywrt/ package/lean/frp/Makefile
134+ sed -i '/upx/d' package/lean/frp/Makefile
135135
136- wget -O friendlywrt/ package/kernel/kmod-sched-cake/Makefile https://raw.githubusercontent.com/coolsnowwolf/lede/master/package/kernel/kmod-sched-cake-oot/Makefile
137- wget -O friendlywrt/ feeds/packages/libs/libxml2/Makefile https://raw.githubusercontent.com/coolsnowwolf/packages/master/libs/libxml2/Makefile
138-
139- sed -i "/redirect_https/d" friendlywrt/ package/network/services/uhttpd/files/uhttpd.config
140- 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
141- sed -i 's/pcdata(boardinfo.system or "?")/"ARMv8"/' friendlywrt/ feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
142- sed -i 's/services/vpn/g' friendlywrt/ package/feeds/luci/luci-app-openvpn/luasrc/controller/openvpn.lua
143- sed -i 's/resolv.conf.d\/resolv.conf.auto/resolv.conf.auto/g' friendlywrt/ package/lean/luci-app-flowoffload/root/etc/init.d/flowoffload
136+ wget -O package/kernel/kmod-sched-cake/Makefile https://raw.githubusercontent.com/coolsnowwolf/lede/master/package/kernel/kmod-sched-cake-oot/Makefile
137+ wget -O feeds/packages/libs/libxml2/Makefile https://raw.githubusercontent.com/coolsnowwolf/packages/master/libs/libxml2/Makefile
138+
139+ sed -i "/redirect_https/d" package/network/services/uhttpd/files/uhttpd.config
140+ 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>' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
141+ sed -i 's/pcdata(boardinfo.system or "?")/"ARMv8"/' feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm
142+ sed -i 's/services/vpn/g' package/feeds/luci/luci-app-openvpn/luasrc/controller/openvpn.lua
143+ sed -i 's/resolv.conf.d\/resolv.conf.auto/resolv.conf.auto/g' package/lean/luci-app-flowoffload/root/etc/init.d/flowoffload
144144
145- sed -i '/done/imkfs.ext4 \/dev\/mmcblk0p2 && mkdir \/mnt\/mmcblk0p2 && mount \/dev\/mmcblk0p2 \/mnt\/mmcblk0p2 && mount \/dev\/mmcblk0p2 \/opt && mkdir \/opt\/docker\n' ./friendlywrt/ package/base-files/files/root/setup.sh
146- sed -i '/done/i[ -f \/etc\/init.d\/dockerd ] && \/etc\/init.d\/dockerd restart\n' ./friendlywrt/ package/base-files/files/root/setup.sh
147- sed -i 's/\/root/\/mnt\/mmcblk0p2/g' ./friendlywrt/ package/luci-app-r2sflasher/root/usr/bin/rom_flash
145+ sed -i '/done/imkfs.ext4 \/dev\/mmcblk0p2 && mkdir \/mnt\/mmcblk0p2 && mount \/dev\/mmcblk0p2 \/mnt\/mmcblk0p2 && mount \/dev\/mmcblk0p2 \/opt && mkdir \/opt\/docker\n' package/base-files/files/root/setup.sh
146+ sed -i '/done/i[ -f \/etc\/init.d\/dockerd ] && \/etc\/init.d\/dockerd restart\n' package/base-files/files/root/setup.sh
147+ sed -i 's/\/root/\/mnt\/mmcblk0p2/g' package/luci-app-r2sflasher/root/usr/bin/rom_flash
148148
149149 - name : Patch Kernel
150150 run : |
0 commit comments