Re: [Redhat-s390-list] No kernel source RPM (followup question)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 03, 2001 at 05:30:16PM -0700, Michael Durket wrote:
> In an earlier message someone wrote:
> >
> >> Also, the kernel-source RPM for 2.2.19 appears to be missing, though
> >> the 2.4.3 one is present (on ftp.redhat.de).
> >
> 
> and Florian (I believe) replied:
> 
> >ftp://ftp.redhat.de/pub/s390/SRPMS/kernel-2.2.19-0.06.src.rpm is the source.
> >I have disabled the generation of a "kernel-source*.rpm" and do that only
> >for a 2.4 kernel. This can be easily enabled again in the specfile of the
> >source by deleting the "%ifnarch s390" lines for the kernel-source subrpm.
> 
> So, I've just downloaded:
> 
>      ftp://ftp.redhat.de/pub/s390/SRPMS/kernel-2.2.19-0.07.src.rpm.
> 
> Using RPM, I've installed it on my system, but the only specfile entry I can
> find that specifies %ifnarch s390 pertains to rebuilding the entire kernel
> which is not what I would want to do. There doesn't appear to be something
> that rebuilds a kernel-source subrpm.
> 
> Could someone from redhat give more specific instructions about how to create
> just the kernel-sources rpm for 2.2.19-0.07 given the source rpm please?

The following lines are in the specfile:
	%ifnarch i586 i686 sparc64
	# START BASE ARCHES ONLY
	%ifarch i386 alpha sparc

	%files source

Now change "%ifarch i386 alpha sparc" to also include "s390".


> Thanks,

Your welcome,

Florian La Roche




[Index of Archives]     [Fedora General Discussion]     [LKML]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Linux s390]     [Gimp]     [Yosemite News]

  Powered by Linux