diff --git a/.github/workflows/lo-test.yml b/.github/workflows/lo-test.yml index ada5c369af..01c5603ffe 100644 --- a/.github/workflows/lo-test.yml +++ b/.github/workflows/lo-test.yml @@ -99,6 +99,7 @@ jobs: df -h . - name: Build and deploy packages run: | + ulimit -SHn 65000 cd ~/lede while true; do make download -j && break || true; done make -j$[`nproc`+1] IGNORE_ERRORS=1 @@ -254,7 +255,9 @@ jobs: run: | sudo apt update && sudo apt install qemu-utils sudo sysctl vm.swappiness=0 + ulimit -SHn 65000 curl -L https://github.com/klever1988/sshactions/releases/download/cache/ib-$DEVICE.tar.xz | tar -Jxvf - + set -x mv *imagebuilder* ib && cd ib . $GITHUB_WORKSPACE/scripts/merge_files.sh sed -i '/local/d;s/#//' files/etc/opkg/distfeeds.conf diff --git a/scripts/merge_files.sh b/scripts/merge_files.sh index 34c66ac42a..ffa11ba90a 100644 --- a/scripts/merge_files.sh +++ b/scripts/merge_files.sh @@ -1,20 +1,4 @@ mv $GITHUB_WORKSPACE/files ./ -if [ $DEVICE = 'r2s' -o $DEVICE = 'r2c' ]; then - mkdir -p files/usr/bin files/etc/init.d files/etc/rc.d - 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 - chmod +x files/usr/bin/start-rk3328-pwm-fan.sh - 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 - chmod +x files/etc/init.d/fa-rk3328-pwmfan - ln -sf ../init.d/fa-rk3328-pwmfan files/etc/rc.d/S96fa-rk3328-pwmfan -fi -if [ $DEVICE = 'r4s' ]; then - mkdir -p files/usr/bin files/etc/init.d files/etc/rc.d - 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 - chmod +x files/usr/bin/start-rk3399-pwm-fan.sh - 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 - chmod +x files/etc/init.d/fa-rk3399-pwmfan - ln -sf ../init.d/fa-rk3399-pwmfan files/etc/rc.d/S96fa-rk3399-pwmfan -fi chmod 600 files/etc/dropbear/* eval `cat .config | grep \" | head -n 10` . files/etc/opkg/distfeeds.conf | tee files/etc/opkg/distfeeds.conf diff --git a/scripts/merge_packages.sh b/scripts/merge_packages.sh index 39d5bc3f5f..533c23d5d6 100644 --- a/scripts/merge_packages.sh +++ b/scripts/merge_packages.sh @@ -32,7 +32,6 @@ merge_package https://github.com/klever1988/helloworld/branches/tmp/luci-app-ssr merge_package https://github.com/klever1988/helloworld/branches/tmp/mosdns #merge_package https://github.com/klever1988/openwrt-mos/trunk/luci-app-mosdns merge_package https://github.com/project-lede/luci-app-godproxy -merge_package https://github.com/Beginner-Go/luci-app-tencentddns merge_package https://github.com/sundaqiang/openwrt-packages/trunk/luci-app-services-wolplus merge_package https://github.com/coolsnowwolf/lede/trunk/package/lean/ntfs3-mount merge_package https://github.com/coolsnowwolf/lede/trunk/package/lean/ntfs3 diff --git a/scripts/patches.sh b/scripts/patches.sh index 5ca994e2b6..94e2e63126 100644 --- a/scripts/patches.sh +++ b/scripts/patches.sh @@ -56,6 +56,11 @@ if [ $BRANCH == 'master' ]; then git apply f341ef96fe4b509a728ba1281281da96bac23673.patch rm f341ef96fe4b509a728ba1281281da96bac23673.patch + # enable fan control + wget https://github.com/friendlyarm/friendlywrt/commit/cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch + git apply cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch + rm cebdc1f94dcd6363da3a5d7e1e69fd741b8b718e.patch + #this is a ugly fix sed -i '/procd-ujail/d' include/target.mk echo 'CONFIG_PACKAGE_procd-seccomp=y' >> $GITHUB_WORKSPACE/common.seed