How to build kernel-sourcecode-2.6.8-1.525
Paul W. Frields
paul at frields.com
Sat Aug 21 17:49:45 UTC 2004
On Sat, 2004-08-21 at 13:13, Martin Gansser wrote:
> > > i tried to build kernel-sourcecode-2.6.8-1.525
> > > from src.rpm with the following command:
> > >
> > > rpmbuild --rebuild --target=i686-linux kernel-2.6.8-1.525.src.rpm
> >
> > easiest is to install the src.rpm and then to do
> >
> > rpmbuild -bp --target=i686 kernel-2.6.spec on the thus created specfile.
> >
> i installed the src.rpm
> rpm -ivh kernel-2.6.8-1.525.src.rpm
>
> with rpmbuild -bp --target=i686 kernel-2.6.spec
> this are the last few message:
> ...
> removed `./init/main.c.orig'
> + find . -name '*~' -exec rm -fv '{}' ';'
> + exit 0
>
> but no kernel-sourcecode-2.6.8-1.525.root.noarch.rpm
> was build.
Do:
rpm -ivh kernel-2.6.8-1.525.src.rpm
cd `rpm --eval "%_topdir"`
rpmbuild -bb --target=noarch SPECS/kernel-2.6.spec
--
Paul W. Frields, RHCE
More information about the fedora-devel-list
mailing list