Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
due domandine su portage...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
tuxer
Guru
Guru


Joined: 10 May 2004
Posts: 328

PostPosted: Wed May 04, 2005 10:07 am    Post subject: due domandine su portage... Reply with quote

Visto che non trovo chiedo qui, e ne approfitto per essere veramente IN :D

E' possibile dire a portage di installare un pacchetto SEMPRE in una root diversa da / e automaticamente??
Cioè da man make.conf ho visto che ROOT c'è come variabile, però è possibile settare in un file questa impostazione?
tipo sys-apps/kernel ROOT=/mnt/kernel

In man portage non ho trovato nulla, ma magari qualche trucco nascosto lo permette...
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Wed May 04, 2005 10:13 am    Post subject: Reply with quote

credo che il man sia aitoesplicativo:
Quote:
ROOT = [path]
Use ROOT to specify the target root filesystem to be used for
merging packages or ebuilds. Typically, you should set this
setting in the environment rather than in /etc/make.conf itself.
It's typically used for creating new build images.
Defaults to /.

il problema è che attuvando questa opzione TUTTI i pacchetti nuovi che emergi ci finiscono, quindi "tipicamente" non viene usata.
se la imposti emergi il pacchetto che ti serve e la togli non vedo che problemi possano esserci. a parte questo... a che ti serve? nel senso è una cosa molto particolare se uno ne sente la necessità qualcosa "bolle in pentola!"
Back to top
View user's profile Send private message
tuxer
Guru
Guru


Joined: 10 May 2004
Posts: 328

PostPosted: Wed May 04, 2005 10:16 am    Post subject: Reply with quote

Non serve a me anche se comunque mi interessava...
Naturalmente non la metterei in make.conf, mi domandavo solo se era possibile mettere dei settaggi locali per i pacchetti oltre che per le use e le keywords anche per altre opzioni, non è proprio possibile?
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Wed May 04, 2005 10:24 am    Post subject: Reply with quote

che io sappia no anche perchè il make.conf è in pratica un file make che racoglie tutti i makefile di ogni pacchetto. se vuoi modificare la destinazione di un singolo pacchetto credo che tu debba editare a mano il makefile in questione. oppure ti puoi fare un piccolo script che inserisce nel make.conf la linea da te richiesta se il nome del pacchetto da emergere è contenuto in un file... che ne so una cosa tipo /etc/portage/packages.keywords

questa (che ho scritto) secondo me è tutta fantainformatica. non saprei andare oltre perchè le mie conoscenze non sono un granchè soprattutto a livello di scripting.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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