File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 2020 - Skip unknown section or key when restoring settings. #336
2121 - Fix space detection in various forms inputs.
2222 - Fix broken form input validation patterns. #353
23+ - Fix some issues with Orange Pi Zero images. #361
2324### Security
2425 - Update of various python modules.
2526 - Apply some restrictions on RTKBase services. #341
Original file line number Diff line number Diff line change @@ -310,6 +310,18 @@ upd_2.4.2() {
310310 echo ' ####################'
311311 apt-get update -y --allow-releaseinfo-change
312312 apt-get --fix-broken install # needed for old installation (raspi image v2.1 from july 2020)
313+ # only for Orange Pi Zero, disable sysstats-collect (https://github.com/Stefal/build/issues/14)
314+ # and update hostapd if error (https://github.com/Stefal/build/issues/15)
315+ computer_model=$( tr -d ' \0' < /sys/firmware/devicetree/base/model)
316+ sbc_array=(' Xunlong Orange Pi Zero' )
317+ if printf ' %s\0' " ${sbc_array[@]} " | grep -Fxqz -- " ${computer_model} "
318+ then
319+ echo ' Masking sysstat-collect.timer service and upgrading hostapd'
320+ systemctl mask sysstat-collect.timer
321+ dpkg -s hostapd | grep -q ' Version: 2:2.9' && apt-get upgrade hostapd
322+ rm -r /var/log/sysstat/
323+ fi
324+ # end of Orange Pi Zero section
313325 ${destination_directory} /tools/install.sh --user " ${standard_user} " --dependencies --rtkbase-requirements --unit-files
314326 # upgrade rtklib to b34h
315327 upgrade_rtklib
You can’t perform that action at this time.
0 commit comments