From 677a5616a9fdffb9e3726f259f44a5f40255dd62 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Jul 11 2024 09:46:05 +0000 Subject: Update dracut workaround Fedora 40 and RHEL 10 both now have dracut 101. --- diff --git a/systemd.spec b/systemd.spec index a756dba..3bb3c13 100644 --- a/systemd.spec +++ b/systemd.spec @@ -108,7 +108,7 @@ GIT_DIR=../../src/systemd/.git git diffab -M v233..master@{2017-06-15} -- hwdb/[ # Reverts https://github.com/systemd/systemd/commit/5b44c81ff868a4d1b78a74e4770f7a8b2f1d0f91. Patch0001: 0001-Revert-machined-add-varlink-interface-for-registerin.patch -%if 0%{?fedora} < 41 +%if ! (0%{?fedora} >= 40 || 0%{?rhel} >= 10) # Work-around for dracut issue: run generators directly when we are in initrd # https://bugzilla.redhat.com/show_bug.cgi?id=2164404 # Drop when dracut-060 is available.