Jump to content
  • 0
navigium

Keeping package.use tidy

Question

Sorry about yet another noob question from me.

 

I somehow lost the overview of the contents in my /etc/portage/package.use file. There are a lot of entries that were asked for by some package I installed. So the file grows and grows. How do you keep this file tidy? How do you know what entries are still required and which became obsolete over time (and a few @world upgrades)?

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Great, thanks! Didn't know this. This makes the whole thing a lot tidier.

But now, what's the best practise to use those file. Do I create one file per package or one file per install (with all it's dependencies). How do you do this?

Share this post


Link to post
Share on other sites
  • 0

There is no "right" way, whatever seems right to you is the right way.

Tidiness?  If you figure out a way, we'd all like to know  :D

But yeah, it's a little easier that way.

Share this post


Link to post
Share on other sites
  • 0

I use to create a file for each program that needs a change in a USE flag. But if there is any dependency that needs a USE change as well, I put that dependency into that first file then. It could be said that I use a package'ish philosophy of package.use files. Works for me :)

 

Regards.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...