nodist_udevrules_DATA += \
src/login/71-seat.rules \
src/login/73-seat-late.rules
-else
-MULTI_USER_TARGET_WANTS += \
- user@5001.service
-endif
-dist_systemunit_DATA += \
- units/run-user-5001.mount
-
-SYSINIT_TARGET_WANTS += \
- run-user-5001.mount
+endif
polkitpolicy_in_files += \
src/login/org.freedesktop.login1.policy.in
AC_ARG_ENABLE(logind, AS_HELP_STRING([--disable-logind], [disable login daemon]))
if test "x$enable_logind" != "xno"; then
have_logind=yes
- M4_DEFINES="$M4_DEFINES -DHAVE_LOGIND"
fi
AM_CONDITIONAL(ENABLE_LOGIND, [test "$have_logind" = "yes"])
AS_IF([test "$have_logind" = "yes"], [ AC_DEFINE(HAVE_LOGIND, [1], [Logind support available]) ])
%define WITH_BACKLIGHT 0
%define WITH_TIMEDATED 0
%define WITH_RFKILL 0
-%define with_multiuser 1
%define WITH_MACHINED 0
%define WITH_DOC 0
%define WITH_HOSTNAMED 0
--with-sysvinit-path= \
--with-sysvrcnd-path= \
--with-smack-run-label=System::Privileged \
-%if ! %{?with_multiuser}
- --disable-logind \
-%endif
cc_cv_CFLAGS__flto=no
make %{?_smp_mflags} \
systemunitdir=%{_unitdir} \
/usr/bin/ln -s ../bin/systemctl %{buildroot}%{_sbindir}/runlevel
# legacy links
-%if %{?with_multiuser}
/usr/bin/ln -s loginctl %{buildroot}%{_bindir}/systemd-loginctl
-%endif
# We create all wants links manually at installation time to make sure
# they are not owned and hence overriden by rpm after the used deleted
/usr/bin/systemctl stop systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udevd.service >/dev/null 2>&1 || :
# Rename configuration files that changed their names
-%if %{?with_multiuser}
/usr/bin/mv -n %{_sysconfdir}/systemd/systemd-logind.conf %{_sysconfdir}/systemd/logind.conf >/dev/null 2>&1 || :
-%endif
/usr/bin/mv -n %{_sysconfdir}/systemd/systemd-journald.conf %{_sysconfdir}/systemd/journald.conf >/dev/null 2>&1 || :
%post
%files
%manifest %{name}.manifest
%license LICENSE.LGPL2.1 LICENSE.GPL2
-%if %{with_multiuser}
%config %{_sysconfdir}/pam.d/systemd-user
-%endif
%{_bindir}/bootctl
%{_bindir}/busctl
%{_bindir}/kernel-install
%if %{?WITH_HOSTNAMED}
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.hostname1.conf
%endif
-%if %{?with_multiuser}
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.login1.conf
-%endif
%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}/systemd/system.conf
%config(noreplace) %{_sysconfdir}/systemd/user.conf
-%if %{?with_multiuser}
%config(noreplace) %{_sysconfdir}/systemd/logind.conf
-%endif
%config(noreplace) %{_sysconfdir}/systemd/journald.conf
%config(noreplace) %{_sysconfdir}/udev/udev.conf
%{_sysconfdir}/xdg/systemd
%{_bindir}/systemd-tty-ask-password-agent
%{_bindir}/systemd-machine-id-setup
%{_bindir}/systemd-socket-activate
-%if %{?with_multiuser}
%{_bindir}/loginctl
%{_bindir}/systemd-loginctl
-%endif
%{_bindir}/journalctl
%{_bindir}/systemd-tmpfiles
%{_bindir}/systemd-nspawn
%{_bindir}/systemd-cgtop
%{_bindir}/systemd-delta
%{_bindir}/systemd-detect-virt
-%if %{?with_multiuser}
%{_bindir}/systemd-inhibit
-%endif
%{_bindir}/udevadm
%{_bindir}/systemd-escape
%{_bindir}/systemd-path
%if %{?WITH_HOSTNAMED}
%{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
%endif
-%if %{?with_multiuser}
%{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
-%endif
%{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
%if %{?WITH_TIMEDATED}
%{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
%files -n libsystemd
%manifest %{name}.manifest
%license LICENSE.LGPL2.1
-%if %{?with_multiuser}
%{_libdir}/security/pam_systemd.so
-%endif
%{_libdir}/libsystemd.so.*
%{_libdir}/libudev.so.*
%{_libdir}/libnss_myhostname.so.2