summaryrefslogtreecommitdiffstats
path: root/roles/copr/backend/files/provision
diff options
context:
space:
mode:
authorclime <clime@redhat.com>2016-04-12 17:16:53 +0200
committerMiroslav Suchý <msuchy@redhat.com>2016-04-12 17:39:43 +0200
commit47a87e6e05eb3a664d0e5779951daa05e7d5d702 (patch)
tree4aaaa76ab1ffae2efc4c25dd8d92830ded70bba5 /roles/copr/backend/files/provision
parent27544dbce2267dd0d50497ce6ac834b85d3387f6 (diff)
downloadansible-47a87e6e05eb3a664d0e5779951daa05e7d5d702.tar.gz
ansible-47a87e6e05eb3a664d0e5779951daa05e7d5d702.tar.xz
ansible-47a87e6e05eb3a664d0e5779951daa05e7d5d702.zip
locale installation fix
Signed-off-by: Miroslav Suchý <msuchy@redhat.com>
Diffstat (limited to 'roles/copr/backend/files/provision')
-rw-r--r--roles/copr/backend/files/provision/provision_builder_tasks.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/copr/backend/files/provision/provision_builder_tasks.yml b/roles/copr/backend/files/provision/provision_builder_tasks.yml
index 3ef42ccb5..cb40d6bd7 100644
--- a/roles/copr/backend/files/provision/provision_builder_tasks.yml
+++ b/roles/copr/backend/files/provision/provision_builder_tasks.yml
@@ -93,3 +93,9 @@
ini_file: dest=/etc/systemd/coredump.conf section=Coredump option=Storage value=none
# notify:
# - systemctl daemon-reload
+
+- name: 'Remove %_install_langs from /etc/rpm/macros.image-language-conf so that `yum-deprecated --installroot=<chroot-path> install glibc-all-langpacks` installs all possible locale into build chroots'
+ lineinfile:
+ dest: '/etc/rpm/macros.image-language-conf'
+ regexp: '^%_install_lang.*'
+ state: 'absent'