--- /dev/null
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Default target
+Documentation=man:systemd.special(7)
+Requires=graphical.target
+After=multi-user.target
+Conflicts=rescue.target
+AllowIsolate=yes
--- /dev/null
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Default target
+Documentation=man:systemd.special(7)
+Requires=multi-user.target
+After=multi-user.target
+Conflicts=rescue.target
+AllowIsolate=yes
Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
Source1: pamconsole-tmp.conf
Source2: %{name}-rpmlintrc
+Source3: default.target
+Source4: default.target.ivi
Source1001: systemd.manifest
BuildRequires: gperf
BuildRequires: hwdata
install -m644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d/
-rm -rf %{buildroot}/%{_prefix}/lib/systemd/user/default.target
+rm -f %{buildroot}/%{_prefix}/lib/systemd/system/default.target
+install -m 755 -d %{buildroot}/%{_prefix}/lib/systemd/system
+%if "%{profile}" != "ivi"
+install -m 644 %{SOURCE3} %{buildroot}/%{_prefix}/lib/systemd/system/
+%else
+install -m 644 %{SOURCE4} %{buildroot}/%{_prefix}/lib/systemd/system/default.target
+%endif
rm -rf %{buildroot}/%{_docdir}/%{name}
remote-fs.target \
systemd-readahead-replay.service \
systemd-readahead-collect.service >/dev/null 2>&1 || :
-
- /usr/bin/rm -f /etc/systemd/system/default.target >/dev/null 2>&1 || :
fi
%post -n libsystemd -p /sbin/ldconfig
%{_prefix}/lib/systemd/user/busnames.target
%exclude %{_prefix}/lib/systemd/network/80-container-ve.network
%exclude %{_prefix}/lib/systemd/network/80-container-host0.network
+%{_prefix}/lib/systemd/user/default.target
%{_prefix}/lib/systemd/network/99-default.link
%exclude %{_prefix}/lib/systemd/system-preset/90-systemd.preset