From db9301cf93b2d4104852e959c10c10e478385eed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kalu=C5=BEa?= Date: Fri, 19 Jan 2018 06:51:55 +0000 Subject: [PATCH] Allow only x86_64 architectures on ODCS staging --- .../odcs/base/templates/etc/odcs/raw_config_wrapper.conf.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/odcs/base/templates/etc/odcs/raw_config_wrapper.conf.j2 b/roles/odcs/base/templates/etc/odcs/raw_config_wrapper.conf.j2 index 30bbed4058..6d5a35fd19 100644 --- a/roles/odcs/base/templates/etc/odcs/raw_config_wrapper.conf.j2 +++ b/roles/odcs/base/templates/etc/odcs/raw_config_wrapper.conf.j2 @@ -12,9 +12,12 @@ createrepo_deltas = False # In runroot, we cannot use guestmount, but have to use mount -o loop. buildinstall_use_guestmount=False +{% if env == 'staging' %} # We cannot use hardlinks on stg, because it uses different volume and copy # just takes lot of storage. -{% if env == 'staging' %} link_type = 'symlink' + +Staging is used only for testing, so allow only x86_64 composes +tree_arches = ['x86_64'] {% endif %}