We need a HOWTO build from git head

Achim Gratz Stromeko at nexgo.de
Sun Mar 31 07:52:58 UTC 2019


Hal Murray via devel writes:
> Context is a helpful user who found a bug in the version of our code from his 
> distro and wants to test a fix but isn't familiar with git or gitlab etc.

This is what I do on each new rasPi or TinkerBoard:

--8<---------------cut here---------------start------------->8---
git clone https://gitlab.com/NTPsec/ntpsec.git
cd ntpsec && sudo ./buildprep
echo "1 SHA1" $(base64 /dev/urandom | tr -d '+/=' | head -c 20) | sudo tee /etc/ntp.keys && sudo chmod 600 /etc/ntp.keys && sudo chown ntp:ntp /etc/ntp.keys
sudo rm /run/ntp.conf.dhcp /etc/dhcp/dhclient-exit-hooks.d/ntp
sudo mkdir -p /var/log/ntpstats && sudo chown ntp.ntp /var/log/ntpstats
./waf configure --refclock=nmea,pps,local,generic,shm --prefix=/usr --enable-early-droproot
./waf build && sudo ./waf install && sudo systemctl restart ntp && watch -n 5 'ntpq -uW92 -c rv -c peers -c "cv &1" -c "cv &2" -c "cv &3" ; cat /sys/devices/virtual/thermal/thermal_zone0/temp'
--8<---------------cut here---------------end--------------->8---


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada



More information about the devel mailing list