[script/post-update] calling emerge-webrsync before invoking emerge, and cleanup after
This commit is contained in:
@@ -109,9 +109,12 @@ FILES_TO_REMOVE=(
|
||||
|
||||
# emerge preserved rebuild that are left behind in the next stages. this happens because first stage isn't automated (yet) and the next one that regenerate locales
|
||||
# is run in dockerhub (which is really slow and prone to fails) instead of circleci
|
||||
emerge-webrsync
|
||||
emerge @preserved-rebuild
|
||||
equo rescue spmsync
|
||||
|
||||
pushd /usr/portage/
|
||||
ls | grep -v 'profiles' | grep -v 'metadata' | xargs rm -rf
|
||||
popd
|
||||
# Upgrading packages
|
||||
rsync -av "rsync://rsync.at.gentoo.org/gentoo-portage/licenses/" "/usr/portage/licenses/" && ls /usr/portage/licenses -1 | xargs -0 > /etc/entropy/packages/license.accept && \
|
||||
equo up && equo u && \
|
||||
|
||||
Reference in New Issue
Block a user