From 12f2f8929d14af6f5967c8a22119b831f33310be Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 27 Feb 2012 19:28:52 -0500 Subject: [PATCH] ostbuild: Copy snapshot JSON into artifact trees This is kind of a hack...but... --- src/ostbuild/pyostbuild/builtin_chroot_compile_one.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ostbuild/pyostbuild/builtin_chroot_compile_one.py b/src/ostbuild/pyostbuild/builtin_chroot_compile_one.py index 35038055..58f06fec 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)