Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[portage] Lista inherited use flags
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
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Sat Dec 25, 2004 6:00 pm    Post subject: [portage] Lista inherited use flags Reply with quote

Scusate per la domanda, probabilmente scontata, ma volevo sapere se è possibile ottenere una lista delle use flag "ereditate", ovvero quelle che vengono imposte al sistema dopo l'emersione di particolari programmi

Un tempo sapevo come fare (in make.profile c'era un file che conteneva la lista dei pacchetti che generavano tali use flags), ora però non ci riesco più...
Qualcuno ha idea di come fare?

Ho dato una scorsa alla documentazione e al forum ma, forse per colpa della fretta o della sbadataggine, non ho trovato niente... quindi non esitate ad appiopparmi un bel RTFM nel caso ce ne fosse bisogno (magari ditemi anche qual'è il fottuto manuale da leggere però :wink: :lol: )
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Mon Dec 27, 2004 4:08 pm    Post subject: Reply with quote

up?
Nessuno che sappia come fare?
un modo poco elegante potrebbe essere un diff fra l'output di emerge info |grep USE e le use flags nel make.conf, tuttavia bisognerebbe mettere anche quelle nel profilo che sono lunghe da raccattare visto che bisogna discendere tutto il "cascading profile"...
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Mon Dec 27, 2004 5:58 pm    Post subject: Reply with quote

Ma intendi le USE che sono settate dal sistema?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Tue Dec 28, 2004 12:00 pm    Post subject: Reply with quote

Hai presente quando emergi un programma come mysql e ti ritrovi la use "mysql" settata di default anche se te non l'avevi messa in make.conf (e prima di emergere quel programma non c'era nemmeno nell'output di emerge info)

Mi pare che si chiamano "inherited use flags" ma non ne sono sicuro...
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Dec 28, 2004 12:52 pm    Post subject: Reply with quote

Cazzantonio wrote:
Mi pare che si chiamano "inherited use flags" ma non ne sono sicuro...


Oibò é vero, /etc/make.profile/use-defaults non c'é più.

Comunque, con l'aiuto di un comodo:

Code:
 strace -o emlog.txt emerge -pv php && grep use\.defaults emlog.txt


si può ricostruire la seguente sequenza di ricerca:

Code:
/usr/portage/profiles/base/use.defaults
/usr/portage/profiles/default-linux/use.defaults
/usr/portage/profiles/default-linux/x86/use.defaults
/usr/portage/profiles/default-linux/x86/2004.0/use.defaults
//etc/portage/profile/use.defaults


A occhio direi che l'ultimo serve se vuoi personalizzare la cosa, mentre gli altri usano il meccanismo dell'ereditarietà: dal più generico al più specifico, e il più specifico sovrascrive il generico.
Inoltre direi che non é vero che /etc/make.profile/use.defaults é sparito... semplicemnte non lo hanno messo perché sarebbe stato vuoto, ma se ci fosse stato sarebbe stato considerato ;-)
_________________
Ciao da me!
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Tue Dec 28, 2004 2:56 pm    Post subject: Reply with quote

buono a sapersi, thanks! :)
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
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