[Libosinfo] [osinfo-db.libosinfo] Avoid recommended resources being smaller than minimum resources

Fabiano Fidêncio fabiano at fidencio.org
Fri Nov 17 14:53:25 UTC 2017


Those 2 patches fixes a problem originally found when trying to
customize the disk size of RHEL when using GNOME Boxes.

The first one adjusts the values according to:
https://access.redhat.com/articles/rhel-limits

The second one adds a test to avoid any regression on this part.

Fabiano Fidêncio (2):
  (osinfo-db) rhel,centos: Fix recommended resources
  (libosinfo) tests: Add test-os-resources

 osinfo-db/data/os/centos.org/centos-7.0.xml.in      | 4 ++--
 osinfo-db/data/os/redhat.com/rhel-7.0.xml.in        | 6 +++---
 osinfo-db/data/os/redhat.com/rhel-7.1.xml.in        | 6 +++---
 osinfo-db/data/os/redhat.com/rhel-7.2.xml.in        | 6 +++---
 osinfo-db/data/os/redhat.com/rhel-7.3.xml.in        | 6 +++---
 osinfo-db/data/os/redhat.com/rhel-7.4.xml.in        | 6 +++---
 osinfo-db/data/os/redhat.com/rhel-atomic-7.0.xml.in | 4 ++--
 osinfo-db/data/os/redhat.com/rhel-atomic-7.1.xml.in | 4 ++--
 osinfo-db/data/os/redhat.com/rhel-atomic-7.2.xml.in | 4 ++--
 9 files changed, 23 insertions(+), 23 deletions(-)

 libosinfo/tests/Makefile.am         |   5 ++
 libonsinfo/tests/test-os-resources.c | 184 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 189 insertions(+)

-- 
2.13.6




More information about the Libosinfo mailing list