On 12/04/2011 06:44 AM, Leho Kraav wrote:
> So after a reading through a bunch of stuff [1][2][3][4][5], what I'm going 
> to do for the goal above is:
> 
>  * move to sys-apps/shadow trunk [6]
>  * fork my own user.eclass from v1.17, modify it to use --root $ROOT when 
> calling shadow stuff
>  * stick my user.eclass into myoverlay/eclass/
>  * # echo "lkraav" > myoverlay/profiles/repo_name
>  * # echo "[DEFAULT]\neclass-overrides = lkraav" > /etc/portage/repos.conf
>  * # echo "PORTAGE_RSYNC_EXTRA_OPTS=\"--exclude=/metadata/cache\"" >> 
> /etc/make.conf
>  * # rm -rf /usr/portage/metadata/cache
>  * # echo "emerge --regen" >> /etc/cron.weekly/09-my-portage-update-script

If user.eclass is the only eclass you override, then since user.eclass
doesn't modify metadata variables like *DEPEND or IUSE, it's safe to use
metadata/cache from rsync.
-- 
Thanks,
Zac
ta

Reply via email to