[matter] use Portage --resume feature to resume dependency calculation

This commit is contained in:
Fabio Erculiani
2011-09-08 12:12:37 +02:00
parent ec8a67f9e5
commit 6269a771d2

View File

@@ -947,6 +947,16 @@ class PackageBuilder(object):
# re-calling action_build(), deps are re-calculated though
validate_ebuild_environment(emerge_trees)
# this hopefully will avoid calling backtrack_depgraph() again
# by action_build, provide resume information, hax0r mtimedb
myopts['--resume'] = True
mtimedb['resume'] = {
"favorites": [str(x) for x in favorites],
"myopts": myopts,
"mergelist": [[w, x, y, z] for w, x, y, z in package_queue],
}
mtimedb.commit()
retval = action_build(settings, emerge_trees, mtimedb,
myopts, myaction, myfiles, spinner)