File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9999 df -h .
100100 - name : Build and deploy packages
101101 run : |
102+ ulimit -SHn 65000
102103 cd ~/lede
103104 while true; do make download -j && break || true; done
104105 make -j$[`nproc`+1] IGNORE_ERRORS=1
@@ -254,7 +255,9 @@ jobs:
254255 run : |
255256 sudo apt update && sudo apt install qemu-utils
256257 sudo sysctl vm.swappiness=0
258+ ulimit -SHn 65000
257259 curl -L https://github.com/klever1988/sshactions/releases/download/cache/ib-$DEVICE.tar.xz | tar -Jxvf -
260+ set -x
258261 mv *imagebuilder* ib && cd ib
259262 . $GITHUB_WORKSPACE/scripts/merge_files.sh
260263 sed -i '/local/d;s/#//' files/etc/opkg/distfeeds.conf
Original file line number Diff line number Diff line change 11mv $GITHUB_WORKSPACE /files ./
2- if [ $DEVICE = ' r2s' -o $DEVICE = ' r2c' ]; then
3- mkdir -p files/usr/bin files/etc/init.d files/etc/rc.d
4- wget https://github.com/friendlyarm/friendlywrt/raw/master-v19.07.1/target/linux/rockchip-rk3328/base-files/usr/bin/start-rk3328-pwm-fan.sh -qNP files/usr/bin
5- chmod +x files/usr/bin/start-rk3328-pwm-fan.sh
6- wget https://github.com/friendlyarm/friendlywrt/raw/master-v19.07.1/target/linux/rockchip-rk3328/base-files/etc/init.d/fa-rk3328-pwmfan -qNP files/etc/init.d
7- chmod +x files/etc/init.d/fa-rk3328-pwmfan
8- ln -sf ../init.d/fa-rk3328-pwmfan files/etc/rc.d/S96fa-rk3328-pwmfan
9- fi
10- if [ $DEVICE = ' r4s' ]; then
11- mkdir -p files/usr/bin files/etc/init.d files/etc/rc.d
12- wget https://raw.githubusercontent.com/btyh17mxy/friendlywrt/fix/rk3399-fan-ctl/target/linux/rockchip-rk3399/base-files/usr/bin/start-rk3399-pwm-fan.sh -qNP files/usr/bin
13- chmod +x files/usr/bin/start-rk3399-pwm-fan.sh
14- wget https://raw.githubusercontent.com/friendlyarm/friendlywrt/master-v19.07.1/target/linux/rockchip-rk3399/base-files/etc/init.d/fa-rk3399-pwmfan -qNP files/etc/init.d
15- chmod +x files/etc/init.d/fa-rk3399-pwmfan
16- ln -sf ../init.d/fa-rk3399-pwmfan files/etc/rc.d/S96fa-rk3399-pwmfan
17- fi
182chmod 600 files/etc/dropbear/*
193eval ` cat .config | grep \" | head -n 10`
204. files/etc/opkg/distfeeds.conf | tee files/etc/opkg/distfeeds.conf
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ merge_package https://github.com/klever1988/helloworld/branches/tmp/luci-app-ssr
3232merge_package https://github.com/klever1988/helloworld/branches/tmp/mosdns
3333# merge_package https://github.com/klever1988/openwrt-mos/trunk/luci-app-mosdns
3434merge_package https://github.com/project-lede/luci-app-godproxy
35- merge_package https://github.com/Beginner-Go/luci-app-tencentddns
3635merge_package https://github.com/sundaqiang/openwrt-packages/trunk/luci-app-services-wolplus
3736merge_package https://github.com/coolsnowwolf/lede/trunk/package/lean/ntfs3-mount
3837merge_package https://github.com/coolsnowwolf/lede/trunk/package/lean/ntfs3
Original file line number Diff line number Diff line change @@ -56,6 +56,11 @@ if [ $BRANCH == 'master' ]; then
5656 git apply f341ef96fe4b509a728ba1281281da96bac23673.patch
5757 rm f341ef96fe4b509a728ba1281281da96bac23673.patch
5858
59+ # enable fan control
60+ wget https://github.com/friendlyarm/friendlywrt/commit/cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch
61+ git apply cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch
62+ rm cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch
63+
5964 # this is a ugly fix
6065 sed -i ' /procd-ujail/d' include/target.mk
6166 echo ' CONFIG_PACKAGE_procd-seccomp=y' >> $GITHUB_WORKSPACE /common.seed
You can’t perform that action at this time.
0 commit comments