From: Andreas Reichel <[email protected]>

In this patch series the following is addressed:

* Some Makefile changes / fixes

* Improve `bg_setenv`'s usability and internal workflow

* Improve API structure & code (file names, avoid global variables,
  remove unneeded lib, increase extensibility, maintainability and
  usability, add functionality for user variables)
  State mapping is removed and the API works with `ustate` itself,
  as does the environment

* Tests are updated

* Update documentation

Signed-off-by: Andreas Reichel <[email protected]>

Andreas Reichel (13):
  Makefile.am: Bugfix for bg_printenv symlink
  tests: Build tests always, run tests on 'make check'
  bg_setenv: Specify output path with --filepath
  env: Rename environment API files
  env: Make backend for environment storage configurable
  env: Make number of config partitions configurable
  ustate: Refactor state variable
  swupdate-adapter: Refactor API
  Combine libraries to one API
  env_api_fat: Fix problem with crc32 testing
  env: Add user variables
  bg_setenv: Use task list, refactor code
  Delete docs/TODO.md and use github issues instead

 Makefile.am                           |  44 +--
 configure.ac                          |  78 +++--
 docs/API.md                           |  22 +-
 docs/COMPILE.md                       |  11 +-
 docs/TODO.md                          |  37 ---
 docs/TOOLS.md                         |  19 +-
 docs/UPDATE.md                        |  64 ++---
 docs/USAGE.md                         |  12 +-
 env/env_api.c                         | 220 +++++++++++++++
 tools/bg_utils.c => env/env_api_fat.c | 380 +++++++++++++++++--------
 env/fatvars.c                         |  54 ++--
 env/uservars.c                        | 267 ++++++++++++++++++
 include/ebgdefs.h                     |  20 --
 include/ebgenv.h                      | 116 ++++++++
 {tools => include}/ebgpart.h          |   0
 tools/bg_utils.h => include/env_api.h |  43 ++-
 include/envdata.h                     |  17 +-
 {tools => include}/test-interface.h   |   2 +-
 include/uservars.h                    |  37 +++
 swupdate-adapter/ebgenv.c             | 458 ------------------------------
 swupdate-adapter/ebgenv.h             |  90 ------
 swupdate-adapter/swupdate.md          | 290 -------------------
 tools/bg_setenv.c                     | 518 ++++++++++++++++++++++------------
 tools/tests/Makefile                  |  79 +++---
 tools/tests/test_api.c                | 262 ++++++++++++-----
 tools/tests/test_environment.c        |   7 +-
 tools/tests/test_partitions.c         |  42 +--
 27 files changed, 1724 insertions(+), 1465 deletions(-)
 delete mode 100644 docs/TODO.md
 create mode 100644 env/env_api.c
 rename tools/bg_utils.c => env/env_api_fat.c (54%)
 create mode 100644 env/uservars.c
 delete mode 100644 include/ebgdefs.h
 create mode 100644 include/ebgenv.h
 rename {tools => include}/ebgpart.h (100%)
 rename tools/bg_utils.h => include/env_api.h (60%)
 rename {tools => include}/test-interface.h (96%)
 create mode 100644 include/uservars.h
 delete mode 100644 swupdate-adapter/ebgenv.c
 delete mode 100644 swupdate-adapter/ebgenv.h
 delete mode 100644 swupdate-adapter/swupdate.md

-- 
2.14.1

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/20170921132111.29035-1-andreas.reichel.ext%40siemens.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to