diff --git a/containers-common.spec b/containers-common.spec index 6db79eb..0de3f88 100644 --- a/containers-common.spec +++ b/containers-common.spec @@ -89,6 +89,10 @@ cp %{SOURCE23} . cp %{SOURCE24} . cp %{SOURCE25} . +%if 0%{?rhel} <= 8 +sed -i 's/log_driver = "journald"/#log_driver = "journald"/' containers.conf +%endif + %build mkdir -p man5 for FILE in $(ls *.5.md); do