Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Layman] impossible d'utiliser les overlay (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
amroth
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2008
Posts: 123

PostPosted: Tue Aug 26, 2008 8:58 am    Post subject: [Layman] impossible d'utiliser les overlay (résolu) Reply with quote

Bonjour,
J'ai installé Layman, ainsi que des overlay mais je n'arrive pas à y acceder.
toutes les commandes de layman (layman -f , -l , -a, -S) fonctionnent.
Et dans /etc/make.conf j'ai bien "source /usr/portage/local/layman/make.conf"

Lors d'un emerge info j'ai :
Code:

PORTDIR_OVERLAY="/usr/local/portage"

et dans /usr/portage/local/layman/make.conf j'ai :
Code:

PORTDIR_OVERLAY="
/usr/portage/local/layman/swegener
/usr/portage/local/layman/zugaina
/usr/portage/local/layman/kde
$PORTDIR_OVERLAY
"


Merci pour votre aide!

edit : dans /etc/make.conf il y a :
Code:

source /usr/portage/local/layman/make.conf
PORTDIR_OVERLAY=/usr/local/portage


Et si jamais je supprime PORTDIR_OVERLAY=/usr/local/portage alors je peux acceder aux overlay


Last edited by amroth on Wed Aug 27, 2008 7:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
YetiBarBar
Guru
Guru


Joined: 23 Dec 2005
Posts: 532

PostPosted: Tue Aug 26, 2008 9:14 am    Post subject: Reply with quote

Bonjour,

Supprime la ligne dans ton make.conf qui écrase la définition du PORTDIR_OVERLAY faite dans /usr/local/....

Si vraiment, tu veux rajouter une ligne dans le make.conf, il faudriat écrire quelquechose du goût:

Code:
PORTDIR_OVERLAY="$PORTDIR_OVERLAY ton_nouveau_chemain"


PS: /usr/local/portage/layman, ce n'est vraisemblablement pas bon pour un chemin d'overlay

EDIT: tu as finalement trouvé la solution tout seul!
Back to top
View user's profile Send private message
amroth
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2008
Posts: 123

PostPosted: Tue Aug 26, 2008 9:26 am    Post subject: Reply with quote

oé merci!
Sinon pour "/usr/portage/local/layman" c'est celui de la doc, et sinon "/usr/local/portage" est indépendant de l'arbre pourquoi ne serait-ce pas bon???
Back to top
View user's profile Send private message
YetiBarBar
Guru
Guru


Joined: 23 Dec 2005
Posts: 532

PostPosted: Tue Aug 26, 2008 9:55 am    Post subject: Reply with quote

Code:
/usr/local/portage/
n'est généralement pas bon si tu utilises layman car celui-ci te me les overlays dans un répertoire du nom de l'overlay (et chez moi, ils sont placé dans /usr/local/portage/nom_de_ton_overlay.

A la rigueur, tu pourrais créer un overlay perso dans ce répertoire, mais dans ce cas, il faudrait placer le
Code:
source /usr/....
après la logne PORTDIR_OVERLAY de ton /etc/make.conf
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3636
Location: Belgium

PostPosted: Tue Aug 26, 2008 10:11 am    Post subject: Reply with quote

Attention : la localisation des fichiers layman semble avoir changé à partir de la version 1.2.0 !
Avant 1.2.0 ==> /usr/portage/local/layman...
Depuis 1.2.0 ==> /usr/local/portage/layman...

Voir /etc/layman/layman.cfg
(Note : c'est vrai que c'est en contradiction avec ce qui est affirmé dans la doc !)

Il faut donc en tenir compte lorsqu'on lit les docs et adapter les fichiers de conf en conséquence ! ;)

amroth wrote:
edit : dans /etc/make.conf il y a :
Code:

source /usr/portage/local/layman/make.conf
PORTDIR_OVERLAY=/usr/local/portage


Et si jamais je supprime PORTDIR_OVERLAY=/usr/local/portage alors je peux acceder aux overlay


En fait, les 2 lignes sont interverties, ce qui fait que l'instruction "PORTDIR_OVERLAY" écrase ce qui a été généré par l'instruction "source ..."
Il faudrait :
Code:

PORTDIR_OVERLAY=/usr/local/portage/mon_overlay
source /usr/local/portage/layman/make.conf

De cette manière, la dernière ligne de /usr/local/portage/layman/make.conf va rajouter le PORTDIR_OVERLAY initial.

[Edit] Correction chemin dans la dernière phrase


Last edited by ghoti on Tue Aug 26, 2008 10:37 am; edited 1 time in total
Back to top
View user's profile Send private message
amroth
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2008
Posts: 123

PostPosted: Tue Aug 26, 2008 10:29 am    Post subject: Reply with quote

Merci pour vos réponses!
Donc pour layman , ma version est antérieur à la 1.2 donc pour l'instant je dois laisser tel que c'est chez moi je pense,
et effectivement en intervertissant les 2 lignes dans mon make.conf c'est une petite alternative a ce qu'a dit YetiBarBar!
Merci pour votre aide!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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