[Fedora-livecd-list] imgcreate/creator.py
Jeremy Katz
katzj at fedoraproject.org
Tue Dec 16 02:52:48 UTC 2008
imgcreate/creator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3e40d4c418ce8a652b269d48e3794bf49c2765e7
Author: David Huff <dhuff at redhat.com>
Date: Mon Dec 15 16:49:23 2008 -0500
Fix, --tmpdir relative path
If a relative path is passed as --tmpdir it sets the build and inst root to
"relative path" which then gets passes to yum as the install root and causes
oddities with dependency resolution
diff --git a/imgcreate/creator.py b/imgcreate/creator.py
index 5c7f13d..82db284 100644
--- a/imgcreate/creator.py
+++ b/imgcreate/creator.py
@@ -382,7 +382,7 @@ class ImageCreator(object):
return
try:
- self.__builddir = tempfile.mkdtemp(dir = self.tmpdir,
+ self.__builddir = tempfile.mkdtemp(dir = os.path.abspath(self.tmpdir),
prefix = "imgcreate-")
except OSError, (err, msg):
raise CreatorError("Failed create build directory in %s: %s" %
More information about the livecd
mailing list