Name: systemd
# Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
Version: 208
-Release: 7
+Release: 9
Epoch: 1
License: GPL v2+ (udev), LGPL v2.1+ (the rest)
Group: Base
Patch12: proc-hidepid.patch
Patch14: dont-hash-null-keys.patch
Patch15: hibernate-to-file.patch
+Patch16: systemd-configfs.patch
+Patch17: pld-boot_efi_mount.patch
URL: http://www.freedesktop.org/wiki/Software/systemd
BuildRequires: acl-devel
BuildRequires: attr-devel
# possible cause of infinite loop inside systemd-login
#patch14 -p1
%patch15 -p1
+%patch16 -p1
+%patch17 -p1
cp -p %{SOURCE2} src/systemd_booted.c
%build
# Enable the services we install by default.
/bin/systemctl enable \
- getty@.service \
network.service \
remote-fs.target \
systemd-readahead-replay.service \
%preun units
if [ $1 -eq 0 ] ; then
/bin/systemctl disable \
- getty@.service \
network.service \
remote-fs.target \
systemd-readahead-replay.service \
fi
fi
+%triggerpostun units -- systemd-units < 1:208-9
+# remove buggy symlink
+if [ -L /etc/systemd/system/getty.target.wants/getty@.service ] ; then
+ rm -f /etc/systemd/system/getty.target.wants/getty@.service || :
+fi
+
%post inetd
%systemd_reload
# Do not change it to restart, we only want to start new services here