I've rewritten sclockadj in C
https://github.com/JasonJAyalaP/sclockadj/blob/master/sclockadj.c
- Unless there's something else using them, we no longer need the ruby packages (compiler, libraries).
- Update the sdwdate package to compile sclockadj (gcc sclockadj -o sclockadj) (look at https://github.com/Whonix/bindp for an example on how to package simple compiled code for Whonix)
- Sdwdate's invocation of sclockadj needs to be changed to
cmd = [ "sudo", "/usr/lib/sdwdate/sclockadj", str(self.newdiff_nanoseconds)]
(plus the inline and --noninteractive lines if still necessary)