rename configuration files to their new names
This commit is contained in:
parent
973c8d4ab5
commit
f55ccc9bda
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
/systemd-*/
|
||||||
/systemd-4.tar.bz2
|
/systemd-4.tar.bz2
|
||||||
/systemd-5.tar.bz2
|
/systemd-5.tar.bz2
|
||||||
/systemd-6.tar.bz2
|
/systemd-6.tar.bz2
|
||||||
@ -12,9 +13,9 @@
|
|||||||
/systemd-15.tar.bz2
|
/systemd-15.tar.bz2
|
||||||
/systemd-16.tar.bz2
|
/systemd-16.tar.bz2
|
||||||
/systemd-17.tar.bz2
|
/systemd-17.tar.bz2
|
||||||
.build-*.log
|
/.build-*.log
|
||||||
x86_64/
|
/x86_64/
|
||||||
systemd-*src.rpm
|
/systemd-*src.rpm
|
||||||
/systemd-18.tar.bz2
|
/systemd-18.tar.bz2
|
||||||
/systemd-19.tar.bz2
|
/systemd-19.tar.bz2
|
||||||
/systemd-20.tar.bz2
|
/systemd-20.tar.bz2
|
||||||
|
@ -37,7 +37,7 @@ BuildRequires: libtool
|
|||||||
Requires(post): authconfig
|
Requires(post): authconfig
|
||||||
Requires(post): coreutils
|
Requires(post): coreutils
|
||||||
Requires(post): gawk
|
Requires(post): gawk
|
||||||
Requires(pre): fileutils
|
Requires(pre): coreutils
|
||||||
Requires(pre): /usr/bin/getent /usr/sbin/groupadd
|
Requires(pre): /usr/bin/getent /usr/sbin/groupadd
|
||||||
Requires: dbus
|
Requires: dbus
|
||||||
Requires: hwdata
|
Requires: hwdata
|
||||||
@ -228,6 +228,10 @@ getent group dialout >/dev/null || /usr/sbin/groupadd -g 18 dialout || :
|
|||||||
getent group floppy >/dev/null || /usr/sbin/groupadd -g 19 floppy || :
|
getent group floppy >/dev/null || /usr/sbin/groupadd -g 19 floppy || :
|
||||||
systemctl stop systemd-udev.service systemd-udev-control.socket systemd-udev-kernel.socket >/dev/null 2>&1 || :
|
systemctl stop systemd-udev.service systemd-udev-control.socket systemd-udev-kernel.socket >/dev/null 2>&1 || :
|
||||||
|
|
||||||
|
# Rename configuration files that changed their names
|
||||||
|
/usr/bin/mv -n %{_sysconfdir}/systemd/systemd-logind.conf %{_sysconfdir}/systemd/logind.conf >/dev/null 2>&1 || :
|
||||||
|
/usr/bin/mv -n %{_sysconfdir}/systemd/systemd-journald.conf %{_sysconfdir}/systemd/journald.conf >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
/usr/bin/systemd-machine-id-setup > /dev/null 2>&1 || :
|
/usr/bin/systemd-machine-id-setup > /dev/null 2>&1 || :
|
||||||
|
Loading…
Reference in New Issue
Block a user