Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
libguestfs
0a55098f-builder-repository-fix-compute_short_i...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0a55098f-builder-repository-fix-compute_short_id-for-sles-X.0.patch of Package libguestfs
From 0a55098f661457b3a4e17b8f5cdd7540d53aec32 Mon Sep 17 00:00:00 2001 From: Pino Toscano <ptoscano@redhat.com> Date: Thu, 22 Feb 2018 18:39:37 +0100 Subject: [PATCH] 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" when major = 0 -> + | "sles" when minor = 0 -> sprintf "%s%d" distro major | "sles" -> sprintf "%s%dsp%d" distro major minor -- 2.16.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor