Hi,

This series provides several cleanups and updates to the bootconfig
tool and its selftest script. The main goals are to enhance portability,
improve robustness, and clean up the shell script implementation.

[1/3] focuses on portability by replacing GNU-specific commands like
stat, and truncate in the test-bootconfig.sh script with their
POSIX-compliant alternatives (wc, and dd).

[2/3] continues the portability effort by replacing most echo calls
with the more reliable printf command to ensure consistent behavior
across different shells.

[3/3] cleans up the C code in main.c by introducing a macro for the
bootconfig footer size, making the size calculations clearer and
easier to maintain.

Thanks,

---

Masami Hiramatsu (Google) (3):
      tools/bootconfig: Improve portability
      tools/bootconfig: Replace some echo with printf for more portability
      tools/bootconfig: Cleanup bootconfig footer size calculations


 tools/bootconfig/main.c             |   19 +++++++++++--------
 tools/bootconfig/test-bootconfig.sh |   33 +++++++++++++++++----------------
 2 files changed, 28 insertions(+), 24 deletions(-)

--


Reply via email to