diff --git a/roles/copr/backend/files/provision/provision_builder_tasks.yml b/roles/copr/backend/files/provision/provision_builder_tasks.yml index 3ef42ccb57..cb40d6bd74 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= install glibc-all-langpacks` installs all possible locale into build chroots' + lineinfile: + dest: '/etc/rpm/macros.image-language-conf' + regexp: '^%_install_lang.*' + state: 'absent'