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



Robert L Cochran wrote:


For a kernel build, does doing this make sense? Or should I be installing
to /usr/src/redhat/SOURCES and /usr/src/redhat/SPECS?
I think that's never a good idea




It depends. ;) Why are you installing the kernel source RPM?

For a single-user box, you can just chown /usr/src/redhat to your packaging identity and do all packaging under the system default packaging tree. If you have multiple packagers sharing a host, give each his own packaging tree in his home directory.

"Installing" a source RPM is conceptually the same as unpacking a source tarball, in the sense that it's unpacking an archive that must then be passed through translators to convert it into a binary object suitable for installation. There's nothing special about the kernel source RPM that justifies giving it special treatment.


I'm installing kernel source because I want to fool with the stacks option needed by the ndiswrapper driver, which in turn may help ndiswrapper to work correctly with the Buffalo AirStation WLI-CB-G54A wireless network PC card I want to pop into my laptop. I also want to fool with kernel builds for the heck of it. And finally, because these will let me get a good measure of how fast my Athlon X2 dual core processor is. And although I just have a single user system it seems safer to do the build in my home directory. As I haven't done a kernel build in at least a couple of years, I am sure I can be entirely wrong.

Good reasons all. I generally create .rpmmmacros containing something like this: %_topdir /home/summer/redhat

and create the necessary directories:
mkdir -p ~/redhat/{BUILD,RPMS,SOURCES,SPECS,SRPMS}






--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxxxxxxxxx
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/

do not reply off-list

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Can anyone please help me to package my Acc 2000 program?
    ... the the target program folder,where it was installed.Even when i unhided all ... And this is what im looking for.This method of packaging or installation ... that the main mdb file be convertedafter installing and ... > that when you package your app, you also package any dependencies your app ...
    (microsoft.public.access.forms)
  • Re: py2exe/distutils: how to include a tree of files?
    ... "data_files" is documented in the official distutils documentation. ... building, installing, and packaging (source and py2exe). ...
    (comp.lang.python)
  • Re: Installing kernel-.src.rpm under my own build root
    ... Which I want to install in the rpm build root in my home directory (so it ... For a kernel build, ... identity and do all packaging under the system default packaging tree. ... "Installing" a source RPM is conceptually the same as unpacking a source ...
    (Fedora)
  • Deployment of Office XP SP3 for Access 2002 Runtime
    ... the SP3 for Access 2002 Runtime packaging in case it will ... database application to a deployment machine. ... installing the application on the deployment machine, ... from a machine that has been updated to SP3 for Runtime. ...
    (microsoft.public.access.devtoolkits)
  • Re: ./configure command
    ... would have some mysterious problem with installing a non-packaged ... packaging packages as rpms on rpm based systems. ... will generally find someone who can provide the spec file to be included ...
    (Fedora)