Neil Bothwick wrote:
> On Thu, 13 Jun 2019 12:59:18 -0500, Dale wrote:
>
>> Neil Bothwick wrote:
>>> You can set that in package.env too, I do this for Chromium:
>>>
>>> % cat /etc/portage/package.env/chromium
>>> www-client/chromium alert-done.conf disk-tmpdir.conf j2.conf
>>>
>>> % cat /etc/portage/env/j2.conf
>>> MAKEOPTS="-j2"
>> Has that changed?  I have a package.env FILE that contains a list of
>> packages and the path to a file in /etc/portage/env/ that tells what to
>> change that for package/  Looks like this:
>>
>>
>> root@fireball / # cat /etc/portage/package.env/package.env
>> #www-client/seamonkey  ../env/single.conf
>> #www-client/firefox  ../env/single.conf
>> #www-client/firefox  ../env/notmpfs.conf
>> #www-client/seamonkey ../env/notmpfs.conf
>> app-office/libreoffice ../env/notmpfs.conf
>> #sys-devel/gcc ../env/notmpfs.conf
>> dev-qt/qtwebengine ../env/notmpfs.conf
>> #dev-qt/qtwebkit ../env/notmpfs.conf
>> #sci-electronics/kicad ../env/notmpfs.conf
>>
>> root@fireball / # ls -al /etc/portage/env/
>> total 16
>> drwxr-xr-x  2 root root 4096 Sep  3  2017 .
>> drwxr-xr-x 14 root root 4096 May 31 00:40 ..
>> -rw-r--r--  1 root root   35 Sep  3  2017 notmpfs.conf
>> -rw-r--r--  1 root root   31 Feb 12  2017 single.conf
>>
>> root@fireball / # cat /etc/portage/env/notmpfs.conf
>> PORTAGE_TMPDIR="/var/tmp/notmpfs"
>>
>> root@fireball / # cat /etc/portage/env/single.conf
>> #EMERGE_DEFAULT_OPTS="-j1"
>>
>> root@fireball / #
>>
>>
>> I think I'm doing this different than what you posted.  It works but is
>> it being changed and I need to update before it stops working? 
> The only difference is the way you are specifying the paths. Portage
> looks in /etc/portage/env for these anyway, you are telling it to
> load /etc/portage/env../env/whatever.conf, which is the same thing.
>
>


OK.  If something was changing, I wanted to update if needed.  I sort of
think your way is simpler tho.  It took me a while to figure out how to
make mine work.  At the  time, I couldn't find a lot of examples. 

Thanks for the info. 

Dale

:-)  :-) 

Reply via email to