[ostree/wip/ostbuild-chroot-dev: 5/10] ostbuild: Copy snapshot JSON into artifact trees



commit c1141d487e1115cb0ce59a2a9a5e3c6e5ab5ffef
Author: Colin Walters <walters verbum org>
Date:   Mon Feb 27 19:28:52 2012 -0500

    ostbuild: Copy snapshot JSON into artifact trees
    
    This is kind of a hack...but...

 .../pyostbuild/builtin_chroot_compile_one.py       |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtin_chroot_compile_one.py b/src/ostbuild/pyostbuild/builtin_chroot_compile_one.py
index 3503805..58f06fe 100755
--- a/src/ostbuild/pyostbuild/builtin_chroot_compile_one.py
+++ b/src/ostbuild/pyostbuild/builtin_chroot_compile_one.py
@@ -141,5 +141,7 @@ class OstbuildChrootCompileOne(builtins.Builtin):
         env_copy = dict(buildutil.BUILD_ENV)
         env_copy['PWD'] = chroot_sourcedir
         run_sync(child_args, env=env_copy, keep_stdin=args.debug_shell)
+
+        shutil.copy(build_manifest_path, resultdir)
         
 builtins.register(OstbuildChrootCompileOne)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]