diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index e66dac5e5d..f850be27a9 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Trigger Compile run: | - if [ ${{ matrix.device }} = 'r1s' ] OR [ ${{ matrix.device }} = 'x86' ]; then + if [ '${{ matrix.device }}' = 'r1s' ] || [ '${{ matrix.device }}' = 'x86' ]; then branch='18.06'; else branch='master'; diff --git a/.github/workflows/lo-test.yml b/.github/workflows/lo-test.yml index 64b46a808c..488ae12644 100644 --- a/.github/workflows/lo-test.yml +++ b/.github/workflows/lo-test.yml @@ -209,7 +209,7 @@ jobs: sed -i 's/$(OPKG) install $(BUILD_PACKAGES)/$(OPKG) install --force-overwrite $(BUILD_PACKAGES)/' Makefile ls packages/*.ipk | xargs -n1 basename > package.files PACKAGES=$(cat $GITHUB_WORKSPACE/$DEVICE.config.seed $GITHUB_WORKSPACE/common.seed | grep CONFIG_PACKAGE | grep -v CONFIG_PACKAGE_luci-app | sed 's/CONFIG_PACKAGE_//;s/=y//' | xargs -n1 -i grep -o {} package.files | sort -u | xargs echo) - [ $DEVICE != 'r1s' ] && PACKAGES="$PACKAGES luci-i18n-opkg-zh-cn" + [ $BRANCH == 'master' ] && PACKAGES="$PACKAGES luci-i18n-opkg-zh-cn" make image PACKAGES="$PACKAGES $LUCI $LP luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn" FILES="files" mkdir -p $GITHUB_WORKSPACE/release diff --git a/common.seed b/common.seed index a2851b1e8b..c5999b0ed1 100644 --- a/common.seed +++ b/common.seed @@ -59,6 +59,9 @@ CONFIG_PACKAGE_curl=y CONFIG_PACKAGE_ddns-scripts_aliyun=y CONFIG_PACKAGE_ddns-scripts_cloudflare.com-v4=y CONFIG_PACKAGE_ddns-scripts_dnspod=y +CONFIG_PACKAGE_ddns-scripts-cloudflare=y +CONFIG_PACKAGE_ddns-scripts-dnspod=y +CONFIG_PACKAGE_ddns-scripts-dnspod-com=y CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y CONFIG_PACKAGE_fdisk=y CONFIG_PACKAGE_frpc=y diff --git a/r1p.config.seed b/r1p.config.seed index 017db204ea..61ba4c52e9 100644 --- a/r1p.config.seed +++ b/r1p.config.seed @@ -25,7 +25,6 @@ CONFIG_PACKAGE_luci-theme-openwrt=y CONFIG_PACKAGE_luci-theme-openwrt-2020=y CONFIG_PACKAGE_collectd-mod-ping=y CONFIG_PACKAGE_collectd-mod-thermal=y -CONFIG_PACKAGE_ddns-scripts_cloudflare=y CONFIG_PACKAGE_kmod-drm-rockchip=y diff --git a/r2c.config.seed b/r2c.config.seed index 5f55fd7368..0eb5a0fc49 100644 --- a/r2c.config.seed +++ b/r2c.config.seed @@ -25,7 +25,6 @@ CONFIG_PACKAGE_luci-theme-openwrt=y CONFIG_PACKAGE_luci-theme-openwrt-2020=y CONFIG_PACKAGE_collectd-mod-ping=y CONFIG_PACKAGE_collectd-mod-thermal=y -CONFIG_PACKAGE_ddns-scripts_cloudflare=y CONFIG_PACKAGE_kmod-drm-rockchip=y diff --git a/r2s.config.seed b/r2s.config.seed index 606984cc7d..402d2666f3 100644 --- a/r2s.config.seed +++ b/r2s.config.seed @@ -25,7 +25,6 @@ CONFIG_PACKAGE_luci-theme-openwrt=y CONFIG_PACKAGE_luci-theme-openwrt-2020=y CONFIG_PACKAGE_collectd-mod-ping=y CONFIG_PACKAGE_collectd-mod-thermal=y -CONFIG_PACKAGE_ddns-scripts_cloudflare=y CONFIG_PACKAGE_kmod-drm-rockchip=y diff --git a/r4s.config.seed b/r4s.config.seed index 53568eefb6..5f7a3524cf 100644 --- a/r4s.config.seed +++ b/r4s.config.seed @@ -25,7 +25,6 @@ CONFIG_PACKAGE_luci-theme-openwrt=y CONFIG_PACKAGE_luci-theme-openwrt-2020=y CONFIG_PACKAGE_collectd-mod-ping=y CONFIG_PACKAGE_collectd-mod-thermal=y -CONFIG_PACKAGE_ddns-scripts_cloudflare=y CONFIG_PACKAGE_kmod-drm-rockchip=y diff --git a/scripts/patches.sh b/scripts/patches.sh index 4800fe3928..83e60cc605 100644 --- a/scripts/patches.sh +++ b/scripts/patches.sh @@ -28,14 +28,13 @@ rm -rf luci-app-ssr-plus/ mkdir -p `find package/ -follow -type d -path '*/pdnsd-alt'`/patches mv $GITHUB_WORKSPACE/patches/99-disallow-aaaa.patch `find package/ -follow -type d -path '*/pdnsd-alt'`/patches -if [ $DEVICE != 'r1s' ]; then +if [ $BRANCH == 'master' ]; then # fix po path for snapshot find package/ -follow -type d -path '*/po/zh-cn' | xargs dirname | xargs -n1 -i sh -c "rm -f {}/zh_Hans; ln -sf zh-cn {}/zh_Hans" # remove non-exist package from x86 profile sed -i 's/kmod-i40evf//' target/linux/x86/Makefile - sed -i 's/KERNEL_PATCHVER:=5.10/KERNEL_PATCHVER:=5.4/' target/linux/x86/Makefile # enable r2s oled plugin by default sed -i "s/enable '0'/enable '1'/" `find package/ -follow -type f -path '*/luci-app-oled/root/etc/config/oled'` diff --git a/x86.config.seed b/x86.config.seed index 4be8f01218..a272db9ed6 100644 --- a/x86.config.seed +++ b/x86.config.seed @@ -24,7 +24,6 @@ CONFIG_PACKAGE_luci-theme-openwrt=y CONFIG_PACKAGE_luci-theme-openwrt-2020=y CONFIG_PACKAGE_collectd-mod-ping=y CONFIG_PACKAGE_collectd-mod-thermal=y -CONFIG_PACKAGE_ddns-scripts_cloudflare=y