From: Reichel Andreas <[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]> Reichel Andreas (12): 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 Makefile.am | 40 +-- configure.ac | 43 ++- docs/API.md | 22 +- docs/COMPILE.md | 6 +- docs/TODO.md | 24 -- docs/TOOLS.md | 19 +- docs/UPDATE.md | 62 ++-- 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 | 266 +++++++++++++++++ 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 | 16 +- {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 | 517 ++++++++++++++++++++++------------ tools/tests/Makefile | 43 +-- tools/tests/test_api.c | 262 ++++++++++++----- tools/tests/test_environment.c | 7 +- tools/tests/test_partitions.c | 42 +-- 27 files changed, 1673 insertions(+), 1418 deletions(-) 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/20170905082734.11233-1-andreas.reichel.ext%40siemens.com. For more options, visit https://groups.google.com/d/optout.
