Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst] layman Overlay + lokales Overlay
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
Fijoldar
Apprentice
Apprentice


Joined: 10 Apr 2013
Posts: 248

PostPosted: Thu May 02, 2013 11:48 am    Post subject: [gelöst] layman Overlay + lokales Overlay Reply with quote

Hallo,

ich habe hier ein kleines Problem. Ich möchte sowohl ein lokales Overlay nutzen als auch mit layman welche einbinden. Leider funktionieren seit ich in meine make.conf
Code:
PORTDIR_OVERLAY="/usr/local/portage/overlay ${PORTDIR}"

eingefügt habe, die Overlays mit layman nicht mehr, d.h. ein eix-sync liefert mir nur

Code:
 [...]

 * Starte eix-update
Lese Portage-Konfiguration...
Erzeuge Datenkbank (/var/cache/eix/portage.eix) ...
[0] "gentoo" /usr/portage/ (Cache: metadata-md5-or-flat)
     Lese Category 159|159 (100%) Fertig               
[1] "lokal" /usr/local/portage/overlay (Cache: parse|ebuild*#metadata-md5#metadata-flat#assign)
     Lese Category 159|159 (100%) Fertig       
Maskiere Pakete...
Berechne Hash-Tabellen...
Schreibe Datenbankfile /var/cache/eix/portage.eix...
Datenbank enthält 16321 Pakete in 159 Kategorien.
 * Starte eix-diff
Vergleiche Datenbanken (16321 -> 16321 Pakete)
 * Benötigte Zeit:
    33 Sekunden für syncen
     8 Sekunden für eix-update
     2 Sekunden für eix-diff
    43 Sekunden insgesamt


Dabei habe ich noch 2 Overlay mit layman eingebunden:
Code:
$ layman -l

 * elementary              [Git       ] (git://github.com/pimvullers/elementary.git                     )
 * steam                     [Git       ] (git://github.com/anyc/steam-overlay.git                         )


Meine make.conf sieht folgendermaßen aus:
Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="-bindist kde qt4 mmx sse sse2 opengl X lcdfilter truetype alsa -bluetooth dvb udev networkmanager"
MAKEOPTS="-j4"
LINGUAS="de"
VIDEO_CARDS="nvidia"
INPUT_DEVICE="evdev"
PYTHON_TARGETS="python2_7"
USE_PYTHON="2.7"

source /var/lib/layman/make.conf
PORTDIR_OVERLAY="/usr/local/portage/overlay ${PORTDIR}"


Ich habe versucht, etwas darüber in den Gentoo Wikis und Dokumentationen zu finden, allerdings habe ich noch nichts passendes gefunden.

Was mache ich falsch? Wäre für einen Schubs in die richtige Richtung dankbar :-)

Gruß
Fijoldar


EDIT: Ups, habe den Fehler gerade selbst gefunden. Der Eintrag muss natürlich so lauten:
Quote:
PORTDIR_OVERLAY="/usr/local/portage/overlay ${PORTDIR_OVERLAY}"
. Entschuldigt bitte diesen unnötigen Thread.
Back to top
View user's profile Send private message
cryptosteve
Veteran
Veteran


Joined: 04 Jan 2004
Posts: 1169
Location: GER

PostPosted: Thu May 02, 2013 12:24 pm    Post subject: Reply with quote

Ich finde den Thread nicht unnötig, denn da weiss ich beim nächsten mal wenigstens, wo ich suchen kann, wenn ich ein ähnliches Problem habe. :)
_________________
- born to create drama -
gpg: 0x9B6C7E15
CS Virtual Travel Bug: VF6G5D
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4520
Location: Germany

PostPosted: Thu May 02, 2013 12:28 pm    Post subject: Reply with quote

Hallo Fijoldar,
eine weitere Alternative ist das du
source /var/lib/layman/make.conf
unter bzw nach
PORTDIR_OVERLAY
setzt.

In deinen Beispiel also etwa
Code:
PORTDIR_OVERLAY="/usr/local/portage/overlay"
source /var/lib/layman/make.conf


Aber tröste dich, da sind schon einige Leute drüber gestolpert ;)
Back to top
View user's profile Send private message
Fijoldar
Apprentice
Apprentice


Joined: 10 Apr 2013
Posts: 248

PostPosted: Thu May 02, 2013 12:52 pm    Post subject: Reply with quote

Das mit der Reihenfolge ist ja interessant. Vielen Dank! Ich wusste bis eben noch gar nicht, dass es da auch auf die Reihenfolge ankommt. Man lernt immer wieder mal etwas dazu. Ein Gentoo ist irgendwie schon was tolles ;-).
Back to top
View user's profile Send private message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 508

PostPosted: Thu May 02, 2013 6:59 pm    Post subject: Reply with quote

Ich habe es wie folgt gelöst:

Code:
source /usr/local/portage/layman/make.conf

PORTDIR_OVERLAY="
/usr/local/crossdev-overlay
$PORTDIR_OVERLAY
/usr/local/overlay
"

Damit kann ich auch die "Rangfolge" zwischen den Overlays bestimmen. Crossdev immer vorne und lokal immer zum schluss...
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