[PATCH] kernel.spec: xz compress modules on i686 and x86_64

Josh Boyer jwboyer at fedoraproject.org
Wed May 7 16:13:24 UTC 2014


On Wed, May 07, 2014 at 12:02:08PM -0400, Kyle McMartin wrote:
> On Wed, May 07, 2014 at 11:51:09AM -0400, Josh Boyer wrote:
> > Right.  So the kmod.prov script got moved to redhat-rpm-config.  I'll
> > look at getting it fixed to strip off the .xz to generate the proper
> > Provides as Kyle suggested in his other reply.
> > 
> 
> One thing I thought about earlier, was hardcoding the debuginfo phase
> earlier, and then compressing the modules. That way, we could sign the
> modules as part of the kernel build, and not have to have this hack

Hardcoding as is moving the call to find-debuginfo.sh from the install
to the build phase?  Or literally rolling our own in the build section?
Just curious.

(As an aside, we actually do sign the modules as part of the kernel
build already.  The config options are setup that way.  The signatures
just get stripped later, which makes us sign them again.  I left it that
way in case people are using the Fedora configs to build kernels from
git, and it doesn't increase the build time because ARM dominates that.)

> (since by the time find-debuginfo.sh runs "For real" we've compressed
>  the modules and they'll not be touched.) Possibly worth investigating
> rather than continuing our gross hardcode of __debug_install_post.

Yeah, I'm intrigued.  Particularly if it results in the debuginfo
stripping becoming a parallel thing...

josh


More information about the kernel mailing list