Re: Kernel sources script

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

 



Hi Alexander,

On Thu, Jan 06, 2005 at 07:15:04PM +0100, Alexander Dalloz wrote:
> > #build the source tree
> > cd /usr/src/redhat/SPECS/
> > rpmbuild -v -v -bp --target=`uname -m` kernel-2.6.spec
> > cp 
> > -f /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/configs/kernel-2.6.9-i686.config /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/.config
> 
> Dave Jones recently pointed out here on the list that the
> kernel-2.6.9-i686.config is a suggestion and does not necessarily must
> match the config of the kernel you installed above. You want an example?

That's a reason to not use --target noarch, e.g. the above would work
in reproducing a kernel sources tree actually used by Red Hat (he will
not see a difference in the diff like you do).

If you use --target noarch you get config files that are _recommended_
by Red Hat as a basis for creating custom kernels. There the
CONFIG_DEBUG switches have been changed. If you use --target no-noarch
;) then the config files remain untouched.

so it depends on what you need the kernel sources for, creating kernel
modules for Red Hat shipped kernels (the don't use noarch), or
creating your own kernels (use noarch).
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpJmDgMgp5eU.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux