summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-18 23:34:19 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-18 23:34:19 +0100
commit9ede36a45bde78cc2e440188f5385e4213a5c7c9 (patch)
tree8a16e04bc4512cb2f0dc0222a32cbce61243b438
parentd4d022bcb07c813cbc66f16048ee21cf17cb936a (diff)
Try to fix debian chroots.
-rwxr-xr-xcdist4
1 files changed, 2 insertions, 2 deletions
diff --git a/cdist b/cdist
index 826bd66..6388ebe 100755
--- a/cdist
+++ b/cdist
@@ -152,7 +152,7 @@ class Environment(object):
def build_dependencies(self, target, project):
if 'dependencies' in project.cscript:
for d in project.cscript['dependencies'](target):
- self.build(target, Project(d))
+ self.build(target, Project(d[0], d[1]))
def build(self, target, project):
self.checkout(project)
@@ -274,7 +274,7 @@ class WindowsEnvironment(HostEnvironment):
class Target:
def __init__(self, name):
- if name.startswith('ubuntu-'):
+ if name.startswith('ubuntu-') or name.startswith('debian-'):
self.platform = 'linux'
self.version = name.split('-')[1]
self.bits = int(name.split('-')[2])