report error instead of warning when a package prevent upgrade
This commit is contained in:
parent
e2a91dd8ae
commit
2151f6f8f7
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user