On 05/20/2014 10:13 PM, Matti Nykyri wrote:
> On May 20, 2014, at 14:49, Alexander Kapshuk
> <alexander.kaps...@gmail.com <mailto:alexander.kaps...@gmail.com>> wrote:
>
>> On 05/20/2014 02:40 PM, Hunter Jozwiak wrote:
>>>
>>>  
>>>
>>>  
>>>
>>> *From:*Alexander Kapshuk [mailto:alexander.kaps...@gmail.com]
>>> *Sent:* Tuesday, May 20, 2014 7:44 AM
>>> *To:* gentoo-user@lists.gentoo.org
>>> *Subject:* Re: [gentoo-user] Use Flags and Updating
>>>
>>>  
>>>
>>> On 05/20/2014 02:37 PM, Hunter Jozwiak wrote:
>>>
>>>     Hi all. How do I get Portage to update all software to use my
>>>     new USE flags? I made some modifications to the variable, and I
>>>     want to make sure that all packages can use the flags.
>>>
>>> emerge(1)
>>> -N -- --newuse
>>>
>>> Thank you.
>>>
>> No worries.
>>
>> Here's what I usually run when updating the world.
>> Long version: emerge --ask --update --deep --with-bdeps=y --newuse @world
>> With '--with-bdeps=y' set in the file shown below:
>> grep bdeps /etc/portage/make.conf
>> EMERGE_DEFAULT_OPTS="--with-bdeps=y"
>>
>> Short version: emerge -avuND @world
>> -a [--ask]
>> -v [--verbose]
>> -u [--update]
>> -N [--newuse]
>> -D [--deep]
>
> And how to remember this... Make it a name:
>
> emerge -DuvaN @world
>
> Human mind is a complex organ ;)
>
> -- 
> -Matti

I just put this into a shell function.

sed -n '/chkupd/,/}/p' .bash_profile
chkupd(){
    emerge --sync && emerge -avuND @world
}

Reply via email to