Blob Blame History Raw
From e8148241cfd6019e493269580c7fe74d62e0fbdc Mon Sep 17 00:00:00 2001
From: Laszlo Ersek <lersek@redhat.com>
Date: Wed, 13 Oct 2021 18:30:42 +0200
Subject: [PATCH 4/5] virt-inspector.rng: recognize "kalilinux" and "msdos"
 distros

As of libguestfs @ e597fc5317e0, the "string_of_distro" function
[daemon/inspect_types.ml] may output "kalilinux" and "msdos" beyond what
"virt-inspector.rng" currently accepts. Add these distro identifiers to
"virt-inspector.rng" now.

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20211013163043.21837-2-lersek@redhat.com>
Acked-by: Richard W.M. Jones <rjones@redhat.com>
(cherry picked from commit aefdf0dcd4954b822e6a098f7258899f1b6a72b7)
---
 inspector/virt-inspector.rng | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/inspector/virt-inspector.rng b/inspector/virt-inspector.rng
index 7807e4d7..0a81538e 100644
--- a/inspector/virt-inspector.rng
+++ b/inspector/virt-inspector.rng
@@ -87,10 +87,12 @@
         <value>freedos</value>
         <value>frugalware</value>
         <value>gentoo</value>
+        <value>kalilinux</value>
         <value>linuxmint</value>
         <value>mageia</value>
         <value>mandriva</value>
         <value>meego</value>
+        <value>msdos</value>
         <value>neokylin</value>
         <value>netbsd</value>
         <value>openbsd</value>
-- 
2.31.1