Regenerate cache

This commit is contained in:
belliash 2012-01-16 13:04:02 +01:00
parent 965777f0df
commit e9e05e9b74
1 changed files with 5 additions and 0 deletions

5
ezsync
View File

@ -182,5 +182,10 @@ for OVERLAY in ${MERGED_PORTAGE[*]}; do
fi fi
done done
# Regenerate Portage cache
printInfo "Updating constructed Portage cache..."
run "FEATURES="metadata-transfer" PORTDIR="${PORTAGESDIR}/${PORTAGE_BUILD[0]}" egencache --update --portdir=${PORTAGESDIR}/${PORTAGE_BUILD[0]} --jobs=${MAXJOBS} --tolerant"
[ ${?} -ne 0 ] && die "EzBuild was unable to regenerate cache!"
# Finally quit the application # Finally quit the application
quit quit