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

Michal Marek
2013-07-08T12:12:46Z

On 8.7.2013 13:55, Marciniszyn, Mike wrote:
>> 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.

You can say '%exclude /some/path' to exclude a path that would otherwise
match an earlier pattern. But I do not know since when RPM supports
this. If there is a risk of breaking make rpm on older systems, then
let's leave it as is.

Michal