View previous topic :: View next topic |
Author |
Message |
Fijoldar Apprentice
Joined: 10 Apr 2013 Posts: 248
|
Posted: Mon May 20, 2013 11:06 am Post subject: [gelöst] Verständnisfrage zu Keywords |
|
|
Hallo,
ich habe hier mal ein paar kleinere Fragen zu den Keywords. Bisher fahre ich (bis auf eine Ausnahme) haupsächlich Gentoo stable und benutze die Datei
Code: | /etc/portage/package.accept_keywords |
um Programme für Testing freizuschalten. Das klappt soweit auch wunderbar. Jetzt lese ich nur ab und zu mal (in Anleitungungen, Wikis) etwas von einer package.keywords Datei bzw. einem package.keywords Ordner, in dem weitere Dateien vorhanden sind. Worin besteht denn da der Unterschied zu meiner package.accept_keywords Datei?
Macht es Sinn, sowohl eine package.accept_keywords Datei als auch eine package.keywords Datei zu haben? Da meine package.accept_keywords Datei nämlich langsam ziemlich groß und unübersichtlich wird, überlege ich mir das alles in einen Ordner auszulagern. Es ist denn egal, wie diese Dateien in diesem Ordner heißen? D.h. ich hätte z.B. statt einer Datei den Ordner package.accept_keywords und darin Dateien beliebigen Namens, z.B. kde, gnome.
Konkret geht es mir darum, einmal Unity unter Gentoo zu testen --> https://forums.gentoo.org/viewtopic-p-7099272.html
Da genau dort von einer etwas anderen Keywords Struktur ausgegangen wird, interessiert es mich mal, was da genau der Unterschied ist.
Schonmal vielen Dank!
Gruß
Fijoldar
Last edited by Fijoldar on Mon May 20, 2013 9:10 pm; edited 1 time in total |
|
Back to top |
|
|
py-ro Veteran
Joined: 24 Sep 2002 Posts: 1734 Location: Velbert
|
Posted: Mon May 20, 2013 1:13 pm Post subject: |
|
|
Ist nur der alte Name und generell kannst halt auch Ordner mit Dateien verwenden, wenn du das weiter gruppieren willst.
Bye
Py |
|
Back to top |
|
|
renegart Tux's lil' helper
Joined: 30 Oct 2012 Posts: 122
|
Posted: Mon May 20, 2013 8:33 pm Post subject: Re: Verständnisfrage zu Keywords |
|
|
Fijoldar wrote: |
Macht es Sinn, sowohl eine package.accept_keywords Datei als auch eine package.keywords Datei zu haben? Da meine package.accept_keywords Datei nämlich langsam ziemlich groß und unübersichtlich wird, überlege ich mir das alles in einen Ordner auszulagern. Es ist denn egal, wie diese Dateien in diesem Ordner heißen? D.h. ich hätte z.B. statt einer Datei den Ordner package.accept_keywords und darin Dateien beliebigen Namens, z.B. kde, gnome.
|
Ob es Sinn macht, weiß ich nicht. Es ist aber möglich 'package.*' sowohl als Verzeichnis als auch Datei parallel zu nutzen. Man sollte sich nur im Klaren sein, dass es unter Umständen etwas komplizierter wird, wenn man alles Durcheinander nutzt. Stichwort: doppelte Einträge -> Pakete bleiben aktiv, obwohl man vermeintlich das keyword gelöscht/das packet de-/maskiert hat.
Ansonsten können innerhalb des Verzeichnis die Dateien beliebige Namen haben. |
|
Back to top |
|
|
Fijoldar Apprentice
Joined: 10 Apr 2013 Posts: 248
|
Posted: Mon May 20, 2013 9:10 pm Post subject: |
|
|
Vielen Dank für die Antworten. Damit ist meine Frage hinreichend geklärt. |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4555 Location: Germany
|
Posted: Wed May 22, 2013 5:40 pm Post subject: |
|
|
Fijoldar,
schaue dazu am besten auch immer mal in die Manpages - in diesen Fall in "man portage"
Hier noch ein Auszug zu den beiden Fragen: man portage wrote: | /etc/portage/
Any file in this directory that begins with "package." can be more than just a flat file. If it is a directory, then all the files in that directory will be sorted in ascend‐
ing alphabetical order by file name and summed together as if it were a single file.
Example:
/etc/portage/package.accept_keywords/common
/etc/portage/package.accept_keywords/e17
/etc/portage/package.accept_keywords/kde |
man portage wrote: | package.accept_keywords and package.keywords
Per-package ACCEPT_KEYWORDS. Useful for mixing unstable packages in with a normally stable system or vice versa. This will allow ACCEPT_KEYWORDS to be augmented for a
single package. If both package.accept_keywords and package.keywords are present, both of them will be used, and values from package.accept_keywords will override val‐
ues from package.keywords. The package.accept_keywords file is intended to replace the package.keywords file, since profiles support a different form of package.key‐
words which modifies effective KEYWORDS (rather than ACCEPT_KEYWORDS).
Format:
- comment lines begin with # (no inline comments)
- one DEPEND atom per line followed by additional KEYWORDS
- lines without any KEYWORDS imply unstable host arch
Example:
# always use unstable libgd
media-libs/libgd ~x86
# only use stable mplayer
media-video/mplayer -~x86
# always use unstable netcat
net-analyzer/netcat
Note:
In addition to the normal values from ACCEPT_KEYWORDS package.keywords supports three special tokens:
* package is visible if it is stable on any architecture
~* package is visible if it is in testing on any architecture
** package is always visible (KEYWORDS are ignored completely)
Additional Note: If you encounter the -* KEYWORD, this indicates that the package is known to be broken on all systems which are not otherwise listed in KEYWORDS. For
example, a binary only package which is built for x86 will look like:
games-fps/quake3-demo-1.11.ebuild:KEYWORDS="-* x86"
If you wish to accept this package anyways, then use one of the other keywords in your package.accept_keywords like this:
games-fps/quake3-demo x86 |
Viel Erfolg |
|
Back to top |
|
|
Fijoldar Apprentice
Joined: 10 Apr 2013 Posts: 248
|
Posted: Tue May 28, 2013 8:26 am Post subject: |
|
|
Ah, danke!
Ja, ein Blick in die man pages hätte meine Frage vermutlich auch beantwortet Das nächste Mal schaue ich dort zuerst rein, versprochen |
|
Back to top |
|
|
doedel Guru
Joined: 05 Feb 2006 Posts: 579 Location: Denmark
|
Posted: Tue May 28, 2013 10:45 am Post subject: |
|
|
Wie oft wir alle das schon versprochen haben _________________ 1 ha == 1 Hekto-Ar == 1 Hektar |
|
Back to top |
|
|
|