[guestfs-tools PATCH 0/2] refresh "virt-inspector.rng", recognize kylin
These patches (for guestfs-tools) are not strictly necessary for solving RHBZ#1995391. However, "virt-inspector.rng" is supposed to validate virt-inspector output, and so, when virt-inspector learns about a new distro (via libguestfs) and its output broadens, we might want to refresh "virt-inspector.rng" too. Thanks, Laszlo Laszlo Ersek (2): virt-inspector.rng: recognize "kalilinux" and "msdos" distros virt-inspector.rng: Add support for Kylin (RHBZ#1995391). inspector/virt-inspector.rng | 3 +++ 1 file changed, 3 insertions(+) base-commit: a4930f5fad82e5358d565b8cf3610970e9646259 -- 2.19.1.3.g30247aa5d201
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> --- inspector/virt-inspector.rng | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inspector/virt-inspector.rng b/inspector/virt-inspector.rng index 7807e4d7c4e3..0a81538e7c49 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.19.1.3.g30247aa5d201
Similar-to: b8bc491ff59cc1cc24a1935be99cee0c5edfb5be Signed-off-by: Laszlo Ersek <lersek@redhat.com> --- inspector/virt-inspector.rng | 1 + 1 file changed, 1 insertion(+) diff --git a/inspector/virt-inspector.rng b/inspector/virt-inspector.rng index 0a81538e7c49..5b460b364593 100644 --- a/inspector/virt-inspector.rng +++ b/inspector/virt-inspector.rng @@ -88,6 +88,7 @@ <value>frugalware</value> <value>gentoo</value> <value>kalilinux</value> + <value>kylin</value> <value>linuxmint</value> <value>mageia</value> <value>mandriva</value> -- 2.19.1.3.g30247aa5d201
ACK series It's kind of annoying that we need to keep this file up to date with libguestfs (considering they are now separate projects). But here we are ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
On 10/14/21 13:57, Richard W.M. Jones wrote:
ACK series
It's kind of annoying that we need to keep this file up to date with libguestfs (considering they are now separate projects). But here we are ...
Merged as commit range a4930f5fad82..f041a5e24d8c. Thank you! Laszlo
participants (2)
-
Laszlo Ersek -
Richard W.M. Jones