From d423d1f3247215f9d6ecde0f2169fa72d2571414 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 11 Jan 2024 21:12:59 +0100 Subject: [PATCH] don't require dracut for base rootfs [release 255.2-2mamba;Wed Jan 10 2024] --- systemd.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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