Skip to content

RPM enhancements for kbuild

Mike Marciniszyn linux-kbuild 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3kbuild: add %post section to create initramfs and grub hooksscripts/package/mkspec+9 -01 reply
2/3kbuilld: install firmware files in kernel relative directoryscripts/package/mkspec+5 -41 reply
3/3kbuild: add generation of kernel-develscripts/package/mkspec+26 -015 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] RPM enhancements for kbuild

This series of patches enhances the kernel RPM mechanism as follows:
- executes /sbin/installkernel in a %post
- installs the firmware into a KERNELRELEASE specific directory
- adds a kernel-devel package

The installkernel allows for booting the target server after the RPM has been installed. A "make install" would have done that.

The unique firmware directory avoids conflicts with distribution firmware rpm's as recommended by Doug Ledford.

The kernel-devel package allows for external module builds against the kernel. A "make modules" install would have supported such a build on a single server. The capability is lost through the rpm mechanism because the build server source directory is no longer appropriate for the target server.

---

Mike Marciniszyn (3):
kbuild: add %post section to create initramfs and grub hooks
kbuilld: install firmware files in kernel relative directory
kbuild: add generation of kernel-devel

 scripts/package/mkspec |   44 ++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 40 insertions(+), 4 deletions(-)
Signature · 1 line
Mike