diff --git a/script/post-update.sh b/script/post-update.sh index ae2e7eb..2884ba9 100644 --- a/script/post-update.sh +++ b/script/post-update.sh @@ -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 && \