update_chroot: set a more permissive ccache umask

This seems to fix the ccache permission issues `update_chroot` hits
while building ninja.

The erroneous files were created as root:portage, so a umask of 002
should let other portage group members share them, which seems entirely
reasonable.
This commit is contained in:
Euan Kemp 2017-09-07 11:52:21 -07:00
parent 97ab652443
commit 62bff69a19

View File

@ -86,6 +86,7 @@ PORT_LOGDIR="/var/log/portage"
PORTAGE_BINHOST="$(get_sdk_binhost)" PORTAGE_BINHOST="$(get_sdk_binhost)"
PORTAGE_USERNAME="${PORTAGE_USERNAME}" PORTAGE_USERNAME="${PORTAGE_USERNAME}"
MAKEOPTS="--jobs=${NUM_JOBS} --load-average=$((NUM_JOBS * 2))" MAKEOPTS="--jobs=${NUM_JOBS} --load-average=$((NUM_JOBS * 2))"
CCACHE_UMASK="002"
# Generally there isn't any need to add packages to @world by default. # Generally there isn't any need to add packages to @world by default.
# You can use --select to override this. # You can use --select to override this.