Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge nach /usr/local
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Gentoopfuscher
n00b
n00b


Joined: 21 Aug 2010
Posts: 59

PostPosted: Sun Apr 07, 2013 7:49 am    Post subject: emerge nach /usr/local Reply with quote

Hallo,ich suche nach einer moeglichkeit,den emerge Befehl so auszufuehren,dass automatisch /usr/local als installationsordner benutzt wird.

Am liebsten will ich einer bestimmten Gruppe das emergen nach /usr/local erlauben, doch nirgends wo anders hin.

Wie kann ich das machen?

Danke schonmal.
Back to top
View user's profile Send private message
greggel
n00b
n00b


Joined: 14 Nov 2004
Posts: 40
Location: Bonn/Germany

PostPosted: Tue Apr 09, 2013 11:13 pm    Post subject: Reply with quote

Ohne das install prefix in den Ebuilds zu veraendern? Ich denke mit portage 2.2 geht das ueber /etc/portage/package.env und /etc/portage/env/<package-name>

Siehe http://wiki.gentoo.org/wiki//etc/portage/env
Back to top
View user's profile Send private message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 508

PostPosted: Wed Apr 10, 2013 7:59 am    Post subject: Reply with quote

Ich vermute, Du willst eine "Testinstallation" haben, die Du jederzeit "wegschmeißen" kannst. "native" kriegt man das so nicht sauber hin. Besser ist es ein "Changeroot" anzulegen. Das kriegst Du wie folgt hin:

Code:
mkdir /usr/local/testing
ROOT="/usr/local/testing" emerge -va glibc nano


Die Glibc muss auf jeden Fall installiert sein, denn sie wird in jedem System vorausgesetzt und nicht als Abhängigkeit gezogen. Das Ausführen der Applikation entsprechend mit
Code:
chroot /usr/local/testing /bin/nano


Wenn Du andere Einstellungen in der make.conf ausprobieren willst, kriegst Du das mit PORTAGE_CONFIGROOT=/usr/local/testing hin. Dann muss jedoch /usr/local/testing/etc/portage/* existieren.
Back to top
View user's profile Send private message
Gentoopfuscher
n00b
n00b


Joined: 21 Aug 2010
Posts: 59

PostPosted: Fri Apr 12, 2013 7:09 pm    Post subject: Reply with quote

Genau, dass will ich, oder eben anderen Leuten erlauben, etwas auf meinem PC/Laptop zu installieren,
das man irgendwann auch wieder sauber wegschmeissen kann.
Aber die letzte Idee ist gut, ich probiere sie mal aus, danke.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sat Apr 13, 2013 9:30 am    Post subject: Reply with quote

Vielleicht ist prefix-portage etwas für Dich? Ich schätze, auch gentoo kann als host dienen...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum