report error instead of warning when a package prevent upgrade

This commit is contained in:
Fredrik Eriksson 2024-07-13 07:55:43 +02:00
parent e2a91dd8ae
commit 2151f6f8f7
Signed by: feffe
GPG Key ID: E6B5580B853D322B

View File

@ -159,7 +159,7 @@ def pkg_upgrade():
if sens <= common: if sens <= common:
log.info('{} -- {} -> {} configured level {} <= pkg level {}'.format(name, old, new, sens, common)) log.info('{} -- {} -> {} configured level {} <= pkg level {}'.format(name, old, new, sens, common))
else: else:
log.warning('{} -- {} -> {} configured level {} > pkg level {}'.format(name, old, new, sens, common)) log.error('{} -- {} -> {} configured level {} > pkg level {}'.format(name, old, new, sens, common))
do_rebuild = False do_rebuild = False
if name.startswith('sys-kernel/'): if name.startswith('sys-kernel/'):
if do_system_upgrade: if do_system_upgrade: