Disable Polkit
authorKunhoon Baik <knhoon.baik@samsung.com>
Mon, 12 Sep 2016 04:05:57 +0000 (13:05 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 26 Jan 2024 16:49:49 +0000 (17:49 +0100)
Tizen uses Cynara instead of Polkit.
https://wiki.tizen.org/wiki/Security:Cynara:ComparisonWithOtherSolutions

Change-Id: I519d84e41225e9a4c3343bec74871727e51a54ad

packaging/systemd.spec

index 7883d06..76a6d7d 100644 (file)
@@ -146,6 +146,7 @@ cp %{SOURCE1001} .
         --disable-hwdb \
         --disable-sysusers \
         --disable-firstboot \
+        --disable-polkit \
         --disable-timesyncd \
         --disable-resolved \
         --disable-networkd \
@@ -498,20 +499,6 @@ fi
 %if %{?WITH_MACHINED}
 %{_datadir}/dbus-1/system-services/org.freedesktop.machine1.service
 %endif
-%dir %{_datadir}/polkit-1
-%dir %{_datadir}/polkit-1/actions
-%{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
-%{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
-%if %{?with_multiuser}
-%{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
-%endif
-%{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
-%if %{?WITH_TIMEDATED}
-%{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
-%endif
-%if %{?WITH_MACHINED}
-%{_datadir}/polkit-1/actions/org.freedesktop.machine1.policy
-%endif
 %dir %{_datadir}/factory/
 %dir %{_datadir}/factory/etc
 %dir %{_datadir}/factory/etc/pam.d