From 5206c1eb6087db23a244c6a1e3868a689ea579cf Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Dec 21 2020 08:09:58 +0000 Subject: import dracut-049-95.git20200804.el8_3.4 --- diff --git a/SOURCES/0101.patch b/SOURCES/0101.patch index a63f512..27ad4a6 100644 --- a/SOURCES/0101.patch +++ b/SOURCES/0101.patch @@ -26,3 +26,4 @@ index 936c5dc7..b0183ffe 100755 mkdir -p /etc/multipath/multipath.conf.d mpathconf --enable fi + diff --git a/SOURCES/0102.patch b/SOURCES/0102.patch new file mode 100644 index 0000000..7543729 --- /dev/null +++ b/SOURCES/0102.patch @@ -0,0 +1,24 @@ +From ab6377eebef8e811dd3fd6d43e2af14dbada75d9 Mon Sep 17 00:00:00 2001 +From: Lukas Nykryn +Date: Tue, 15 Dec 2020 14:04:24 +0100 +Subject: [PATCH] dracut-systemd: create the initrd.target.wants directory + +kexec-tools depends on the existence of this directory in RHEL8 + +Resolves: #1888779 +--- + modules.d/98dracut-systemd/module-setup.sh | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/modules.d/98dracut-systemd/module-setup.sh b/modules.d/98dracut-systemd/module-setup.sh +index 1387433a..9a0f476c 100755 +--- a/modules.d/98dracut-systemd/module-setup.sh ++++ b/modules.d/98dracut-systemd/module-setup.sh +@@ -43,6 +43,7 @@ install() { + + inst_script "$moddir/rootfs-generator.sh" $systemdutildir/system-generators/dracut-rootfs-generator + ++ mkdir -p "${initdir}/$systemdsystemunitdir/initrd.target.wants" + for i in \ + dracut-cmdline.service \ + dracut-cmdline-ask.service \ diff --git a/SPECS/dracut.spec b/SPECS/dracut.spec index 4b7a8e5..3ad7ae8 100644 --- a/SPECS/dracut.spec +++ b/SPECS/dracut.spec @@ -9,7 +9,7 @@ Name: dracut Version: 049 -Release: %{dist_free_release}%{?dist}.3 +Release: %{dist_free_release}%{?dist}.4 Summary: Initramfs generator using udev %if 0%{?fedora} || 0%{?rhel} @@ -129,6 +129,7 @@ Patch98: 0098.patch Patch99: 0099.patch Patch100: 0100.patch Patch101: 0101.patch +Patch102: 0102.patch Source1: https://www.gnu.org/licenses/lgpl-2.1.txt @@ -589,6 +590,9 @@ echo '# Since rhel-8.3 dracut moved to use NetworkManager add_dracutmodules+=" network-legacy "' > /etc/dracut.conf.d/50-network-legacy.conf %changelog +* Tue Dec 15 2020 Lukas Nykryn - 049-95.git20200804.4 +- dracut-systemd: create the initrd.target.wants directory + * Mon Nov 30 2020 Lukas Nykryn - 049-95.git20200804.3 - multipathd: fix the comparison