View previous topic :: View next topic |
Author |
Message |
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Tue Jan 22, 2013 9:52 am Post subject: control use flags |
|
|
Hello,
I wonder if I can set a use flag for a programm so only the programm use it.
So I can have ultimate control over my gentoo box.
Roelof |
|
Back to top |
|
|
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Tue Jan 22, 2013 10:17 am Post subject: |
|
|
Either you use /etc/portage/package.use as a file and put lines like the one below or you use it as a directory and place files there which contain lines like the one below:
Code: |
media-video/mplayer2 -3dnow mmx
|
_________________ Hello 911? How are you? |
|
Back to top |
|
|
roelof Guru
Joined: 05 Feb 2009 Posts: 488
|
Posted: Tue Jan 22, 2013 1:09 pm Post subject: |
|
|
Thanks.
One question.
If I want to do it as a directory.
Does it look like this
/etc/portage/package.use/a/a.use
For a package called a.
Roelof |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10587 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Jan 22, 2013 1:15 pm Post subject: |
|
|
Yes, that works, but most people don't use that extra level of directory. They would just use /etc/portage/package.use/a as a regular file. There's no real need for a file type either because the only thing that goes into package.use is package-specific USE flags; no harm done, though.
This is all explained in the Working with Gentoo section of the Handbook. Time for some light reading?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
|