From 6bf72fe433b341f7ede4116e52ebbef5177c8316 Mon Sep 17 00:00:00 2001 From: s1oz <1412.kidd0@gmail.com> Date: Fri, 24 Sep 2021 10:11:15 +0800 Subject: [PATCH] dev-v7 --- build-ds3615xs-7.0.1.sh | 2 +- build-ds918-7.0.1.sh | 2 +- readme.md | 3 +++ user_config.DS3615xs.json | 5 ++++- user_config.DS918+.json | 5 ++++- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/build-ds3615xs-7.0.1.sh b/build-ds3615xs-7.0.1.sh index 7247899..9dc2df2 100644 --- a/build-ds3615xs-7.0.1.sh +++ b/build-ds3615xs-7.0.1.sh @@ -21,7 +21,7 @@ tar -C./bromolow/ -xf ds.bromolow-7.0.dev.txz usr/local/x86_64-pc-linux-gnu/x86_ # build redpill-lkm cd redpill-lkm sed -i 's/ -std=gnu89/ -std=gnu89 -fno-pie/' ../bromolow/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.0/build/Makefile -make LINUX_SRC=../bromolow/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.0/build +make LINUX_SRC=../bromolow/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.0/build dev-v7 read -a KVERS <<< "$(sudo modinfo --field=vermagic redpill.ko)" && cp -fv redpill.ko ../redpill-load/ext/rp-lkm/redpill-linux-v${KVERS[0]}.ko || exit 1 cd .. diff --git a/build-ds918-7.0.1.sh b/build-ds918-7.0.1.sh index b034467..a8a3a14 100644 --- a/build-ds918-7.0.1.sh +++ b/build-ds918-7.0.1.sh @@ -20,7 +20,7 @@ tar -C./apollolake/ -xf ds.apollolake-7.0.dev.txz usr/local/x86_64-pc-linux-gnu/ # build redpill-lkm cd redpill-lkm -make LINUX_SRC=../apollolake/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.0/build +make LINUX_SRC=../apollolake/usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.0/build dev-v7 read -a KVERS <<< "$(sudo modinfo --field=vermagic redpill.ko)" && cp -fv redpill.ko ../redpill-load/ext/rp-lkm/redpill-linux-v${KVERS[0]}.ko || exit 1 cd .. diff --git a/readme.md b/readme.md index df22ebf..3bca1da 100644 --- a/readme.md +++ b/readme.md @@ -1,3 +1,6 @@ +[来自于Izumiko/redpill-loader-action](https://github.com/Izumiko/redpill-loader-action) + + # Building RedPill loader with Github action DS918+ & DS3615xs DSM 7.0.1 loader diff --git a/user_config.DS3615xs.json b/user_config.DS3615xs.json index 3034120..155650b 100644 --- a/user_config.DS3615xs.json +++ b/user_config.DS3615xs.json @@ -5,6 +5,9 @@ "sn": "1130LWN123456", "mac1": "001132123456" }, - "synoinfo": {}, + "synoinfo": { + "supportsystemperature": "no", + "supportsystempwarning": "no" + }, "ramdisk_copy": {} } \ No newline at end of file diff --git a/user_config.DS918+.json b/user_config.DS918+.json index 999480f..d6f0c83 100644 --- a/user_config.DS918+.json +++ b/user_config.DS918+.json @@ -5,6 +5,9 @@ "sn": "17A0PDN123456", "mac1": "001132123456" }, - "synoinfo": {}, + "synoinfo": { + "supportsystemperature": "no", + "supportsystempwarning": "no" + }, "ramdisk_copy": {} } \ No newline at end of file