diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2020-04-30 11:11:20 +0200 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2020-05-01 07:43:17 +0000 |
| commit | fe6fd8dc5d1809f8ce91f677f6affd4e21268551 (patch) | |
| tree | b9d1b16d07208086d9b93abef89fc9e6343f7b1f | |
| parent | 8abfa0cc75be0100793d3c805e9c871d65a4d341 (diff) | |
| download | kolla-fe6fd8dc5d1809f8ce91f677f6affd4e21268551.tar.gz kolla-fe6fd8dc5d1809f8ce91f677f6affd4e21268551.zip | |
debian: binary target is x86 only
Other architectures run will be aborted with proper message.
Change-Id: Ic81fb425fa54953f1d6c12063049d60658deb4ed
| -rwxr-xr-x | kolla/image/build.py | 6 |
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 |
