[PATCH v2 0/2] kbuild: add target to build a cpio containing modules
From: Ahmad Fatoum
Date: Tue Nov 25 2025 - 08:19:07 EST
---
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/20251115-cpio-modules-pkg-v1-1-01d5a0748442@xxxxxxxxxxxxxx
---
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,
--
Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>