garypang13 4 年之前
父节点
当前提交
7a3c19fb73
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 1
      .github/workflows/repo-dispatcher.yml
  2. 1 0
      devices/common/diy.sh

+ 1 - 1
.github/workflows/repo-dispatcher.yml

@@ -65,7 +65,7 @@ jobs:
               -d '{"event_type": "x86_64 ${{ env.SSH }}", "client_payload": {"target": "x86_64"}}'
             fi
           kernel_r=$(curl -s https://op.supes.top/firmware/nanopi-r2s/version.txt | tr "\r\n" "," | cut -f 3 -d ,)
-          kernel_l=$(curl -s https://raw.githubusercontent.com/immortalwrt/immortalwrt/master/include/kernel-version.mk | grep LINUX_KERNEL_HASH-5.10* | cut -f 3 -d ' ')
+          kernel_l=$(curl -s https://raw.githubusercontent.com/openwrt/openwrt/master/include/kernel-version.mk | grep LINUX_KERNEL_HASH-5.10* | cut -f 3 -d ' ')
             if [ $kernel_r != $kernel_l ]; then
               curl \
               -X POST https://api.github.com/repos/${{ github.repository }}/dispatches \

+ 1 - 0
devices/common/diy.sh

@@ -16,6 +16,7 @@ sed -i 's?zstd$?zstd ucl upx\n$(curdir)/upx/compile := $(curdir)/ucl/compile?g'
 sed -i 's/ libelf//' tools/Makefile
 svn co https://github.com/immortalwrt/immortalwrt/branches/master/target/linux/generic/hack-5.4 target/linux/generic/hack-5.4
 svn co https://github.com/immortalwrt/immortalwrt/branches/master/target/linux/generic/hack-5.10 target/linux/generic/hack-5.10
+rm -rf target/linux/generic/hack-5.10/220-gc_sections.patch
 svn export --force https://github.com/immortalwrt/immortalwrt/branches/openwrt-21.02/package/network/services/ppp package/network/services/ppp
 svn export --force https://github.com/openwrt/openwrt/trunk/package/libs/libnfnetlink package/libs/libnfnetlink
 svn export --force https://github.com/immortalwrt/immortalwrt/branches/master/package/network/services/dnsmasq package/network/services/dnsmasq