[ostree] ostbuild: Use --from-file for buildroot compose for easier debugging



commit 3a365521a8ffd207bc9fd08142d035ff30fba0e1
Author: Colin Walters <walters verbum org>
Date:   Wed May 2 10:25:58 2012 -0400

    ostbuild: Use --from-file for buildroot compose for easier debugging

 .../pyostbuild/builtin_chroot_compile_one.py       |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtin_chroot_compile_one.py b/src/ostbuild/pyostbuild/builtin_chroot_compile_one.py
index 9bb8c98..8513863 100755
--- a/src/ostbuild/pyostbuild/builtin_chroot_compile_one.py
+++ b/src/ostbuild/pyostbuild/builtin_chroot_compile_one.py
@@ -121,8 +121,7 @@ class OstbuildChrootCompileOne(builtins.Builtin):
 
         run_sync(['ostree', '--repo=' + self.repo,
                   'checkout', '--link-cache=' + link_cache_dir,
-                  '--user-mode', '--union', '--from-stdin', rootdir_tmp],
-                 stdin=open(tmppath))
+                  '--user-mode', '--union', '--from-file=' + tmppath, rootdir_tmp])
 
         os.unlink(tmppath);
 



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