Unify clockmaker and pinup; and some other stuff
Mark Atwood, Project Manager
mark.atwood at ntpsec.org
Fri Sep 7 02:56:02 UTC 2018
Thank you Mike! Please submit the PEP8 MR after you've fixed the merge
conflict. I will review your existing MRs.
On Thu, Sep 6, 2018 at 6:50 PM MIKE MAJOR via devel <devel at ntpsec.org>
wrote:
> Hi everyone,
>
> I'd like to tell you what I've been working on. I submitted MRs for the
> HOWTO section numbering and the other adds the Pi Model 3B+ to clockmaker.
>
> I have 2 other branches that I haven't submitted MR for yet. One is PEP8
> clean up on clockmaker. There will be at least one merge conflict here,
> assuming the Model 3B+ h/w MR is accepted first. I was waiting to submit so
> I could fix that before submitting the MR. If you want me to submit the MR
> and you deal with the conflict, I can do that.
>
> I have another branch in the queue. It creates directories and permissions
> on /var/lib/ntp & /var/log/ntpstats in clockmaker. These directories are
> not created by clockmaker. Evidence of the missing directories were the
> errors showing up in the log files. One is rather important as that is
> where the driftfile is kept. Oddly enough, the HOWTO text has the
> directories in there already. If the HOWTO section numbers existed, I could
> point you there that way. Suffice it to say it is in the section
> "Smoke-test NTPsec".
>
> Over the last couple of days, I've been playing with merging pinup and
> clockmaker. I've gotten pretty far, though it is still incomplete. Below is
> a copy/paste from the terminal. I've just been developing on the Pi. I
> haven't branched/pushed up to my fork yet. The '--gpio' argument is new. It
> performs the pinup function.
>
> pi at raspberrypi:~ $ ./clockmaker
> Please specify a configuration stage argument:
> --config = basic SBC configuration
> --build = build timeservice software (generate ntp.conf)
> --update = update timeservice software (don't change ntp.conf)
> --install = install timeservice software
> --mask = create and enable non-default user
> --secure = secure the timeserver
> --strip = strip out unneeded services
> --gpio = configure GPIO pin
> pi at raspberrypi:~ $
> pi at raspberrypi:~ $ ./clockmaker --gpio
> non-root user - display status only
> hostname: raspberrypi
> SBC: Raspberry Pi
> Revision: Pi 3 Model B+
> GPIO: Adafruit
> pi at raspberrypi:~ $
> pi at raspberrypi:~ $ sudo ./clockmaker --gpio
> root user - changes are allowed
> hostname: raspberrypi
> SBC: Raspberry Pi
> Revision: Pi 3 Model B+
> GPIO: Adafruit
>
> A = Adafruit
> U = Uputronics
> S = SKU 42425
> Select a (new) HAT or Enter to skip:
>
>
> Thanks,
> Mike
> _______________________________________________
> devel mailing list
> devel at ntpsec.org
> http://lists.ntpsec.org/mailman/listinfo/devel
>
--
Mark Atwood
http://about.me/markatwood
+1-206-604-2198
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180906/037f9f8a/attachment-0001.html>
More information about the devel
mailing list