aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkolla/image/build.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index 87e738897..134df5964 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -778,6 +778,12 @@ class KollaWorker(object):
'Unknown install type'
)
+ if (self.install_type == 'binary' and self.base == 'debian' and
+ self.base_arch != 'x86_64'):
+ LOG.info("Debian/binary target is available only for x86-64 "
+ "due to lack of packages for other architectures.")
+ sys.exit(1)
+
self.image_prefix = self.base + '-' + self.install_type + '-'
self.regex = conf.regex