Stock kernels
Michael K. Johnson
johnsonm at redhat.com
Tue Aug 19 17:53:13 UTC 2003
On Tue, Aug 19, 2003 at 01:07:49PM -0400, Mike A. Harris wrote:
>On Tue, 19 Aug 2003, Maynard Kuona wrote:
> >Like recently, the kernel.org kernels will not build because of
> >how Redhat split rpm into rpm and rpmbuild.
>
> I don't quite understand what you're saying here. kernel.org
> kernels compile just fine on Red Hat Linux. Not sure what your
> link to rpm is, except perhaps a misunderstanding.
Probably looked at an old kernel.org Makefile. Here's current pieces:
...
RPM := $(shell if [ -x "/usr/bin/rpmbuild" ]; then echo rpmbuild; \
else echo rpm; fi)
...
rpm: clean spec
find . \( -size 0 -o -name .depend -o -name .hdepend \) -type f -print | xargs rm -f
set -e; \
cd $(TOPDIR)/.. ; \
ln -sf $(TOPDIR) $(KERNELPATH) ; \
tar -cvz --exclude CVS -f $(KERNELPATH).tar.gz $(KERNELPATH)/. ; \
rm $(KERNELPATH) ; \
cd $(TOPDIR) ; \
. scripts/mkversion > .version ; \
$(RPM) -ta $(TOPDIR)/../$(KERNELPATH).tar.gz ; \
rm $(TOPDIR)/../$(KERNELPATH).tar.gz
So you can see that rpmbuild is accounted for.
michaelkjohnson
"He that composes himself is wiser than he that composes a book."
Linux Application Development -- Ben Franklin
http://people.redhat.com/johnsonm/lad/
More information about the fedora-test-list
mailing list