copr-builders: disable zram0

We need to "permanently" disable zram0 when the builder image is
created, so this is just a hot-fix that let us experiment...

Relates: https://pagure.io/copr/copr/issue/2077
This commit is contained in:
Pavel Raiskup 2022-02-28 18:05:37 +01:00
parent 8f474d4d9c
commit 50e91eed5a

View file

@ -290,3 +290,9 @@
when:
- prepare_base_image is not defined
- copr_builder_fedora_version == 35
- name: disable zram0 swap, workaround for issue 2077
shell:
cmd: "dnf remove zram-generator-defaults ; swapoff /dev/zram0 ; true"
when:
- prepare_base_image is not defined