Re: Installing kernel-<version>.src.rpm under my own build root

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

 



Tony Nelson wrote:
At 7:00 PM -0500 1/9/06, Robert L Cochran wrote:
I have this kernel file downloaded to ~
[[email protected] ~]$ ls -al kernel*
-rw-rw-r--  1 rlc rlc 40523094 Jan  9 18:53 kernel-2.6.14-1.1656_FC4.src.rpm

Which I want to install in the rpm build root in my home directory (so
it is not in /usr/src/redhat/SOURCES):

drwxrwxr-x   7 rlc  rlc       4096 Jan  5 00:36 rpmbuild
-rw-rw-r--   1 rlc  rlc        135 Jan  5 00:36 .rpmmacros

For a kernel build, does doing this make sense? Or should I be
installing to /usr/src/redhat/SOURCES and /usr/src/redhat/SPECS?
Since you have the rpmbuild stuff set up, something like:

    $ rpmbuild --recompile -bp --target i6867 kernel-2.6.14-1.1656_FC4.src.rpm

will install the source.  --rebuild or --recompile are needed in order to
work from a src.rpm rather than a specfile.
How does one use a custom config with rebuild? I need to turn on a
bunch of things (moxa driver for instance).

--
Linux Home Automation         Neil Cherry       [email protected]
http://www.linuxha.com/                         Main site
http://linuxha.blogspot.com/                    My HA Blog
http://home.comcast.net/~ncherry/               Backup site


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

  Powered by Linux