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

Marciniszyn, Mike
2013-07-08T11:55:08Z

> 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.
>

In v2 of the patch.

>
> These symlinks should be part of the RPM payload.
>

This is also in v2 of the same patch. The %post and %postun scriptlets are no longer there.

These is one minor oddity in that the symlinks are in the main package because of that packages file selection. Those symlinks will dangle until the devel package is installed.

It might be possible to adjust the file lists of both, but I was wary of creating a more explicit list in the main package because of a potential maintenance issue as "install" payload changes.

Mike