|
|
|
@ -196,6 +196,16 @@ class ClBuilderUpdateAction(Action):
|
|
|
|
|
Get('update.cl_update_cleanpkg_set') == 'on'),
|
|
|
|
|
'essential': False
|
|
|
|
|
},
|
|
|
|
|
{'name': 'update_packages_cache',
|
|
|
|
|
'message': __("Update packages index"),
|
|
|
|
|
'method': 'Builder.download_packages('
|
|
|
|
|
'update.cl_update_portage_binhost,'
|
|
|
|
|
'update.cl_update_package_cache)',
|
|
|
|
|
'condition': lambda Get: (
|
|
|
|
|
Get('update.cl_update_package_cache') and (
|
|
|
|
|
Get('builder.cl_builder_outdate_set') == 'on' or
|
|
|
|
|
Get('update.cl_update_package_cache_set') == 'on'))
|
|
|
|
|
},
|
|
|
|
|
# сообщение удачного завершения при обновлении репозиториев
|
|
|
|
|
{'name': 'success_syncrep',
|
|
|
|
|
'message': __("Synchronization finished"),
|
|
|
|
@ -229,8 +239,8 @@ class ClBuilderUpdateAction(Action):
|
|
|
|
|
'message': __("Calculating dependencies"),
|
|
|
|
|
'method': 'Builder.emerge_ask('
|
|
|
|
|
'update.cl_update_pretend_set,'
|
|
|
|
|
'"-uDN","--changed-deps",'
|
|
|
|
|
'"--with-bdeps=y","@world")'
|
|
|
|
|
'"-uDN","--changed-deps",',
|
|
|
|
|
'"@world")'
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
'condition': lambda Get: (
|
|
|
|
|