summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-11-27 11:24:13 +0100
committerCarl Hetherington <cth@carlh.net>2025-11-27 11:24:13 +0100
commitb21e3756469a439eef3345fdb8db3980324cdec8 (patch)
tree54e0c18c8c53fb0dc20015f44a864074914b6559
parent343697f5b7d72a204e8e29ef0767136556df2255 (diff)
Clarify some parameters.
-rwxr-xr-xcdist4
1 files changed, 2 insertions, 2 deletions
diff --git a/cdist b/cdist
index a9a6933..e36379d 100755
--- a/cdist
+++ b/cdist
@@ -951,9 +951,9 @@ def target_factory(args):
p = s.split('-')
if len(p) != 2:
raise Error("Bad Arch target name `%s'; must be arch-32 or arch-64")
- target = LinuxDockerTarget(p[0], None, cpu="x86", directory=args.work)
+ target = LinuxDockerTarget(distro=p[0], version=None, cpu="x86", directory=args.work)
elif s == 'raspbian':
- target = LinuxDockerTarget(s, None, cpu="arm", directory=args.work)
+ target = LinuxDockerTarget(distro=s, version=None, cpu="arm", directory=args.work)
elif s == 'osx':
target = OSXUniversalTarget(args.work, environment_version=args.environment_version)
elif s == 'osx-intel':