don't require dracut for base rootfs [release 255.2-2mamba;Wed Jan 10 2024]

This commit is contained in:
Silvan Calarco 2024-01-11 21:12:59 +01:00
parent 10b88612d2
commit d423d1f324

View File

@ -27,7 +27,7 @@
Name: systemd
Epoch: 2
Version: 255.2
Release: 1mamba
Release: 2mamba
Summary: A system and service manager compatible with SysV and LSB init scripts
Group: System/Configuration
Vendor: openmamba
@ -111,7 +111,6 @@ BuildRequires: vala-tools
Conflicts: sysvinit
Conflicts: initscripts-sysv5
Requires: dbus >= 1.13.2
Requires: dracut >= 059-4mamba
Requires: kbd
Requires: libkmod >= 29-2mamba
Requires: liblockdev
@ -515,9 +514,9 @@ if [ $1 -ge 1 ]; then
KVER=`uname -r`
INITRAMFS=/boot/initramfs-$KVER.img
KERNEL=/boot/vmlinuz-$KVER
[ -e $INITRAMFS -a /etc/systemd/system.conf -nt $INITRAMFS ] || continue
[ -e $KERNEL -a -e /usr/sbin/mkinitrd ] || continue
dracut $INITRAMFS $KVER -H -f -q
if [ -e $INITRAMFS -a /etc/systemd/system.conf -nt $INITRAMFS ]; then
[ -e $KERNEL -a -e /usr/bin/dracut ] && dracut $INITRAMFS $KVER -H -f -q
fi
fi
:
@ -857,6 +856,9 @@ systemctl daemon-reload &>/dev/null || :
%{_libdir}/pkgconfig/libudev.pc
%changelog
* Wed Jan 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 255.2-2mamba
- don't require dracut for base rootfs
* Sun Dec 24 2023 Automatic Build System <autodist@mambasoft.it> 255.2-1mamba
- automatic version update by autodist