Neil Hanlon
631962c0e8
Add detection support for Rocky Linux (CentOS/RHEL-like)
...
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2030709
Thanks: label@rockylinux.org
---
RWMJ notes: I fixed the original patch so it compiled. This patch
sets osinfo to "rocky8", which doesn't exist in the osinfo db yet.
Arguably we might want to set this to "centos8", but we can see what
libosinfo decides to do. Here is partial virt-inspector output on a
Rocky Linux disk image:
$ ./run virt-inspector -a disk.img
<?xml version="1.0"?>
<operatingsystems>
<operatingsystem>
<root>/dev/rl/root</root>
<name>linux</name>
<arch>x86_64</arch>
<distro>rocky</distro>
<product_name>Rocky Linux 8.5 (Green Obsidian)</product_name>
<major_version>8</major_version>
<minor_version>5</minor_version>
<package_format>rpm</package_format>
<package_management>dnf</package_management>
<hostname>localhost.localdomain</hostname>
<osinfo>rocky8</osinfo>
<mountpoints>
<mountpoint dev="/dev/rl/root">/</mountpoint>
<mountpoint dev="/dev/sda1">/boot</mountpoint>
</mountpoints>
<filesystems>
<filesystem dev="/dev/rl/root">
<type>xfs</type>
<uuid>fed8331f-9f25-40cd-883e-090cd640559d</uuid>
</filesystem>
<filesystem dev="/dev/rl/swap">
<type>swap</type>
<uuid>6da2c121-ea7d-49ce-98a3-14a37fceaadd</uuid>
</filesystem>
<filesystem dev="/dev/sda1">
<type>xfs</type>
<uuid>4efafe61-2d20-4d93-8055-537e09bfd033</uuid>
</filesystem>
</filesystems>
2021-12-10 09:09:47 +00:00
..
2021-11-26 10:16:05 +01:00
2019-05-30 09:12:32 +02:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 22:31:22 +01:00
2020-03-06 19:32:32 +00:00
2017-07-27 17:31:41 +01:00
2021-03-22 14:26:57 +00:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2021-03-26 16:06:03 +00:00
2020-03-06 19:32:32 +00:00
2017-07-10 17:01:59 +01:00
2017-07-27 17:31:41 +01:00
2021-04-08 11:36:40 +01:00
2016-01-22 09:12:17 +00:00
2017-07-27 17:31:41 +01:00
2016-07-26 10:43:45 +01:00
2019-11-28 13:09:21 +01:00
2020-03-06 19:32:32 +00:00
2020-10-12 10:44:08 +01:00
2018-02-06 17:27:23 +01:00
2018-02-06 17:27:23 +01:00
2020-03-06 19:32:32 +00:00
2021-03-16 11:24:37 +00:00
2017-09-16 22:27:16 +01:00
2018-01-09 12:17:53 +00:00
2020-03-30 10:40:13 +01:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2017-08-08 17:50:23 +01:00
2014-11-26 16:15:47 +00:00
2021-02-22 10:37:49 +00:00
2020-03-06 19:32:32 +00:00
2021-03-22 14:56:10 +00:00
2020-03-06 19:32:32 +00:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2020-03-06 19:32:32 +00:00
2017-07-10 17:01:59 +01:00
2020-03-06 19:32:32 +00:00
2018-04-19 11:30:29 +02:00
2016-07-26 10:43:45 +01:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2016-07-26 10:43:45 +01:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2015-10-27 17:25:49 +00:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2016-02-04 11:25:56 +01:00
2020-03-06 19:32:32 +00:00
2021-04-08 11:36:40 +01:00
2020-03-06 19:32:32 +00:00
2017-09-16 22:27:16 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2021-09-07 14:48:03 +01:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2021-12-10 09:09:47 +00:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2021-12-10 09:09:47 +00:00
2020-03-06 19:32:32 +00:00
2021-12-10 09:09:47 +00:00
2021-12-10 09:09:47 +00:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2021-04-15 09:41:35 +01:00
2016-04-12 20:59:40 +01:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2021-05-13 09:19:31 +01:00
2017-07-27 17:31:41 +01:00
2018-02-12 11:24:06 +01:00
2020-03-06 19:32:32 +00:00
2021-05-13 12:04:41 +01:00
2020-03-06 19:32:32 +00:00
2021-11-26 10:17:54 +01:00
2017-07-27 17:31:41 +01:00
2021-09-07 14:53:06 +01:00
2020-10-12 10:44:29 +01:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2018-07-26 12:02:59 +01:00
2021-02-22 11:04:15 +00:00
2020-03-06 19:32:32 +00:00
2021-09-09 14:52:03 +02:00
2021-11-09 10:20:37 +00:00
2021-11-09 10:20:37 +00:00
2021-11-26 10:16:05 +01:00
2017-03-03 11:32:37 +00:00
2017-07-27 17:31:41 +01:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2017-08-08 17:50:23 +01:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2021-01-05 10:31:00 +00:00
2021-11-26 10:16:06 +01:00
2021-11-26 10:17:05 +01:00
2020-03-06 19:32:32 +00:00
2015-01-20 16:09:53 +01:00
2020-03-06 19:32:32 +00:00
2021-03-27 09:31:00 +00:00
2021-03-26 16:26:00 +00:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2020-07-30 13:58:35 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-27 17:31:41 +01:00
2017-07-10 17:01:59 +01:00
2020-03-06 19:32:32 +00:00
2014-11-05 14:50:54 +00:00
2020-03-06 19:32:32 +00:00
2017-07-27 17:31:41 +01:00
2020-03-06 19:32:32 +00:00
2017-07-27 17:31:41 +01:00
2017-07-27 22:31:22 +01:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2021-02-22 10:38:19 +00:00
2018-05-15 11:15:54 +01:00
2015-07-02 16:08:44 +01:00
2020-03-06 19:32:32 +00:00
2021-11-09 10:20:37 +00:00
2021-09-07 15:55:48 +01:00
2021-11-26 10:17:05 +01:00
2021-11-26 10:17:05 +01:00
2015-10-05 14:28:33 +01:00
2021-09-07 15:55:43 +01:00
2021-03-30 12:56:58 +01:00
2021-10-12 16:48:04 +02:00
2020-03-06 19:32:32 +00:00
2017-07-27 17:31:41 +01:00