From c3e3004c4733375594d3b2b6671ac99236e64ff0 Mon Sep 17 00:00:00 2001 From: Ales Kozumplik Date: Tue, 13 Sep 2011 10:43:25 +0200 Subject: [PATCH] Log how we run mkisofs. It's very useful to know when trying to rebuild the iso manually. --- src/pylorax/images.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pylorax/images.py b/src/pylorax/images.py index 75d38e06..23b6059c 100644 --- a/src/pylorax/images.py +++ b/src/pylorax/images.py @@ -344,6 +344,7 @@ class PPC(object): "-magic", joinpaths(self.installtree.root, MAGIC), "-no-desktop", "-allow-multidot", "-graft-points", isopathdir] + logger.debug("calling mkisofs: %s" % cmd) p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE) p.wait() @@ -565,6 +566,7 @@ class X86(object): "images={0}".format(joinpaths(self.outputroot, IMAGESDIR))] + \ efigraft + logger.debug("calling mkisofs: %s" % cmd) p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE) p.wait() @@ -780,6 +782,7 @@ class SPARC(object): "-o", bootiso_fpath, "-graft-points", "boot=%s" % joinpaths(self.outputroot, SPARCDIR)] + logger.debug("calling mkisofs: %s" % cmd) p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)