From 0a29f52a43c7025d37aa40895424b56773cc2c97b26f30c48339b3b1faffe0d9 Mon Sep 17 00:00:00 2001 From: Marcus Schaefer Date: Tue, 17 Sep 2019 11:36:21 +0000 Subject: [PATCH] =?UTF-8?q?-=20Bump=20version:=209.18.15=20=C3=A2=E2=80=A0?= =?UTF-8?q?=E2=80=99=209.18.16?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix modules omission for dracut based initrds This commit fixes a regression introduced in 07ea23a4. In OEM images the dracut modules were not properly omitted as the code was evaluating the wrong variable. Fixes #1201 - Fix GPT to MBR convertion This commit swaps the order of the command in gpt to mbr convertion in partitioner.gpt.set_mbr method. sgdisk by default converts the partition table from MBR to GPT in memory. The change is never applied unless you provide the -g option forcing to overwrite the partition table format. If sgdisk does the convertion in memory and the user does not provide the -g flag it returns an error code. The solution applied in this commit is to just run the GPT to MBR convertion as the last sgdisk command and change partition type before running the convertion. OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=150 --- python-kiwi.changes | 34 ++++++++++++++++++++++++++++++++++ python-kiwi.spec | 2 +- python-kiwi.tar.gz | 4 ++-- 3 files changed, 37 insertions(+), 3 deletions(-) diff --git a/python-kiwi.changes b/python-kiwi.changes index eddd8e5..5a120b0 100644 --- a/python-kiwi.changes +++ b/python-kiwi.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Tue Sep 17 13:32:32 CEST 2019 - Marcus Schäfer + +- Bump version: 9.18.15 → 9.18.16 + +------------------------------------------------------------------- +Tue Sep 17 13:04:00 CEST 2019 - David Cassany + +- Fix modules omission for dracut based initrds + + This commit fixes a regression introduced in 07ea23a4. In OEM images + the dracut modules were not properly omitted as the code was evaluating + the wrong variable. + + Fixes #1201 + +------------------------------------------------------------------- +Fri Sep 13 18:01:40 CEST 2019 - David Cassany + +- Fix GPT to MBR convertion + + This commit swaps the order of the command in gpt to mbr convertion + in partitioner.gpt.set_mbr method. + + sgdisk by default converts the partition table from MBR to GPT in memory. + The change is never applied unless you provide the -g option forcing to + overwrite the partition table format. If sgdisk does the convertion in + memory and the user does not provide the -g flag it returns an error + code. + + The solution applied in this commit is to just run the GPT to MBR + convertion as the last sgdisk command and change partition type before + running the convertion. + ------------------------------------------------------------------- Fri Sep 13 11:06:10 CEST 2019 - Marcus Schäfer diff --git a/python-kiwi.spec b/python-kiwi.spec index 786a089..4a0b2eb 100644 --- a/python-kiwi.spec +++ b/python-kiwi.spec @@ -43,7 +43,7 @@ %endif Name: python-kiwi -Version: 9.18.15 +Version: 9.18.16 Provides: kiwi-schema = 7.1 Release: 0 Url: https://github.com/SUSE/kiwi diff --git a/python-kiwi.tar.gz b/python-kiwi.tar.gz index 7eda0d5..9ae5c17 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:a4d5b0e7a919ff17f02be3ccd08c4f4d69b48e5135906dc97153d996010a5697 -size 1626911 +oid sha256:f0f297d33d2f95348e99d0cf0c90924dd8ba8a36daea61c6eea58fc93ea4b17e +size 1628177