From 0568e9cdcfbb5bafc9d3ab8acbfd2a288a82a500f0741f5ea5eda42fd019558e Mon Sep 17 00:00:00 2001 From: Marcus Schaefer Date: Fri, 4 May 2018 14:43:35 +0000 Subject: [PATCH] =?UTF-8?q?-=20Bump=20version:=209.14.6=20=E2=86=92=209.14?= =?UTF-8?q?.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixed check for volume group in use The former implementation evaluates the output of the vgs command and set the volume group as in use if one of the listed volume groups on the host contains the group name set by the image description. This would also match if the group name set in the image description is e.g 'System' and the a volume group on the host with name 'SystemVG' exists. However a conflict only exists on exact match of the name. The proposed fix is to use the --select feature from vgs and let it show information on exact match of the vg_name field. The code in kiwi then just evaluates if the selection by vgs has a value or not. This Fixes #721 - Fix setup of kiwi_lvm profile variable kiwi_lvm was always set to true if a volume management system is in use. However it should only be set to true if the selected volume management system is lvm. The same applies to the kiwi_lvmgroup variable which also only makes sense if the lvm volume management system is used. This Fixes bsc#1090427 OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=104 --- python-kiwi.changes | 36 +++++++++++++++++++++++++++++++++++- python-kiwi.spec | 2 +- python-kiwi.tar.gz | 4 ++-- 3 files changed, 38 insertions(+), 4 deletions(-) diff --git a/python-kiwi.changes b/python-kiwi.changes index 0cf3c91..05b85e4 100644 --- a/python-kiwi.changes +++ b/python-kiwi.changes @@ -1,6 +1,40 @@ +------------------------------------------------------------------- +Fri May 4 10:52:28 CEST 2018 - ms@suse.de + +- Bump version: 9.14.6 → 9.14.7 + +------------------------------------------------------------------- +Fri May 4 10:23:12 CEST 2018 - ms@suse.de + +- Fixed check for volume group in use + + The former implementation evaluates the output of the vgs + command and set the volume group as in use if one of the + listed volume groups on the host contains the group name + set by the image description. This would also match if the + group name set in the image description is e.g 'System' and + the a volume group on the host with name 'SystemVG' exists. + However a conflict only exists on exact match of the name. + The proposed fix is to use the --select feature from vgs + and let it show information on exact match of the vg_name + field. The code in kiwi then just evaluates if the selection + by vgs has a value or not. This Fixes #721 + +------------------------------------------------------------------- +Fri May 4 09:07:04 CEST 2018 - ms@suse.de + +- Fix setup of kiwi_lvm profile variable + + kiwi_lvm was always set to true if a volume management system + is in use. However it should only be set to true if the + selected volume management system is lvm. The same applies + to the kiwi_lvmgroup variable which also only makes sense + if the lvm volume management system is used. + This Fixes bsc#1090427 + ------------------------------------------------------------------- Mon Apr 30 16:12:52 CEST 2018 - ms@suse.de - + - Bump version: 9.14.5 → 9.14.6 ------------------------------------------------------------------- diff --git a/python-kiwi.spec b/python-kiwi.spec index 7f70a1c..0641c37 100644 --- a/python-kiwi.spec +++ b/python-kiwi.spec @@ -38,7 +38,7 @@ %endif Name: python-kiwi -Version: 9.14.6 +Version: 9.14.7 Provides: kiwi-schema = 6.6 Release: 0 Url: https://github.com/SUSE/kiwi diff --git a/python-kiwi.tar.gz b/python-kiwi.tar.gz index 72ba44d..e64a68b 100644 --- a/python-kiwi.tar.gz +++ b/python-kiwi.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1f2daf7dd9410c34bc3f2b7efe949ead486d8aa737e9493ada5816bcabec7806 -size 524501 +oid sha256:f9e6bb140839eac2a37964313865b132fd7a312d921b641ac2bbf3ef8697c0a4 +size 522348