Module _global_updates
source code
|
bool
|
_global_updates(trees,
prev_mtimes,
quiet=False,
if_mtime_changed=True)
Perform new global updates if they exist in 'profiles/updates/'
subdirectories of all active repositories (PORTDIR +
PORTDIR_OVERLAY). |
source code
|
|
|
|
| _do_global_updates(trees,
prev_mtimes,
quiet=False,
if_mtime_changed=True) |
source code
|
|
Imports:
stat,
best,
os,
WORLD_FILE,
secpass,
DirectoryNotFound,
_,
bold,
colorize,
grab_updates,
parse_updates,
update_config_files,
update_dbentry,
grabfile,
shlex_split,
writemsg,
writemsg_stdout,
write_atomic
_global_updates(trees,
prev_mtimes,
quiet=False,
if_mtime_changed=True)
| source code
|
Perform new global updates if they exist in 'profiles/updates/'
subdirectories of all active repositories (PORTDIR + PORTDIR_OVERLAY).
This simply returns if ROOT != "/" (when len(trees) != 1). If
ROOT != "/" then the user should instead use emaint --fix
movebin and/or moveinst.
- Parameters:
trees (dict) - A dictionary containing portage trees.
prev_mtimes (dict) - A dictionary containing mtimes of files located in
$PORTDIR/profiles/updates/.
- Returns: bool
- True if update commands have been performed, otherwise False
|