Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 53e9af1d3c444405d64b1b9ce064220f6577be82
Author: Jakub Kadl����k <jkadlcik(a)redhat.com>
Date: Mon Feb 15 13:26:29 2016 +0100
[backend] append from_chroot to build.info
---------------------------------------------------------------
backend/backend/actions.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/backend/backend/actions.py b/backend/backend/actions.py
index 8048c15..058721e 100644
--- a/backend/backend/actions.py
+++ b/backend/backend/actions.py
@@ -246,6 +246,9 @@ class Action(object):
destdir = os.path.join(chrootdir, build)
self.log.debug("Copy directory: {} as {}".format(srcdir,
destdir))
shutil.copytree(srcdir, destdir)
+
+ with open(os.path.join(destdir, "build.info"),
"a") as f:
+
f.write("\nfrom_chroot={}".format(data["rawhide_chroot"]))
except:
result.result = ActionResult.FAILURE