From ced07edfa73b7954fa8aad99d3f0553d421acb84 Mon Sep 17 00:00:00 2001 From: Giovanni Francesco Solone Date: Fri, 12 May 2023 15:26:53 +0200 Subject: [PATCH] Add compatibility with syno_hw_version `DS216j-j`. (#44) --- test/get_arch.bats | 1 + update-plex.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/test/get_arch.bats b/test/get_arch.bats index abf6ce5..58bc941 100644 --- a/test/get_arch.bats +++ b/test/get_arch.bats @@ -77,6 +77,7 @@ setup() { run get_arch armv7 DS216play; [[ "$output" == "armv7hf_neon" ]] run get_arch armv7 DS216play-j; [[ "$output" == "armv7hf_neon" ]] run get_arch armv7 DS216j; [[ "$output" == "armv7hf_neon" ]] + run get_arch armv7 DS216j-j; [[ "$output" == "armv7neon" ]] run get_arch armv7 DS216se; [[ "$output" == "armv7hf" ]] run get_arch armv7 DS116; [[ "$output" == "armv7hf_neon" ]] } diff --git a/update-plex.sh b/update-plex.sh index 22d9a7a..3aaf081 100755 --- a/update-plex.sh +++ b/update-plex.sh @@ -210,6 +210,7 @@ function get_arch() { model_machine_map[DS115j]=armv7hf model_machine_map[RS815]=armv7hf model_machine_map[DS216se]=armv7hf + model_machine_map[DS216j-j]=armv7neon model_machine_map[DS215jv10-j]=armv7hf_neon if [[ "${model_machine_map[$hw_version]+_}" ]]; then arch=${model_machine_map[$hw_version]}