Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/portage/package.* als Verzeichnis
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
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Sun Mar 15, 2015 5:19 pm    Post subject: /etc/portage/package.* als Verzeichnis Reply with quote

Hallo,

wie legt man die package.* Einträge als Verzeichnis an?

Das braucht man für crossdev..
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4554
Location: Germany

PostPosted: Sun Mar 15, 2015 6:00 pm    Post subject: Reply with quote

Die benötigten Verzeichnisse kann man sich schlicht und einfach mit mkdir anlegen.

Schau dazu auch im
man portage wrote:
/etc/portage/
Files in this directory including make.conf, repos.conf, and any file with a name 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 ascending 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
Back to top
View user's profile Send private message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Sun Mar 15, 2015 6:26 pm    Post subject: Reply with quote

Aber wie bekomme ich dann die Flags eingetragen?

Und wie bekomme ich am Einfachsten die z.B. package.use Datei ins Verzeichnisformat?
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4554
Location: Germany

PostPosted: Sun Mar 15, 2015 7:28 pm    Post subject: Reply with quote

Heh, du denkst viel zu kompliziert :)

Ein Beispiel:
Code:
# cd /etc/portage/
mv package.use old-original-use
mkdir package.use
mv old-original-use package.use/

# tree /etc/portage/package.use/
/etc/portage/package.use/
└── old-original-use

0 directories, 1 file

In das /etc/portage/package.use/ Verzeichnis kannst du dann Dateien rein tun, so wie du sie benötigst. Die Dateinamen sind frei wählbar. Die Syntax in den Dateien bleibt die gleiche wie in einer package.use Datei.
Back to top
View user's profile Send private message
xtrace
Tux's lil' helper
Tux's lil' helper


Joined: 17 May 2010
Posts: 76

PostPosted: Mon Mar 16, 2015 7:35 am    Post subject: Reply with quote

HeyHeyHo,

wieso möchtest du das ganze denn als Verzeichnisstruktur verwalten :?:
Wird es dadurch nicht eher unübersichtlicher :?:

Wenn du z.B. ein Paket hast, welches ein USE Flag gesetzt hat aber zugleich für mehrere andere Paket benötigt wird.
:arrow: Wie willst du sowas dann finden :?: :?

Vielleicht habe ich auch einfach nur einen Denkfehler. :roll: :oops:

cu,
xtrace
Back to top
View user's profile Send private message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Mon Mar 16, 2015 8:21 am    Post subject: Reply with quote

xtrace wrote:
HeyHeyHo,

wieso möchtest du das ganze denn als Verzeichnisstruktur verwalten :?:
Wird es dadurch nicht eher unübersichtlicher :?:


cu,
xtrace


siehe Post 1 crossdev verlangt das so...
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4554
Location: Germany

PostPosted: Wed Mar 18, 2015 7:39 pm    Post subject: Reply with quote

Und woran scheitert es nun noch?
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Thu Mar 19, 2015 9:49 pm    Post subject: Reply with quote

Verzeichnisse sind cool, so kann man z.B. ganze Applikationsgruppen gut zusammenfassen und gegebenenfalls ein Upgrade z.B. nur für lxqt machen oder auch wieder rückgängig :
Code:
$ wc -l /etc/portage/package.accept_keywords/*
  38 /etc/portage/package.accept_keywords/lxqt-0.9.0
  18 /etc/portage/package.accept_keywords/qt-4.8.6
  61 /etc/portage/package.accept_keywords/z_misc

$ sudo su -c 'wc -l /root/*kde* /root/lxqt*'
  31 /root/kde-4.11.x
   2 /root/kde-4.13.x
 101 /root/kde-4.14.x
  22 /root/lxqt-0.7.0

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