diff --git a/systemd.spec b/systemd.spec index c0f677d..555674a 100644 --- a/systemd.spec +++ b/systemd.spec @@ -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 255.2-2mamba +- don't require dracut for base rootfs + * Sun Dec 24 2023 Automatic Build System 255.2-1mamba - automatic version update by autodist