-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all.. I am trying to get RPM to install the kernel source in a different location. Usally they end up in /usr/src as expected, but i want them in /some/other/place I rtfm, but i cant figure out how to redirect the files... How to? - -- /Rikard - ------------------------------------------------------------------------------------ Rikard Johnels email : rjhn@linux.nu Web : http://www.rikjoh.com Mob : +46 70 464 99 39 - ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE+9GOrWdS2eEYc7lYRAmb5AKCDtbKnHcOj/rsF9WPz1iIBCznN1QCeMf6o uRcZ5upcBzVgx4RBDk4kg54= =GivV -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 21 June 2003 15.54, Rikard Johnels wrote:
Hello all..
I am trying to get RPM to install the kernel source in a different location. Usally they end up in /usr/src as expected, but i want them in /some/other/place I rtfm, but i cant figure out how to redirect the files...
How to? --
I tried: # rpm -i --relocate /usr/src/=/extra/hdd/OS/SuSE/axp/kernel/ linux-2.4.19-3.alpha.rpm error: failed dependencies: gcc is needed by linux-2.4.19-3 # rpm -i --nodeps --relocate /usr/src/=/extra/hdd/OS/SuSE/axp/kernel/ linux-2.4.19-3.alpha.rpm package linux-2.4.19-3 is for a different architecture path /usr/src is not relocateable for package linux-2.4.19-3 # rpm -i --nodeps --ignoreos --relocate /usr/src/=/extra/hdd/OS/SuSE/axp/kernel/ linux-2.4.19-3.alpha.rpm package linux-2.4.19-3 is for a different architecture path /usr/src is not relocateable for package linux-2.4.19-3 # rpm -i --nodeps --ignoreos --badreloc --relocate /usr/src/=/extra/hdd/OS/SuSE/axp/kernel/ linux-2.4.19-3.alpha.rpm package linux-2.4.19-3 is for a different architecture I am out of ideas here.... - -- /Rikard - ------------------------------------------------------------------------------------ Rikard Johnels email : rjhn@linux.nu Web : http://www.rikjoh.com Mob : +46 70 464 99 39 - ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE+9GYUWdS2eEYc7lYRAtEqAKD/5d6Flc2ih8HvPPCzG92rJ7LmVgCdEQxk pAl93iDdR8RJCTejaaG4a94= =p9gH -----END PGP SIGNATURE-----
Hi, Am Samstag, 21. Juni 2003 16:05 schrieb Rikard Johnels:
I tried: # rpm -i --relocate /usr/src/=/extra/hdd/OS/SuSE/axp/kernel/ linux-2.4.19-3.alpha.rpm
[...] I'm under the impression that you expect to install the sources - only they would be installed below /usr/src by default. The package you want to install instead contains the AXP kernel binary and modules ...
I am out of ideas here....
If you really want to install this AXP package on a non-AXP machine, you should try --ignorearch. One other thing: would it be possible to export your pgp key to a public key server? Or simply don't sign your list mails. Greetings from Bremen hartmut
On Saturday 21 June 2003 17.30, Hartmut Meyer wrote:
Hi,
Am Samstag, 21. Juni 2003 16:05 schrieb Rikard Johnels:
I tried: # rpm -i --relocate /usr/src/=/extra/hdd/OS/SuSE/axp/kernel/ linux-2.4.19-3.alpha.rpm
[...]
I'm under the impression that you expect to install the sources - only they would be installed below /usr/src by default. The package you want to install instead contains the AXP kernel binary and modules ...
I am out of ideas here....
If you really want to install this AXP package on a non-AXP machine, you should try --ignorearch.
One other thing: would it be possible to export your pgp key to a public key server? Or simply don't sign your list mails.
Greetings from Bremen hartmut
It's supposed to be the kernelsources. ? Or did i miss something. I want to export the sourcetree via NFS. As the Alpha's i have is supposed to have a very minimal instalation. The discs are to small to hold all the compilers, and sources.. I have tried exporting the signature to servers via the Kgpg aplet. It doesnt allow me to. I keep getting "gpgkeys: WARNING: this is an *experimental* HKP interface!" So i dont know how to... I have uploaded it to http://www.rikjoh.com/dustpuppy/rikjoh-public-key.asc in the meantime -- /Rikard ------------------------------------------------------------------------------------ Rikard Johnels email : rjhn@linux.nu Web : http://www.rikjoh.com Mob : +46 70 464 99 39 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 > ( http://www.rikjoh.com/dustpuppy/rikjoh-public-key.asc)
On Saturday 21 June 2003 18.10, Rikard Johnels wrote: --a few things removed---
I have tried exporting the signature to servers via the Kgpg aplet. It doesnt allow me to. I keep getting "gpgkeys: WARNING: this is an *experimental* HKP interface!" So i dont know how to...
I have uploaded it to http://www.rikjoh.com/dustpuppy/rikjoh-public-key.asc in the meantime
--
I managed via the webinterface on pgp.mit.edu :) So hopefully the key is available worldwide soon. Excuses for the inconvenience... :/ -- /Rikard ------------------------------------------------------------------------------------ Rikard Johnels email : rjhn@linux.nu Web : http://www.rikjoh.com Mob : +46 70 464 99 39 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
Hi, Am Samstag, 21. Juni 2003 18:10 schrieb Rikard Johnels:
On Saturday 21 June 2003 17.30, Hartmut Meyer wrote:
Am Samstag, 21. Juni 2003 16:05 schrieb Rikard Johnels:
I tried: # rpm -i --relocate /usr/src/=/extra/hdd/OS/SuSE/axp/kernel/ linux-2.4.19-3.alpha.rpm
[...]
I'm under the impression that you expect to install the sources - only they would be installed below /usr/src by default. The package you want to install instead contains the AXP kernel binary and modules ...
I am out of ideas here....
If you really want to install this AXP package on a non-AXP machine, you should try --ignorearch.
One other thing: would it be possible to export your pgp key to a public key server? Or simply don't sign your list mails.
It's supposed to be the kernelsources. ?
The package "linux-2.4.19-3.alpha.rpm" is (my guess) the kernel image and the modules compiled for AXP. I would imagine that the kernel souce is identical to that of the i386 platform. At least it has an "alpha"next to a "i386" (and many others) directory below /usr/src/linux/arch. If that is correct, you could use the kernel source package "kernel-source" for both your i386 and your AXP platform based machines.
Or did i miss something. I want to export the sourcetree via NFS. As the Alpha's i have is supposed to have a very minimal instalation. The discs are to small to hold all the compilers, and sources..
The compilers are different story. You will need a AXP specific package for those of course.
I have tried exporting the signature to servers via the Kgpg aplet. It doesnt allow me to. I keep getting "gpgkeys: WARNING: this is an *experimental* HKP interface!" So i dont know how to...
Could it be you have been trying to _import_ your own key ;-) Call the kgpg "key server dialog" and then choose the tab "export". There you choose your key that you wish to export and press button "export". That should do. Greetings from Bremen hartmut
On Saturday 21 June 2003 19.03, Hartmut Meyer wrote:
Hi,
Am Samstag, 21. Juni 2003 18:10 schrieb Rikard Johnels:
On Saturday 21 June 2003 17.30, Hartmut Meyer wrote:
Am Samstag, 21. Juni 2003 16:05 schrieb Rikard Johnels:
I tried: # rpm -i --relocate /usr/src/=/extra/hdd/OS/SuSE/axp/kernel/ linux-2.4.19-3.alpha.rpm
[...]
I'm under the impression that you expect to install the sources - only they would be installed below /usr/src by default. The package you want to install instead contains the AXP kernel binary and modules ...
I am out of ideas here....
If you really want to install this AXP package on a non-AXP machine, you should try --ignorearch.
One other thing: would it be possible to export your pgp key to a public key server? Or simply don't sign your list mails.
It's supposed to be the kernelsources. ?
The package "linux-2.4.19-3.alpha.rpm" is (my guess) the kernel image and the modules compiled for AXP.
I would imagine that the kernel souce is identical to that of the i386 platform. At least it has an "alpha"next to a "i386" (and many others) directory below /usr/src/linux/arch.
If that is correct, you could use the kernel source package "kernel-source" for both your i386 and your AXP platform based machines.
Or did i miss something. I want to export the sourcetree via NFS. As the Alpha's i have is supposed to have a very minimal instalation. The discs are to small to hold all the compilers, and sources..
The compilers are different story. You will need a AXP specific package for those of course.
I have tried exporting the signature to servers via the Kgpg aplet. It doesnt allow me to. I keep getting "gpgkeys: WARNING: this is an *experimental* HKP interface!" So i dont know how to...
Could it be you have been trying to _import_ your own key ;-)
Call the kgpg "key server dialog" and then choose the tab "export". There you choose your key that you wish to export and press button "export". That should do.
Greetings from Bremen hartmut
I know that the sources most often are "complete", but if i "mix" axp and x86 i cant config the other platform directly. I want the conigs to be seperate. As for the keyserver, i DID try to export the keys. Even via shell i get the same result. -- /Rikard ------------------------------------------------------------------------------------ Rikard Johnels email : rjhn@linux.nu Web : http://www.rikjoh.com Mob : +46 70 464 99 39 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
Rikard Johnels
I know that the sources most often are "complete", but if i "mix" axp and x86 i cant config the other platform directly. I want the conigs to be seperate.
Then for heavens sake just copy the existing kernel source tree somewhere else with 'cp -a /usr/src/linux /where/you/want/the/copy' and run 'make mrproper' in the copy. Now you have a clean copy you can easily export via nfs. What's so difficult about that? Philipp
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 21 June 2003 20.44, Philipp Thomas wrote:
Rikard Johnels
[Sat, 21 Jun 2003 19:15:35 +0200]: I know that the sources most often are "complete", but if i "mix" axp and x86 i cant config the other platform directly. I want the conigs to be seperate.
Then for heavens sake just copy the existing kernel source tree somewhere else with 'cp -a /usr/src/linux /where/you/want/the/copy' and run 'make mrproper' in the copy. Now you have a clean copy you can easily export via nfs. What's so difficult about that?
Philipp
NOTHING.. But i want to LEARN! I solved it by other means (NFS munting the /usr/src/ and then rpm -Uvh <kernerlsource>) - -- /Rikard - ------------------------------------------------------------------------------------ Rikard Johnels email : rjhn@linux.nu Web : http://www.rikjoh.com Mob : +46 70 464 99 39 - ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE+9KqSWdS2eEYc7lYRAswVAKDvFOXnKiFkvSn9Y7D/EWo2hrYRQwCdFw1X IokQQmE+WSLk3trsfmVObPY= =vt0P -----END PGP SIGNATURE-----
Rikard Johnels
But i want to LEARN!
I do understand that, as I've in part gone that same road. But I normally take the easier way if it exists. In your case I would have simply opened the rpm with mc and then copied the source tree where I wanted it.
I solved it by other means (NFS munting the /usr/src/ and then rpm -Uvh <kernerlsource>)
Which you could have had easier :) Now you've got an rpm registered in the rpm database without actually having installed it on the same system. Philipp
Rikard Johnels
linux-2.4.19-3.alpha.rpm
This seems to be the binary kernel not the source. a simple rpm -qlp linux-2.4.19-3.alpha.rpm Will show you whether it's the binary kernel or the kernel source. Either way, when you have a non relocatable rpm, there is no way to put it somewhere else. IF it's really the source, I'd use either mc to view the rpm and then copy the interesting part somewhere else or use rpm2cpio to unpack the contents to where I want it. For the latter see 'man rpm2cpio'. Philipp -- Philipp Thomas work: pthomas@suse.de SuSE Linux AG private: philipp.thomas@t-link.de
Op zaterdag 21 juni 2003 15:54, schreef Rikard Johnels:
I am trying to get RPM to install the kernel source in a different location. Usally they end up in /usr/src as expected, but i want them in /some/other/place I rtfm, but i cant figure out how to redirect the files...
create the file ~/.rpmmacros e.g. richard@pilchard:~> cat ~/.rpmmacros %_topdir /home/richard/packages %_tmppath /tmp In this case the packages end up in /home/richard/packages/SPECS and .../SOURCES. You of course need to create the directories: BUILD RPMS SOURCES SPECS SRPMS -- Richard Bos Without a home the journey is endless
Richard Bos
create the file ~/.rpmmacros
e.g. richard@pilchard:~> cat ~/.rpmmacros %_topdir /home/richard/packages %_tmppath /tmp
In this case the packages end up in /home/richard/packages/SPECS and .../SOURCES. You of course need to create the directories: BUILD RPMS SOURCES SPECS SRPMS
Neat trick, but it won't work with the kernel source as it isn't a .src.rpm. Philipp
participants (4)
-
Hartmut Meyer
-
Philipp Thomas
-
Richard Bos
-
Rikard Johnels