Lines 1514-1529
Link Here
|
1514 |
return digestCheckFiles(myfiles, mydigests, basedir, "src_uri") |
1514 |
return digestCheckFiles(myfiles, mydigests, basedir, "src_uri") |
1515 |
|
1515 |
|
1516 |
# parse actionmap to spawn ebuild with the appropriate args |
1516 |
# parse actionmap to spawn ebuild with the appropriate args |
1517 |
def spawnebuild(mydo,actionmap,debug,alwaysdep=0): |
1517 |
def spawnebuild(mydo,actionmap,debug,alwaysdep=0,continue_flag=0): |
1518 |
if alwaysdep or ("noauto" not in features): |
1518 |
if alwaysdep or ("noauto" not in features): |
1519 |
# process dependency first |
1519 |
# process dependency first |
1520 |
if "dep" in actionmap[mydo].keys(): |
1520 |
if "dep" in actionmap[mydo].keys(): |
1521 |
retval=spawnebuild(actionmap[mydo]["dep"],actionmap,debug,alwaysdep) |
1521 |
retval=spawnebuild(actionmap[mydo]["dep"],actionmap,debug,alwaysdep,continue_flag) |
1522 |
if retval: |
1522 |
if retval: |
1523 |
return retval |
1523 |
return retval |
1524 |
# spawn ebuild.sh |
1524 |
# spawn ebuild.sh |
1525 |
mycommand="/usr/sbin/ebuild.sh " |
1525 |
mycommand="/usr/sbin/ebuild.sh " |
1526 |
return spawn(mycommand + mydo,debug, |
1526 |
|
|
|
1527 |
if ( continue_flag == 1 ) and ( mydo == "compile" ): |
1528 |
comando = mycommand + "continue" |
1529 |
else: |
1530 |
comando= mycommand + mydo |
1531 |
return spawn(comando,debug, |
1527 |
actionmap[mydo]["args"][0], |
1532 |
actionmap[mydo]["args"][0], |
1528 |
actionmap[mydo]["args"][1]) |
1533 |
actionmap[mydo]["args"][1]) |
1529 |
|
1534 |
|
Lines 1532-1538
Link Here
|
1532 |
if mydo not in ["help","clean","prerm","postrm","preinst","postinst", |
1537 |
if mydo not in ["help","clean","prerm","postrm","preinst","postinst", |
1533 |
"config","touch","setup","depend","fetch","digest", |
1538 |
"config","touch","setup","depend","fetch","digest", |
1534 |
"unpack","compile","install","rpm","qmerge","merge", |
1539 |
"unpack","compile","install","rpm","qmerge","merge", |
1535 |
"package","unmerge", "manifest"]: |
1540 |
"package","unmerge", "manifest", "continue"]: |
1536 |
sys.stderr.write("!!! doebuild: Please specify a valid command.\n"); |
1541 |
sys.stderr.write("!!! doebuild: Please specify a valid command.\n"); |
1537 |
return 1 |
1542 |
return 1 |
1538 |
if not os.path.exists(myebuild): |
1543 |
if not os.path.exists(myebuild): |
Lines 1787-1794
Link Here
|
1787 |
elif mydo=="qmerge": |
1792 |
elif mydo=="qmerge": |
1788 |
#qmerge is specifically not supposed to do a runtime dep check |
1793 |
#qmerge is specifically not supposed to do a runtime dep check |
1789 |
return merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot) |
1794 |
return merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot) |
1790 |
elif mydo=="merge": |
1795 |
elif ( mydo == "merge" ) or ( mydo == "continue" ): |
1791 |
retval=spawnebuild("install",actionmap,debug,1) |
1796 |
continue_f=0 |
|
|
1797 |
if ( mydo == "continue"): continue_f=1 |
1798 |
retval=spawnebuild("install",actionmap,debug,1,continue_f) |
1792 |
if retval: return retval |
1799 |
if retval: return retval |
1793 |
return merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot,myebuild=settings["EBUILD"]) |
1800 |
return merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot,myebuild=settings["EBUILD"]) |
1794 |
else: |
1801 |
else: |