Update r2s_lienol.yml
This commit is contained in:
29
.github/workflows/r2s_lienol.yml
vendored
29
.github/workflows/r2s_lienol.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/r2s_lienol.yml'
|
||||
- '.github/workflows/r2s_lienol.yml_'
|
||||
schedule:
|
||||
- cron: '30 09 * * *'
|
||||
|
||||
@@ -45,18 +45,24 @@ jobs:
|
||||
repo sync -c --no-clone-bundle -j8
|
||||
cd friendlywrt/ && git fetch
|
||||
|
||||
- name: Mods
|
||||
env:
|
||||
url_fullconenat_patch: ${{ secrets.url1 }}
|
||||
url_flowoffload_patch: ${{ secrets.url2 }}
|
||||
- name: Patch Kernel
|
||||
run: |
|
||||
cd friendlywrt-rk3328
|
||||
cd kernel
|
||||
wget -q ${url_fullconenat_patch}
|
||||
wget -q ${url_flowoffload_patch}
|
||||
git apply add_fullconenat.diff
|
||||
#git apply add_flowoffload.diff
|
||||
cd ..
|
||||
cd kernel/ && git apply ../../add_fullconenat.diff && cd ../
|
||||
git clone https://github.com/openwrt/openwrt
|
||||
rm openwrt/target/linux/generic/pending-5.4/403-mtd-hook-mtdsplit-to-Kbuild.patch
|
||||
rm openwrt/target/linux/generic/hack-5.4/700-swconfig_switch_drivers.patch
|
||||
cd openwrt/
|
||||
./scripts/patch-kernel.sh ../kernel target/linux/generic/backport-5.4
|
||||
./scripts/patch-kernel.sh ../kernel target/linux/generic/pending-5.4
|
||||
./scripts/patch-kernel.sh ../kernel target/linux/generic/hack-5.4
|
||||
cd ../
|
||||
wget https://github.com/torvalds/linux/raw/master/scripts/kconfig/merge_config.sh && chmod +x merge_config.sh
|
||||
grep -i '_NETFILTER_\|FLOW' ../.config.override > .config.override
|
||||
./merge_config.sh -m .config.override kernel/arch/arm64/configs/nanopi-r2_linux_defconfig && mv .config kernel/arch/arm64/configs/nanopi-r2_linux_defconfig
|
||||
|
||||
- name: Mods
|
||||
run: |
|
||||
. ../remove_unused_config.sh
|
||||
cat configs/config_rk3328 | grep "TARGET" >> ../base_rk3328.seed
|
||||
cat ../app_config.seed >> ../base_rk3328.seed
|
||||
@@ -75,6 +81,7 @@ jobs:
|
||||
#sed -i 's/option fullcone\t1/option fullcone\t0/' package/network/config/firewall/files/firewall.config
|
||||
sed -i '/8.8.8.8/d' package/base-files/files/root/setup.sh
|
||||
echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner
|
||||
rm target/linux/rockchip-rk3328/base-files/etc/modules.d/10-rtl8821cu
|
||||
|
||||
- name: Mod luci
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user