Disable systemd-timedated and systemd-rfkill
authorKunhoon Baik <knhoon.baik@samsung.com>
Mon, 23 May 2016 06:50:59 +0000 (15:50 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 26 Jan 2024 16:49:49 +0000 (17:49 +0100)
Tizen 3.0 does not use systemd-timedated for changing time-zone and related things.
Alarm-manager will manage the functionalities.

Tizen 3.0 does not use systemd-rfkill any more.
Net-config will manage the functionalities.

Change-Id: Icb3011003060c213b2bdcd0de53480acaaeed70b

packaging/systemd.spec

index d93b332..3ed6052 100644 (file)
@@ -7,6 +7,8 @@
 %define WITH_ZSH_COMPLETION 0
 %define WITH_COREDUMP 0
 %define WITH_BACKLIGHT 0
+%define WITH_TIMEDATED 0
+%define WITH_RFKILL 0
 
 Name:           systemd
 Version:        219
@@ -131,6 +133,12 @@ cp %{SOURCE1001} .
 %if ! %{?WITH_BACKLIGHT}
        --disable-backlight \
 %endif
+%if ! %{?WITH_TIMEDATED}
+       --disable-timedated \
+%endif
+%if ! %{WITH_RFKILL}
+       --disable-rfkill \
+%endif
         --enable-compat-libs \
         --enable-bootchart \
         --disable-hwdb \
@@ -320,7 +328,9 @@ fi
 %if %{?WITH_COREDUMP}
 %{_bindir}/coredumpctl
 %endif
+%if %{?WITH_TIMEDATED}
 %{_bindir}/timedatectl
+%endif
 %dir %{_sysconfdir}/systemd
 %dir %{_sysconfdir}/systemd/system
 %dir %{_sysconfdir}/systemd/user
@@ -356,7 +366,9 @@ fi
 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.hostname1.conf
 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.login1.conf
 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.locale1.conf
+%if %{?WITH_TIMEDATED}
 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.timedate1.conf
+%endif
 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.machine1.conf
 %config(noreplace) %{_sysconfdir}/systemd/bootchart.conf
 %if %{?WITH_COREDUMP}
@@ -448,7 +460,9 @@ fi
 %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
 %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
 %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
+%if %{?WITH_TIMEDATED}
 %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
+%endif
 %{_datadir}/dbus-1/system-services/org.freedesktop.machine1.service
 %dir %{_datadir}/polkit-1
 %dir %{_datadir}/polkit-1/actions
@@ -456,7 +470,9 @@ fi
 %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
 %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
 %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
+%if %{?WITH_TIMEDATED}
 %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
+%endif
 %{_datadir}/polkit-1/actions/org.freedesktop.machine1.policy
 %dir %{_datadir}/factory/
 %dir %{_datadir}/factory/etc