Log how we run mkisofs.

It's very useful to know when trying to rebuild the iso manually.
This commit is contained in:
Ales Kozumplik 2011-09-13 10:43:25 +02:00
parent 57845e7525
commit c3e3004c47
1 changed files with 3 additions and 0 deletions

View File

@ -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)