From 9d7284bf3d1df2d2171f76928d1e461220a45870 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 17 Sep 2020 16:46:39 +0800 Subject: [PATCH] config: update firewall rules --- .github/workflows/r2s_native-dev.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/r2s_native-dev.yml b/.github/workflows/r2s_native-dev.yml index 75f13bc..39cea71 100644 --- a/.github/workflows/r2s_native-dev.yml +++ b/.github/workflows/r2s_native-dev.yml @@ -44,6 +44,8 @@ jobs: CONFIG_TARGET_rockchip_armv8_DEVICE_friendlyarm_nanopi-r2s=y' > .config cat ../base_rk3328.seed >> .config cat ../minimal_config.seed >> .config + sed -i 's/option input\t\tREJECT/option input\t\tACCEPT/' package/network/config/firewall/files/firewall.config + echo -e '\nDYC Build\n' >> package/base-files/files/etc/banner - name: Compile run: | @@ -57,7 +59,7 @@ jobs: id: assemble_artifact run: | #gzip openwrt/bin/targets/*/*/*img* - mv openwrt/bin/targets/*/*/*squashfs*img.gz ./artifact.img.gz + mv openwrt/bin/targets/*/*/*ext4*img.gz ./artifact.img.gz release_tag="R2S-native-$(date +%Y-%m-%d)-dev" echo "##[set-output name=release_tag;]$release_tag" - name: Create Release