add support for do_reposync on gentoo

This commit is contained in:
Fredrik Eriksson 2021-02-20 16:00:27 +01:00
parent 9eebd56869
commit 3e3252ed48
Signed by: feffe
GPG Key ID: F4329687B0FA7F8D
2 changed files with 5 additions and 1 deletions

View File

@ -30,6 +30,9 @@ default_service_policy=ignore
# do depclean on Gentoo # do depclean on Gentoo
do_depclean=yes do_depclean=yes
# do eix-sync on Gentoo
do_reposync=yes
# to only write to stderr when something unexpected happens or manual action is required # to only write to stderr when something unexpected happens or manual action is required
# set stderr_loglevel to warning # set stderr_loglevel to warning
stderr_loglevel=debug stderr_loglevel=debug

View File

@ -98,6 +98,7 @@ def pkg_upgrade():
log = logging.getLogger(sau.LOGNAME) log = logging.getLogger(sau.LOGNAME)
conf = sau.config conf = sau.config
if conf.getboolean('default', 'do_reposync', fallback=True):
_sync_portage() _sync_portage()
# [ebuild U ] media-plugins/alsa-plugins-1.1.8 [1.1.6] # [ebuild U ] media-plugins/alsa-plugins-1.1.8 [1.1.6]