summaryrefslogtreecommitdiff
path: root/kswriter
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-05-31 12:23:46 +0100
committerAnas Nashif <anas.nashif@intel.com>2012-05-31 12:23:46 +0100
commit44b6b8ff8b20244d07c6ac96ed306fe03cfa2cb1 (patch)
tree3f317ea8ab47a0e68c331091fa110f3a4283c57c /kswriter
parent8f2e4e8d216661c71971c4ec5e26b8862204055e (diff)
parentbee3402b7fcdf43b90a1a269a7616a47a796672c (diff)
downloadkickstarter-44b6b8ff8b20244d07c6ac96ed306fe03cfa2cb1.tar.gz
kickstarter-44b6b8ff8b20244d07c6ac96ed306fe03cfa2cb1.tar.bz2
kickstarter-44b6b8ff8b20244d07c6ac96ed306fe03cfa2cb1.zip
resolved conflict
Diffstat (limited to 'kswriter')
-rw-r--r--kswriter/KSWriter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kswriter/KSWriter.py b/kswriter/KSWriter.py
index 54d2021..eaee98d 100644
--- a/kswriter/KSWriter.py
+++ b/kswriter/KSWriter.py
@@ -20,7 +20,7 @@ class KSWriter():
def __init__(self, configs=None, repos=None, outdir=".", config=None, packages=False):
self.dist = None
self.arch = None
- self.image_filename = configs
+ self.image_filename = os.path.abspath(os.path.expanduser(configs))
self.repo_filename = repos
self.outdir = outdir
self.packages = packages
@@ -141,7 +141,7 @@ class KSWriter():
print "%s is inactive, not generating %s at this time" %(img['Name'], img['FileName'] )
for path in self.image_meta['ExternalConfigs']:
external_config_dir = os.path.join(os.path.dirname(self.image_filename), path)
-
+
for f in os.listdir(external_config_dir):
if f.endswith('.yaml'):
fp = file('%s/%s' %(external_config_dir, f), 'r')