Release 216-4mamba
This commit is contained in:
parent
101dd15c05
commit
a2cd6222d2
29
systemd.spec
29
systemd.spec
@ -23,7 +23,7 @@
|
|||||||
Name: systemd
|
Name: systemd
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Version: 216
|
Version: 216
|
||||||
Release: 2mamba
|
Release: 4mamba
|
||||||
Summary: A system and service manager compatible with SysV and LSB init scripts
|
Summary: A system and service manager compatible with SysV and LSB init scripts
|
||||||
Group: System/Configuration
|
Group: System/Configuration
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -336,7 +336,6 @@ exit 0
|
|||||||
|
|
||||||
%post -n udev
|
%post -n udev
|
||||||
if [ $1 -ge 1 ]; then
|
if [ $1 -ge 1 ]; then
|
||||||
chkconfig --add udev-post
|
|
||||||
udevadm hwdb --update
|
udevadm hwdb --update
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -355,14 +354,6 @@ groupadd nvram -g %{group_nvram} 2>/dev/null
|
|||||||
groupadd kvm -g %{group_kvm} 2>/dev/null
|
groupadd kvm -g %{group_kvm} 2>/dev/null
|
||||||
:
|
:
|
||||||
|
|
||||||
%preun -n udev
|
|
||||||
if [ $1 -eq 0 ]; then
|
|
||||||
# erase
|
|
||||||
service udev-post stop
|
|
||||||
chkconfig --del udev-post
|
|
||||||
fi
|
|
||||||
:
|
|
||||||
|
|
||||||
%post -n libudev
|
%post -n libudev
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
:
|
:
|
||||||
@ -371,6 +362,17 @@ fi
|
|||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
:
|
:
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
if [ $1 -gt 1 ]; then
|
||||||
|
# remove broken left sysv5 symlink due to migrating services to systemd
|
||||||
|
find /etc/rc*.d/* -xtype l -delete
|
||||||
|
KVER=`uname -r`
|
||||||
|
INITRAMFS=/boot/initramfs-$KVER.img
|
||||||
|
[ -e $INITRAMFS -a ${_sysconfdir}/systemd/system.conf -nt $INITRAMFS ] || continue
|
||||||
|
mkinitrd $INITRAMFS $KVER -f
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sysconfdir}/init.d/README
|
%{_sysconfdir}/init.d/README
|
||||||
@ -620,6 +622,13 @@ fi
|
|||||||
%{_datadir}/pkgconfig/udev.pc
|
%{_datadir}/pkgconfig/udev.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 216-4mamba
|
||||||
|
- remove broken sysv5 symlink left after migrating to systemd; fix mkinitrd trigger date check
|
||||||
|
|
||||||
|
* Tue Sep 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 216-3mamba
|
||||||
|
- rebuild initramfs after install
|
||||||
|
- remove old udev-post init script activation in %post and %postun
|
||||||
|
|
||||||
* Sun Sep 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 216-2mamba
|
* Sun Sep 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 216-2mamba
|
||||||
- add group systemd-journal-remote
|
- add group systemd-journal-remote
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user