diff --git a/SOURCES/0093.patch b/SOURCES/0093.patch index 470f61a..a3db552 100644 --- a/SOURCES/0093.patch +++ b/SOURCES/0093.patch @@ -40,3 +40,4 @@ index 4c5176a1..86e95449 100755 fi if [[ $do_strip = yes ]] && ! [[ $DRACUT_FIPS_MODE ]]; then + diff --git a/SOURCES/0094.patch b/SOURCES/0094.patch new file mode 100644 index 0000000..3dab463 --- /dev/null +++ b/SOURCES/0094.patch @@ -0,0 +1,27 @@ +From 41739f232f3f353d45206ceee89ef0bc1c544f31 Mon Sep 17 00:00:00 2001 +From: Kairui Song +Date: Mon, 3 Aug 2020 16:51:54 +0800 +Subject: [PATCH] 90kernel-modules: add pci_hyperv + +Install pci_hyperv for SR-IOV devices on hyperv machines. + +(cherry picked from commit f7ad1479f277ddffcc501bd08919a4a4a6facc26) + +Resolves: #1854001 +--- + modules.d/90kernel-modules/module-setup.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh +index c91ba10c..86852038 100755 +--- a/modules.d/90kernel-modules/module-setup.sh ++++ b/modules.d/90kernel-modules/module-setup.sh +@@ -56,7 +56,7 @@ installkernel() { + instmods \ + yenta_socket \ + atkbd i8042 usbhid firewire-ohci pcmcia hv-vmbus \ +- virtio virtio_ring virtio_pci virtio_scsi \ ++ virtio virtio_ring virtio_pci virtio_scsi pci_hyperv \ + "=drivers/pcmcia" + + if [[ "$(uname -m)" == arm* || "$(uname -m)" == aarch64 ]]; then diff --git a/SPECS/dracut.spec b/SPECS/dracut.spec index 8908af4..8c5917d 100644 --- a/SPECS/dracut.spec +++ b/SPECS/dracut.spec @@ -5,7 +5,7 @@ # strip the automatically generated dep here and instead co-own the # directory. %global __requires_exclude pkg-config -%define dist_free_release 94.git20200709 +%define dist_free_release 95.git20200804 Name: dracut Version: 049 @@ -121,6 +121,7 @@ Patch90: 0090.patch Patch91: 0091.patch Patch92: 0092.patch Patch93: 0093.patch +Patch94: 0094.patch Source1: https://www.gnu.org/licenses/lgpl-2.1.txt @@ -581,6 +582,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 Aug 04 2020 Lukas Nykryn - 049-95.git20200804 +- 90kernel-modules: add pci_hyperv + * Thu Jul 09 2020 Lukas Nykryn - 049-94.git20200709 - dracut.sh: Move the library workaround after squash - dracut.sh: FIPS workaround for openssl-libs on Fedora/RHEL