File tree 4 files changed +8
-2
lines changed
4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 3
3
## [ 2.6.1] - not released
4
4
### Added
5
5
### Changed
6
+ - More tests before installing prebuilt RTKLib cli tools.
6
7
### Deprecated
7
8
### Removed
8
9
### Fixed
10
+ - Build rtklib if previous installed release is not working. #418
9
11
- Insert new release into settings.conf before restarting services. #411
10
12
- Custom web_port setting was not used. #419
11
13
- Cellular modem: nmcli connection was not updated after a switch to public ip address.
Original file line number Diff line number Diff line change 2
2
3
3
[general]
4
4
# Version
5
- version=2.6.0
5
+ version=2.6.1
6
6
# Rtkbase upgrade mandatory "checkpoint"
7
7
checkpoint_version=2.7.0
8
8
# User who runs str2str_file service
Original file line number Diff line number Diff line change @@ -167,7 +167,8 @@ install_rtklib() {
167
167
# test if computer_model in sbc_array (https://stackoverflow.com/questions/3685970/check-if-a-bash-array-contains-a-value)
168
168
if printf ' %s\0' " ${sbc_array[@]} " | grep -Fxqz -- " ${computer_model} " \
169
169
&& [[ -f " ${rtkbase_path} " ' /tools/bin/rtklib_b34j/' " ${arch_package} " ' /str2str' ]] \
170
- && lsb_release -c | grep -qE ' buster|bullseye|bookworm'
170
+ && lsb_release -c | grep -qE ' bullseye|bookworm' \
171
+ && " ${rtkbase_path} " ' /tools/bin/rtklib_b34j/' " ${arch_package} " /str2str --version > /dev/null 2>&1
171
172
then
172
173
echo ' Copying new rtklib binary for ' " ${computer_model} " ' - ' " ${arch_package} "
173
174
cp " ${rtkbase_path} " ' /tools/bin/rtklib_b34j/' " ${arch_package} " /str2str /usr/local/bin/
Original file line number Diff line number Diff line change @@ -200,7 +200,10 @@ upd_2.5.0 () {
200
200
}
201
201
202
202
upd_2.6.0 () {
203
+ # update modem_check_service file (see https://github.com/Stefal/rtkbase/commit/cfad1981e483d74da04f53b8d7b354661100d610)
203
204
" ${destination_directory} " /tools/install.sh --user " ${standard_user} " --unit-files
205
+ # build rtklib if current release doesn't work
206
+ " ${destination_directory} " /tools/install.sh --user " ${standard_user} " --rtklib
204
207
}
205
208
206
209
# check if we can apply the update
You can’t perform that action at this time.
0 commit comments