mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
rrs/tools: Remove call to tinfoil shutdown method.
Tinfoil shutdown was not accepted as patch into bitbake because this is a simple solution to a big problem. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
parent
e8b258e717
commit
1f0935240d
|
@ -158,8 +158,6 @@ def do_initial(layerbranch, ct, logger):
|
||||||
_create_upgrade(recipe_data, layerbranch, '', title,
|
_create_upgrade(recipe_data, layerbranch, '', title,
|
||||||
info, logger, initial=True)
|
info, logger, initial=True)
|
||||||
|
|
||||||
tinfoil.shutdown()
|
|
||||||
|
|
||||||
utils.runcmd("git checkout master -f", repodir, logger=logger)
|
utils.runcmd("git checkout master -f", repodir, logger=logger)
|
||||||
utils.runcmd("git branch -D %s" % (branch_name_tmp), repodir, logger=logger)
|
utils.runcmd("git branch -D %s" % (branch_name_tmp), repodir, logger=logger)
|
||||||
|
|
||||||
|
@ -190,7 +188,6 @@ def do_loop(layerbranch, ct, logger):
|
||||||
for recipe_data in recipes:
|
for recipe_data in recipes:
|
||||||
_create_upgrade(recipe_data, layerbranch, ct, title,
|
_create_upgrade(recipe_data, layerbranch, ct, title,
|
||||||
info, logger)
|
info, logger)
|
||||||
tinfoil.shutdown()
|
|
||||||
|
|
||||||
utils.runcmd("git checkout master -f", repodir, logger=logger)
|
utils.runcmd("git checkout master -f", repodir, logger=logger)
|
||||||
utils.runcmd("git branch -D %s" % (branch_name_tmp), repodir, logger=logger)
|
utils.runcmd("git branch -D %s" % (branch_name_tmp), repodir, logger=logger)
|
||||||
|
|
|
@ -140,8 +140,6 @@ if __name__=="__main__":
|
||||||
logger.debug('%s: layer branch %s, pv %s, upstream (%s)' % (recipe.pn,
|
logger.debug('%s: layer branch %s, pv %s, upstream (%s)' % (recipe.pn,
|
||||||
str(layerbranch), recipe.pv, str(ru)))
|
str(layerbranch), recipe.pv, str(ru)))
|
||||||
|
|
||||||
tinfoil.shutdown()
|
|
||||||
|
|
||||||
transaction.commit()
|
transaction.commit()
|
||||||
transaction.leave_transaction_management()
|
transaction.leave_transaction_management()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user