diff options
author | Chris Evich <cevich@redhat.com> | 2020-04-06 15:49:09 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2020-04-20 14:22:23 -0400 |
commit | d2d9722454240f57ae5084d5a02e564790a9eadf (patch) | |
tree | 2108a9407070a1b9f9c536a5abd63b92cd6782ba /contrib/cirrus/setup_environment.sh | |
parent | e282c88d2ce8751f1230ee582072fd51a5d31a7b (diff) | |
download | podman-d2d9722454240f57ae5084d5a02e564790a9eadf.tar.gz podman-d2d9722454240f57ae5084d5a02e564790a9eadf.tar.bz2 podman-d2d9722454240f57ae5084d5a02e564790a9eadf.zip |
Cirrus: Add support for Fedora 32
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/setup_environment.sh')
-rwxr-xr-x | contrib/cirrus/setup_environment.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh index eceb80b00..57c9ec52a 100755 --- a/contrib/cirrus/setup_environment.sh +++ b/contrib/cirrus/setup_environment.sh @@ -47,10 +47,12 @@ case "${OS_RELEASE_ID}" in bash "$SCRIPT_BASE/add_second_partition.sh" fi - warn "Switching io scheduler to 'deadline' to avoid RHBZ 1767539" - warn "aka https://bugzilla.kernel.org/show_bug.cgi?id=205447" - echo "mq-deadline" > /sys/block/sda/queue/scheduler - cat /sys/block/sda/queue/scheduler + if [[ $OS_RELEASE_VER -le 31 ]]; then + warn "Switching io scheduler to 'deadline' to avoid RHBZ 1767539" + warn "aka https://bugzilla.kernel.org/show_bug.cgi?id=205447" + echo "mq-deadline" > /sys/block/sda/queue/scheduler + cat /sys/block/sda/queue/scheduler + fi if [[ "$ADD_SECOND_PARTITION" == "true" ]]; then bash "$SCRIPT_BASE/add_second_partition.sh" |