git: dsynth - pty CRs, readelf, better log formatting

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Aug 23 17:02:49 PDT 2019


commit a574cbf0776dcaa58c1afa1bb55140bd34067f99
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Aug 23 16:06:59 2019 -0700

    dsynth - pty CRs, readelf, better log formatting
    
    * Remove CR's from build logs (set tty modes on the pty).
    
    * Parse 'readelf -x .note.tag /bin/sh' to get the operating
      system and __DragonFly_version... basically the release name.
      Compare the operating system name against what we get back
      from the system as a validator.
    
    * Improve the log format to make it more readable.  Certain elements such
      as statistics and times are right-justified.
    
    * Filter certain log lines from stdout when curses mode is turned off.
    
    * Highlight stdout lines for SUCCESS in green and FAILURE and red.

Summary of changes:
 usr.bin/dsynth/build.c  |  81 +++++++++++++++++++-----------
 usr.bin/dsynth/config.c | 127 +++++++++++++++++++++++++++++++++++++++---------
 usr.bin/dsynth/dsynth.c |   5 ++
 usr.bin/dsynth/dsynth.h |  11 +++++
 usr.bin/dsynth/mount.c  |   8 +--
 usr.bin/dsynth/status.c |   9 ++--
 usr.bin/dsynth/subs.c   |  48 ++++++++++++++++--
 7 files changed, 228 insertions(+), 61 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a574cbf0776dcaa58c1afa1bb55140bd34067f99


-- 
DragonFly BSD source repository



More information about the Commits mailing list