[PATCH v1 00/10] general cleanup/enhancements

Geoff Levand geoff at infradead.org
Tue Jul 10 07:21:54 AEST 2018


Hi Sam,

Here is a set of patches that has some general cleanup/enhancements.  The only
real functional changes are to use parser_is_unique to eliminate duplicate
boot entries when parsing kboot configs on VFAT, and for the kboot parser to
also look in the /boot directory.  /boot is often on its own disk partition,
and I think it can make system maintenance easier if we allow the kboot config
file to be with the OS image files.

The following changes since commit 6fa0edfb029726968cbacad9d4e193a345956ff3:

  discover: implement a periodic requery for network devices (2018-07-09 15:13:07 +1000)

are available in the git repository at:

  https://github.com/glevand/petitboot--petitboot.git for-merge-discover-1

for you to fetch changes up to a78fc7a260d5cd89405943ce043bc7582d958f18:

  discover/parser: Hookup parser_is_unique (2018-07-09 13:57:53 -0700)

----------------------------------------------------------------
Geoff Levand (10):
      docker: Add libfdt-dev
      configure: Add check for UI build
      lib/log: Add verbose logging routines
      lib/log: Switch to pb_log_fn
      discover: Add --debug to kexec
      discover/kboot-parser: Look in /boot
      discover: Add some debug print messages
      discover/parser: Remove parser_stat_path context
      discover/parser: Add new parser_is_unique
      discover/parser: Hookup parser_is_unique

 configure.ac                  |  7 +++++++
 discover/boot.c               | 30 +++++++++++++++------------
 discover/device-handler.c     |  9 +++++----
 discover/devmapper.c          | 14 ++++++-------
 discover/discover-server.c    |  6 +++---
 discover/event.c              |  8 ++++----
 discover/grub2/blscfg.c       |  2 +-
 discover/grub2/builtins.c     |  4 ++--
 discover/ipmi.c               |  2 +-
 discover/kboot-parser.c       | 19 ++++++++++++++---
 discover/parser.c             | 42 +++++++++++++++++++++++++++++++-------
 discover/parser.h             | 19 ++++++++++++++---
 discover/platform-powerpc.c   |  4 ++--
 discover/platform.c           |  1 +
 discover/pxe-parser.c         |  2 +-
 discover/resource.c           |  2 +-
 discover/syslinux-parser.c    | 47 ++++++++++---------------------------------
 discover/udev.c               |  4 ++--
 discover/user-event.c         | 16 +++++++--------
 docker/Dockerfile.builder     |  1 +
 docker/builder-include        |  2 +-
 lib/file/file.c               |  6 +++---
 lib/flash/flash.c             |  8 ++++----
 lib/log/log.c                 | 36 +++++++++++++++++++++++++++++++++
 lib/log/log.h                 | 11 ++++++++++
 lib/pb-protocol/pb-protocol.c |  8 ++++----
 lib/process/process.c         | 12 +++++------
 lib/security/common.c         |  2 +-
 lib/security/gpg.c            | 26 ++++++++++++------------
 lib/security/openssl.c        | 18 ++++++++---------
 lib/url/url.c                 |  2 +-
 s                             |  0
 ui/common/discover-client.c   | 20 +++++++++---------
 ui/common/joystick.c          |  4 ++--
 ui/common/ps3.c               | 18 ++++++++---------
 ui/common/timer.c             |  2 +-
 ui/common/ui-system.c         |  2 +-
 ui/ncurses/generic-main.c     |  2 +-
 ui/ncurses/nc-cui.c           | 36 ++++++++++++++++-----------------
 ui/ncurses/nc-menu.c          |  8 ++++----
 ui/ncurses/ps3-main.c         |  8 ++++----
 ui/twin/main-generic.c        |  4 ++--
 ui/twin/main-ps3.c            |  2 +-
 ui/twin/pbt-client.c          | 12 +++++------
 ui/twin/pbt-scr.c             | 16 +++++++--------
 45 files changed, 297 insertions(+), 207 deletions(-)
 create mode 100644 s

-- 
2.14.1



More information about the Petitboot mailing list