On 5/21/07, Akemi Yagi <amyagi at gmail.com> wrote: > I have done a bit of a search regarding this issue. Turns out the > same problem was reported as early as Feb 2005 on a Fedora list. So > this is not something new, nor CentOS specific. Bad news is that I > have yet to find an answer for this. The only thing I saw in the > search was the same manual editing of .config as we already did as a > temporary solution. > > http://linux.derkeiler.com/Mailing-Lists/Fedora/2005-05/0405.html > > I am still trying to figure out why rpmbuild -bp messes up the first > line of .config. I confirmed that exactly the same thing happens on my FC5 and FC6. This stuff must have been around for quite some time. I had never used rpmbuild for compiling kernels, so did not notice until I saw the OP's posting yesterday. Maybe I should stop writing to this mailing list because this is not a CentOS issue. Will probably file a bug with RedHat's bugzilla if no one has already done it. I suppose not many people use rpmbuild AND modify the kernel options. Akemi