Roland McGrath wrote:
Oops, I accidentally checked in my Makefile too. So I guess I'll
just
assume you thought its changes were good. ;-)
This one copies some extras-style boilerplate that is necessary if you have
a whole-tree checkout of /cvs/pkgs/rpms. It does not give you individual
foobar/common/ checkouts like it will if you do "cvs co foobar", and the
old extras style was for everything to use your single common/ checkout at
the top. This is now the standard boilerplate apparently, which every
formerly Core package needs to work with whole-tree checkouts.
The rest (cvs diff -r 1.49 -r 1.50 Makefile) is all additions at the end.
You can use "make vanilla-x86_64" or "make vanilla-prep" or whatnot,
and various git/blah targets. The details were previously discussed here,
and are in comments in the makefile additions.
So I finally got around to poking at these bits again myself (in
relation to bug 240878), but ran into an issue with a vanilla/nopatches
build:
$ rpmbuild -bb --with baseonly --define 'nopatches 1' kernel-2.6.spec
RPM build errors:
File not found:
/data/buildroot/tmp/kernel-2.6.21-1.3243.fc8-root-x86_64/usr/src/debug/kernel-vanilla-2.6.21/linux-2.6.21.x86_64
There exists a .../debug/kernel-2.6.21/linux-2.6.21.x86_64 though.
(Looking into it more now, but figured I'd throw it out there, in case
someone already knows what's up).
Also, anyone have thoughts on re-versioning, at least in the vanilla
case, so as to more accurately describe what's being built? For example,
the above is 2.6.22-rc4-git6, so I'm a fan of the package that gets
churned out being kernel-vanilla-2.6.22-0.1.rc4.git6.fc8 or some such
thing, instead of kernel-vanilla-2.6.21-1.3243.fc8.
--
Jarod Wilson
jwilson(a)redhat.com