RE: [PATCH 3/3] kbuild: add generation of kernel-devel

Marciniszyn, Mike
2013-07-05T13:11:29Z

> For consistency and compatibility with older tar versions, please use
> $RCS_TAR_EXCLUDE instead of --exclude-vcs. Also, you only need .config,
> scripts/, include/ and the Makefiles to build external modules. But that's an
> optimization that can be done in a later patch.
>

I can't find any reference to the above string in kernel Makefiles or tar info?

Do you have more details?

> > +echo "%post devel"
> > +echo "cd /lib/modules/$KERNELRELEASE"
> > +echo "ln -sf /usr/src/kernels/$KERNELRELEASE build"
> > +echo "ln -sf /usr/src/kernels/$KERNELRELEASE source"
> > +echo ""
> > +echo "%postun devel"
> > +echo "cd /lib/modules/$KERNELRELEASE"
> > +echo "rm -f build source"
>
> These symlinks should be part of the RPM payload.

I guess the %post* sections would then be not needed...

Mike