]> git.pld-linux.org Git - packages/systemd.git/commitdiff
- added trigger to restore vconsole.conf post systemd-consoled removal auto/th/systemd-232-3
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 28 Feb 2017 18:39:42 +0000 (19:39 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 28 Feb 2017 18:39:42 +0000 (19:39 +0100)
- rel 3

systemd.spec

index 64bcb24a1773f3f50413adc1aec4cad52644ac65..3164e1b9a040b189d215ac20239b3918291f9e40 100644 (file)
@@ -26,7 +26,7 @@ Summary(pl.UTF-8):    systemd - zarządca systemu i usług dla Linuksa
 Name:          systemd
 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
 Version:       232
-Release:       2
+Release:       3
 Epoch:         1
 License:       GPL v2+ (udev), LGPL v2.1+ (the rest)
 Group:         Base
@@ -855,6 +855,12 @@ chmod g+s /var/log/journal
 # https://bugs.freedesktop.org/show_bug.cgi?id=89202
 /bin/getfacl -p /var/log/journal/$(cat /etc/machine-id) | grep -v '^#' | sort -u | /bin/setfacl -R --set-file=- /var/log/journal/$(cat /etc/machine-id) || :
 
+%triggerpostun -- systemd-consoled < 1:232-1
+if [ -f %{_sysconfdir}/vconsole.conf.rpmsave ]; then
+       %{__mv} -f %{_sysconfdir}/vconsole.conf %{_sysconfdir}/vconsole.conf.rpmnew
+       %{__mv} -f %{_sysconfdir}/vconsole.conf.rpmsave %{_sysconfdir}/vconsole.conf
+fi
+
 %post libs -p /sbin/ldconfig
 %postun libs -p /sbin/ldconfig
 
This page took 0.039597 seconds and 4 git commands to generate.