[RFC PATCH] Switch to including config-* instead of kernel-*.config

Jarod Wilson jwilson at redhat.com
Wed Jul 11 17:37:23 UTC 2007


The attached patch switches the kernel rpm over from including the
current static kernel-*.config files to instead including the config-*
files that are actually in cvs.

It means we don't leave kernel-*.config droppings all over the place
(following a rebase, its entirely too easy to end up with
kernel-2.6.21-*.config and kernel-2.6.22-*.config files laying about,
which can sometimes cause odd things to happen), and we don't modify
SOURCE files in %prep (see bug 232602), which could otherwise result in
repacking an srpm with the same n-v-r with different kernel-*.config
files. As a bonus, along the way, this cleans up a number of rpmlint
warnings (though there are still a TON to poke at).

In the future, this would also make life easier for the RHEL6 and later
maintainers, as we typically prefer config changes against the config-*
files, rather than against the kernel-*.config files, but (most) non-rh
folks don't have cvs access to get at the config-* files right now.

Thus far, the only real downside is that it requires moving all the
config-* files up to the root of the kernel cvs dir, which is 1) a bit
messy and 2) results in losing prior versioning history on those files,
since cvs blows.

(For the record, I've also done a number of successful builds w/this
patch now.)

Comments appreciated!

-- 
Jarod Wilson
jwilson at redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dynamic_kernel_config_files.patch
Type: text/x-patch
Size: 13534 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-kernel-list/attachments/20070711/031c711f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-kernel-list/attachments/20070711/031c711f/attachment.sig>


More information about the Fedora-kernel-list mailing list