diff --git a/docker/syno-compiler/files/opt/do.sh b/docker/syno-compiler/files/opt/do.sh index 60b03966..4a0f36e9 100755 --- a/docker/syno-compiler/files/opt/do.sh +++ b/docker/syno-compiler/files/opt/do.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -set -e +set -eo pipefail ############################################################################### function export-vars() { @@ -27,6 +27,7 @@ function export-vars() { function shell() { cp -fv /opt/${2}/build/.config /opt/${2}/source/ cp -fv /opt/${2}/build/System.map /opt/${2}/source/ + cp -fv /opt/${2}/build/Module.symvers /opt/${2}/source/ export-vars $2 shift 2 bash -l $@ @@ -55,8 +56,7 @@ function compile-module { cp -R /input /tmp export-vars ${PLATFORM} PARMS="${PLATFORM^^}-Y=y ${PLATFORM^^}-M=m" - if [ -f "/tmp/input/defines.${1}" ] - then + if [ -f "/tmp/input/defines.${1}" ]; then PARMS+=" `cat "/tmp/input/defines.${1}" | xargs`" fi make -j`nproc` -C "/opt/${PLATFORM}/build" M="/tmp/input" ${PARMS} modules diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS1520+.yml b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS1520+.yml index 762b8d86..473d348c 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS1520+.yml +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS1520+.yml @@ -6,6 +6,7 @@ synoinfo: &synoinfo rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" + #supportraidgroup: "no" cmdline: &cmdline intel_iommu: igfx_off HddEnableDynamicPower: 1 diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS1621+.yml b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS1621+.yml index 99460a94..4a65a290 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS1621+.yml +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS1621+.yml @@ -6,6 +6,7 @@ synoinfo: &synoinfo rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" + #supportraidgroup: "no" cmdline: &cmdline SMBusHddDynamicPower: 1 syno_hdd_powerup_seq: 0 diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS2422+.yml b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS2422+.yml index 26c913ff..adf68e43 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS2422+.yml +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS2422+.yml @@ -2,12 +2,12 @@ id: "DS2422+" synoinfo: &synoinfo support_disk_compatibility: "no" support_memory_compatibility: "no" - supportraidgroup: "no" supportssdcache: "no" support_led_brightness_adjustment: "no" rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" + #supportraidgroup: "no" cmdline: &cmdline SMBusHddDynamicPower: 1 vender_format_version: 2 diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS3615xs.yml b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS3615xs.yml index 598aaab0..7b4be2cd 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS3615xs.yml +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS3615xs.yml @@ -2,13 +2,13 @@ id: "DS3615xs" synoinfo: &synoinfo support_disk_compatibility: "no" support_memory_compatibility: "no" - supportraidgroup: "no" supportssdcache: "no" esataportcfg: "0x0" usbportcfg: "0x8700" support_led_brightness_adjustment: "no" rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" + #supportraidgroup: "no" cmdline: &cmdline syno_hdd_powerup_seq: 0 HddHotplug: 0 diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS3617xs.yml b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS3617xs.yml index 4cb36892..a0c46b3f 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS3617xs.yml +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS3617xs.yml @@ -2,13 +2,13 @@ id: "DS3617xs" synoinfo: &synoinfo support_disk_compatibility: "no" support_memory_compatibility: "no" - supportraidgroup: "no" supportssdcache: "no" esataportcfg: "0x00" usbportcfg: "0x8700" support_led_brightness_adjustment: "no" rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" + #supportraidgroup: "no" cmdline: &cmdline syno_hdd_powerup_seq: 0 HddHotplug: 0 diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS3622xs+.yml b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS3622xs+.yml index 9f8aa6d6..058a0177 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS3622xs+.yml +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS3622xs+.yml @@ -9,6 +9,7 @@ synoinfo: &synoinfo rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" # http://update7.synology.com/autoupdate/genRSS.php rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" # https://update7.synology.com/autoupdate/genRSS.php rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" # https://update7.synology.com/autoupdate/v2/getList + #supportraidgroup: "no" cmdline: &cmdline syno_hdd_powerup_seq: 0 HddHotplug: 0 diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS918+.yml b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS918+.yml index d570b116..d964fc40 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS918+.yml +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS918+.yml @@ -9,7 +9,8 @@ synoinfo: &synoinfo rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" - #support_ssd_cache: yes + #support_ssd_cache: "yes" + #supportraidgroup: "no" cmdline: &cmdline syno_hdd_powerup_seq: 0 HddHotplug: 0 diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS920+.yml b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS920+.yml index ff773c26..c3d43fae 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS920+.yml +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS920+.yml @@ -6,6 +6,7 @@ synoinfo: &synoinfo rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" + #supportraidgroup: "no" cmdline: &cmdline intel_iommu: "igfx_off" HddEnableDynamicPower: 1 diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS923+.yml b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS923+.yml index 1f0d1713..705ac200 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/DS923+.yml +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/DS923+.yml @@ -6,6 +6,7 @@ synoinfo: &synoinfo rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" + #supportraidgroup: "no" cmdline: &cmdline SMBusHddDynamicPower: 1 synoboot2: diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/DVA1622.yml b/files/board/arpl/overlayfs/opt/arpl/model-configs/DVA1622.yml index e4de2533..8dcb75c7 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/DVA1622.yml +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/DVA1622.yml @@ -7,6 +7,7 @@ synoinfo: &synoinfo rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" + #supportraidgroup: "no" cmdline: &cmdline intel_iommu: "igfx_off" HddEnableDynamicPower: 1 diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/DVA3219.yml b/files/board/arpl/overlayfs/opt/arpl/model-configs/DVA3219.yml index 56f8790e..9ee0ea8c 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/DVA3219.yml +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/DVA3219.yml @@ -10,6 +10,7 @@ synoinfo: &synoinfo rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" + #supportraidgroup: "no" cmdline: &cmdline syno_hdd_powerup_seq: 0 HddHotplug: 0 diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/DVA3221.yml b/files/board/arpl/overlayfs/opt/arpl/model-configs/DVA3221.yml index 802ddb74..6349a0cb 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/DVA3221.yml +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/DVA3221.yml @@ -1,13 +1,14 @@ id: "DVA3221" synoinfo: &synoinfo support_disk_compatibility: "no" - support_memory_compatibility: "no" + support_memory_compatibility: "yes" esataportcfg: "0x00" support_bde_internal_10g: "no" support_led_brightness_adjustment: "no" rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" + #supportraidgroup: "no" cmdline: &cmdline syno_hdd_powerup_seq: 0 HddHotplug: 0 diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/FS2500.yml b/files/board/arpl/overlayfs/opt/arpl/model-configs/FS2500.yml index bc8b9a54..5a55b89f 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/FS2500.yml +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/FS2500.yml @@ -6,6 +6,7 @@ synoinfo: &synoinfo rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" + #supportraidgroup: "no" cmdline: &cmdline intel_iommu: igfx_off SMBusHddDynamicPower: 1 diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/RS4021xs+.yml b/files/board/arpl/overlayfs/opt/arpl/model-configs/RS4021xs+.yml index a31deace..e88ed276 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/RS4021xs+.yml +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/RS4021xs+.yml @@ -6,10 +6,10 @@ synoinfo: &synoinfo esataportcfg: "0x0" support_led_brightness_adjustment: "no" support_syno_hybrid_raid: "yes" - supportraidgroup: "no" rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" + #supportraidgroup: "no" cmdline: &cmdline syno_hdd_powerup_seq: 0 HddHotplug: 0 diff --git a/files/board/arpl/overlayfs/opt/arpl/model-configs/SA6400.yml.disabled b/files/board/arpl/overlayfs/opt/arpl/model-configs/SA6400.yml.disabled index 191c9d79..e39eda22 100644 --- a/files/board/arpl/overlayfs/opt/arpl/model-configs/SA6400.yml.disabled +++ b/files/board/arpl/overlayfs/opt/arpl/model-configs/SA6400.yml.disabled @@ -6,6 +6,7 @@ synoinfo: &synoinfo rss_server: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_ssl: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.xml" rss_server_v2: "https://raw.githubusercontent.com/fbelavenuto/arpl/main/rss.json" + #supportraidgroup: "no" cmdline: &cmdline SMBusHddDynamicPower: 1 synoboot2: