Skip to content

bootconfig: Update for the recent reports

Masami Hiramatsu lkml 2 versions In review

Get series with b4
b4 am 158220110257.26565.4812934676257459744.stgit@devnote2

Versions newest first · linked by author and title

  1. v2 Latest8 patches 10 repliesIn review
  2. v18 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8bootconfig: Set CONFIG_BOOT_CONFIG=n by defaultinit/Kconfig init/main.c kernel/trace/Kconfig+10 -24 replies
2/8bootconfig: Add bootconfig magic word for indicating bootconfig explicitlyDocumentation/admin-guide/bootconfig.rst include/linux/bootconfig.h init/Kconfig +3 more+49 -170 replies
3/8tools/bootconfig: Remove unneeded error message silencertools/bootconfig/include/linux/printk.h tools/bootconfig/main.c+1 -120 replies
4/8bootconfig: Remove unneeded checksumDocumentation/admin-guide/bootconfig.rst init/Kconfig init/main.c +2 more+16 -562 replies
5/8bootconfig: Reject subkey and value on same parent keyDocumentation/admin-guide/bootconfig.rst lib/bootconfig.c tools/bootconfig/samples/bad-mixed-kv1.bconf +1 more+25 -40 replies
6/8bootconfig: Overwrite value on same key by defaultDocumentation/admin-guide/bootconfig.rst lib/bootconfig.c tools/bootconfig/test-bootconfig.sh+40 -64 replies
7/8bootconfig: Add append value operator supportDocumentation/admin-guide/bootconfig.rst lib/bootconfig.c tools/bootconfig/test-bootconfig.sh+31 -40 replies
8/8bootconfig: Print array as multiple commands for legacy command lineinit/main.c+8 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/8] bootconfig: Update for the recent reports

Hello,

Here is the 2nd version of the bootconfig updates. There are several implementation changes and syntax fix/updates.

This version changed a bit in Kconfig and init/main.c.

- [1/8] Use pr_warn() for warning message. Remove unneeded "default n" line from Kconfig.
- [2/8][4/8] Update Kconfig comment. (data on initrd)

Thank you,

---

Masami Hiramatsu (8):
bootconfig: Set CONFIG_BOOT_CONFIG=n by default
bootconfig: Add bootconfig magic word for indicating bootconfig explicitly tools/bootconfig: Remove unneeded error message silencer
bootconfig: Remove unneeded checksum
bootconfig: Reject subkey and value on same parent key
bootconfig: Overwrite value on same key by default
bootconfig: Add append value operator support
bootconfig: Print array as multiple commands for legacy command line

 Documentation/admin-guide/bootconfig.rst     |   37 +++++++++++-
 include/linux/bootconfig.h                   |    3 +
 init/Kconfig                                 |    3 -
 init/main.c                                  |   54 +++++++-----------
 kernel/trace/Kconfig                         |    3 +
 lib/bootconfig.c                             |   44 +++++++++++----
 tools/bootconfig/include/linux/printk.h      |    5 --
 tools/bootconfig/main.c                      |   77 +++++++++++---------------
 tools/bootconfig/samples/bad-mixed-kv1.bconf |    3 +
 tools/bootconfig/samples/bad-mixed-kv2.bconf |    3 +
 tools/bootconfig/test-bootconfig.sh          |   31 +++++++++-
 11 files changed, 164 insertions(+), 99 deletions(-)
 create mode 100644 tools/bootconfig/samples/bad-mixed-kv1.bconf
 create mode 100644 tools/bootconfig/samples/bad-mixed-kv2.bconf

--
Masami Hiramatsu (Linaro) <[email protected]>