diff --git a/tuned.spec b/tuned.spec index afca6dc..3b761a4 100644 --- a/tuned.spec +++ b/tuned.spec @@ -189,6 +189,7 @@ fi # and tuned is noarch package, thus the following hack is needed if [ -d %{_sysconfdir}/grub.d ]; then cp -a %{_datadir}/tuned/grub2/00_tuned %{_sysconfdir}/grub.d/00_tuned + selinuxenabled && restorecon %{_sysconfdir}/grub.d/00_tuned || : fi