From 66cc9646bd7361c48d911e13c5b0232add8fe61e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=BC=E7=A0=BC?= Date: Sun, 10 Apr 2022 00:59:30 +0800 Subject: [PATCH] fix toolkit --- .github/workflows/test.yml | 2 +- redpill_tool_chain.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4f2875e..3905d12 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -90,7 +90,7 @@ jobs: if: matrix.platform == 'dva3221' run: | echo '等待整理兼容性扩展~😀' - /redpill_tool_chain.sh add https://github.com/pocopico/redpill-load/raw/develop/redpill-boot-wait/rpext-index.json + ./redpill_tool_chain.sh add https://github.com/pocopico/redpill-load/raw/develop/redpill-boot-wait/rpext-index.json - name: 添加 Misc shell run: | diff --git a/redpill_tool_chain.sh b/redpill_tool_chain.sh index cb7d1c8..7eafbe0 100755 --- a/redpill_tool_chain.sh +++ b/redpill_tool_chain.sh @@ -313,6 +313,10 @@ if [[ "${ACTION}" != "del" && "${ACTION}" != "add" && "${ACTION}" != "sn" && "${ EXTRACTED_KSRC="/linux*" if [ "${COMPILE_WITH}" == "toolkit_dev" ]; then + # TODO: fix: wait new toolkit + if [ "${DSM_VERSION}" == "7.1" ]; then + DSM_VERSION="7.0" + fi EXTRACTED_KSRC="/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-${DSM_VERSION}/build/" fi else