mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0050-add-versioned-directory-for-guest-agent-on-EL8.patch

46b2f6
From ebc6680ab1030c763a6c4764f6045734c41f0e7f Mon Sep 17 00:00:00 2001
46b2f6
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Golembiovsk=C3=BD?= <tgolembi@redhat.com>
46b2f6
Date: Thu, 16 Jan 2020 16:05:10 +0100
46b2f6
Subject: [PATCH] add versioned directory for guest agent on EL8
46b2f6
MIME-Version: 1.0
46b2f6
Content-Type: text/plain; charset=UTF-8
46b2f6
Content-Transfer-Encoding: 8bit
46b2f6
46b2f6
There was no source directory for EL8 guest agent (only EL6 and EL7).
46b2f6
46b2f6
RHBZ#1791802
46b2f6
46b2f6
Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
46b2f6
46b2f6
(cherry picked from commit 79dd6a6bbb7e95691be18f54d601318d7d713702
46b2f6
in virt-v2v)
46b2f6
---
46b2f6
 v2v/windows_virtio.ml | 1 +
46b2f6
 1 file changed, 1 insertion(+)
46b2f6
46b2f6
diff --git a/v2v/windows_virtio.ml b/v2v/windows_virtio.ml
46b2f6
index a6dc29f2c..7be63a316 100644
46b2f6
--- a/v2v/windows_virtio.ml
46b2f6
+++ b/v2v/windows_virtio.ml
46b2f6
@@ -192,6 +192,7 @@ and install_linux_tools g inspect =
46b2f6
       (match inspect.i_major_version with
46b2f6
        | 6 -> Some "el6"
46b2f6
        | 7 -> Some "el7"
46b2f6
+       | 8 -> Some "el8"
46b2f6
        | _ -> None)
46b2f6
     | "sles" | "suse-based" | "opensuse" -> Some "lp151"
46b2f6
     | _ -> None in
46b2f6
-- 
d60042
2.25.4
46b2f6