search for: bb440563b

Displaying 3 results from an estimated 3 matches for "bb440563b".

2018 Feb 22
1
[PATCH 1.38.x] builder-repository: fix compute_short_id for sles X.0
It needs to check for the minor version, not major version. Fixes commit a442d2c3217f709128f0e377f88649fb6ba90f45. --- builder/repository_main.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/repository_main.ml b/builder/repository_main.ml index bb440563b..9932fbae4 100644 --- a/builder/repository_main.ml +++ b/builder/repository_main.ml @@ -178,7 +178,7 @@ let compute_short_id distro major minor = sprintf "%s%d" distro major | ("fedora"|"mageia") -> sprintf "%s%d" distro major - | "sles&...
2018 Feb 21
0
[PATCH] make-repository: use inspect_get_osinfo
Use the newly added API instead of the local implementation. --- builder/repository_main.ml | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/builder/repository_main.ml b/builder/repository_main.ml index bb440563b..c020a6413 100644 --- a/builder/repository_main.ml +++ b/builder/repository_main.ml @@ -170,23 +170,6 @@ let get_disk_image_info filepath = size = object_get_number "virtual-size" infos } -let compute_short_id distro major minor = - match distro with - | "centos" whe...
2018 Feb 21
3
[PATCH] New API: inspect_get_osinfo
Try to guess the possible osinfo-db short ID for the specified OS. Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1544842 --- generator/actions_inspection.ml | 14 ++++++++ lib/Makefile.am | 1 + lib/inspect-osinfo.c | 75 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 lib/inspect-osinfo.c diff --git