[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <175211423307.2591046.14863142130524442068.stgit@mhiramat.tok.corp.google.com>
Date: Thu, 10 Jul 2025 11:23:53 +0900
From: "Masami Hiramatsu (Google)" <mhiramat@...nel.org>
To: linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org
Cc: Masami Hiramatsu <mhiramat@...nel.org>
Subject: [PATCH 0/3] tools/bootconfig: cleanups and portability updates
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(-)
--
Powered by blists - more mailing lists