Skip to content

kbuild: add target to build a cpio containing modules

Ahmad Fatoum linux-kbuild lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20251115-cpio-modules-pkg-70d85a69892b

Versions newest first

  1. v2 Latest2 patches 5 repliesApplied
  2. v11 patch 7 repliesSuperseded

Changes in v2 from the cover letter

- Add Simon's Tested-by and Reviewed-by
- rename to modules-cpio-pkg (Nathan)
- add separator/doc comment heading (Thomas)
- Make temp directory ignoring and cleanup automatic (Thomas)
- Use CONFIG_SHELL instead of shebang (Thomas)
- Use -o instead of redirecting stdout when creating cpio (Thomas)
- Drop superfluous -f as $(build)= overrides it (Thomas)
- Add extra preparatory patch that makes hostprogs := gen_init_cpio
unconditional
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2initramfs: add gen_init_cpio to hostprogs unconditionallyusr/Makefile+2 -21 reply
2/2kbuild: add target to build a cpio containing modulesscripts/Makefile.package+20 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSimon GlassNathan ChancellorThomas WeißschuhNicolas Schier
SeriesR-b T-b R-b
1/2R-b
2/2R-b T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] kbuild: add target to build a cpio containing modules

---
Changes in v2:
- Add Simon's Tested-by and Reviewed-by
- rename to modules-cpio-pkg (Nathan)
- add separator/doc comment heading (Thomas)
- Make temp directory ignoring and cleanup automatic (Thomas)
- Use CONFIG_SHELL instead of shebang (Thomas)
- Use -o instead of redirecting stdout when creating cpio (Thomas)
- Drop superfluous -f as $(build)= overrides it (Thomas)
- Add extra preparatory patch that makes hostprogs := gen_init_cpio
unconditional
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Ahmad Fatoum (1):
initramfs: add gen_init_cpio to hostprogs unconditionally

Sascha Hauer (1):
kbuild: add target to build a cpio containing modules

 scripts/Makefile.package | 20 ++++++++++++++++++++
 usr/Makefile             |  4 ++--
 2 files changed, 22 insertions(+), 2 deletions(-)

---
base-commit: e9a6fb0bcdd7609be6969112f3fbfcce3b1d4a7c
change-id: 20251115-cpio-modules-pkg-70d85a69892b

Best regards,

Signature · 1 line
Ahmad Fatoum <[email protected]>