You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/clientupdate
Andrew Lytvynov 2247011787
clientupdate: parse /etc/synoinfo.conf to get CPU arch (#8940) (#8950)
The hardware version in `/proc/sys/kernel/syno_hw_version` does not map
exactly to versions in
https://github.com/SynoCommunity/spksrc/wiki/Synology-and-SynoCommunity-Package-Architectures.
It contains some slightly different version formats.

Instead, `/etc/synoinfo.conf` exists and contains a `unique` line with
the CPU architecture encoded. Parse that out and filter through the list
of architectures that we have SPKs for.

Tested on DS218 and DS413j.

Updates #8927

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
10 months ago
..
clientupdate.go clientupdate: parse /etc/synoinfo.conf to get CPU arch (#8940) (#8950) 10 months ago
clientupdate_test.go clientupdate: parse /etc/synoinfo.conf to get CPU arch (#8940) (#8950) 10 months ago
clientupdate_windows.go cmd/tailscale/cli,clientupdate: extract new clientupdate package (#8827) 10 months ago