From 75d1d11375769aeb133be89296f77fc4fc558d30f1c3388e4b8abe6e4315fcfa Mon Sep 17 00:00:00 2001 From: Marcus Schaefer Date: Thu, 8 Jun 2017 09:02:26 +0000 Subject: [PATCH 1/2] =?UTF-8?q?-=20Bump=20version:=209.7.0=20=E2=86=92=209?= =?UTF-8?q?.7.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Refactor detection code for grub directory name The method get_grub_boot_directory_name was based on checking for the name of the grub2 install tool, but this is not always reliable because the name of the grub2 install tool has no direct connection to the grub2 path. The method changes in a way that it checks for the presence of the grub2 installation directory which is /usr/lib/grub or /usr/lib/grub2. Depending on the result the location in boot is /boot/grub or /boot/grub2 which seems to be a more reliable check - Fixup detection of grub directory name In order to put grub data to boot/grub2 or boot/grub a check for the grub2-tool vs. grub-tool name is performed. This requires access to the image root directory on a file basis which is not always applicable. When setting up the grub bootloader for e.g EFI boot on an iso image the rootfs can't be directly accessed because the iso image contains the rootfs in a compressed format. This commit refactors the check to be generic for all image types - Fixup EFI setup for iso images OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=31 --- python-kiwi.changes | 92 ++++++++++++++++++++++++++++++++++++++++++++- python-kiwi.spec | 2 +- python-kiwi.tar.gz | 4 +- 3 files changed, 94 insertions(+), 4 deletions(-) diff --git a/python-kiwi.changes b/python-kiwi.changes index 37661a0..f64faa5 100644 --- a/python-kiwi.changes +++ b/python-kiwi.changes @@ -1,6 +1,71 @@ +------------------------------------------------------------------- +Thu Jun 8 10:56:29 CEST 2017 - ms@suse.de + +- Bump version: 9.7.0 → 9.7.1 + +------------------------------------------------------------------- +Thu Jun 8 10:05:12 CEST 2017 - ms@suse.de + +- Refactor detection code for grub directory name + + The method get_grub_boot_directory_name was based on checking + for the name of the grub2 install tool, but this is not always + reliable because the name of the grub2 install tool has no + direct connection to the grub2 path. The method changes in a + way that it checks for the presence of the grub2 installation + directory which is /usr/lib/grub or /usr/lib/grub2. Depending + on the result the location in boot is /boot/grub or /boot/grub2 + which seems to be a more reliable check + +------------------------------------------------------------------- +Wed Jun 7 22:37:07 CEST 2017 - ms@suse.de + +- Fixup detection of grub directory name + + In order to put grub data to boot/grub2 or boot/grub a check for + the grub2-tool vs. grub-tool name is performed. This requires + access to the image root directory on a file basis which is not always + applicable. When setting up the grub bootloader for e.g EFI boot on + an iso image the rootfs can't be directly accessed because the iso + image contains the rootfs in a compressed format. This commit + refactors the check to be generic for all image types + +------------------------------------------------------------------- +Wed Jun 7 18:36:19 CEST 2017 - ms@suse.de + +- Fixup EFI setup for iso images + + The embedded efi fat image on the iso filesystem must follow + the same rules compared to the setup on a disk + +------------------------------------------------------------------- +Wed Jun 7 09:06:41 CEST 2017 - toms@suse.de + +- Fix docstring and apply ReST markup + + Avoids the the following warning: + + Definition list ends without a blank line; unexpected unindent. + + Docstring contains ReST markup from + http://www.sphinx-doc.org/en/stable/domains.html#cross-referencing-python-objects + +------------------------------------------------------------------- +Tue Jun 6 16:57:02 CEST 2017 - dcassany@suse.com + +- Some corrections for Building Docker image docs + +------------------------------------------------------------------- +Tue Jun 6 11:01:47 CEST 2017 - dcassany@suse.com + +- Rearrange Docker docs + + This commit rearranges the Docker image builds documentation + in order to match the criteria exposed in #323 + ------------------------------------------------------------------- Fri Jun 2 10:38:12 CEST 2017 - ms@suse.de - + - Bump version: 9.6.2 → 9.7.0 ------------------------------------------------------------------- @@ -54,6 +119,16 @@ Thu Jun 1 10:41:45 CEST 2017 - ms@suse.de pattern validation will be disabled on the generateDS level and applies only to the schema. This Fixes #347 +------------------------------------------------------------------- +Wed May 31 16:36:17 CEST 2017 - ms@suse.de + +- Allow vendor specific grub config file location + + On e.g Fedora systems the EFI grub config file for secure + boot systems is expected to be located in the vendor + specific efi boot directory from where the shim loader + gets loaded by the firmware + ------------------------------------------------------------------- Wed May 31 14:54:40 CEST 2017 - dcassany@suse.com @@ -107,6 +182,11 @@ Mon May 29 20:50:35 CEST 2017 - dimstar@opensuse.org https://bugzilla.opensuse.org/show_bug.cgi?id=957927 +------------------------------------------------------------------- +Mon May 29 12:33:51 CEST 2017 - ms@suse.de + +- Use glob pattern to match shim modules + ------------------------------------------------------------------- Sun May 28 21:37:25 CEST 2017 - ms@suse.de @@ -130,6 +210,16 @@ Fri May 26 14:42:11 CEST 2017 - dcassany@suse.com Fixes #349 +------------------------------------------------------------------- +Wed May 24 17:51:08 CEST 2017 - ms@suse.de + +- Added fallback setup for grub secure boot + + The current implementation is based on the presence of the + shim-install tool. This tool does not exist on all distributions. + In case shim-install is not present a kiwi fallback solution + applies. Fixes #337 + ------------------------------------------------------------------- Wed May 24 13:18:43 CEST 2017 - dcassany@suse.com diff --git a/python-kiwi.spec b/python-kiwi.spec index 9c03bd3..3429659 100644 --- a/python-kiwi.spec +++ b/python-kiwi.spec @@ -67,7 +67,7 @@ %endif Name: python-kiwi -Version: 9.7.0 +Version: 9.7.1 Release: 0 Provides: kiwi-schema = 6.5 Url: https://github.com/SUSE/kiwi diff --git a/python-kiwi.tar.gz b/python-kiwi.tar.gz index aeaea37..cba1cfb 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:4a9159152713e754866ecd42fdae53bad8a91fae4409120be782977b467d6f0a -size 3435736 +oid sha256:f0c15a7561c2db027ec455564f359f404376d2e3292c793064317f5853913374 +size 3382968 From bafe63aaae417d4826c3f9ee5ac8f43faa77d5129e5d2af936ad64c118efd7c9 Mon Sep 17 00:00:00 2001 From: Marcus Schaefer Date: Fri, 9 Jun 2017 12:19:07 +0000 Subject: [PATCH 2/2] =?UTF-8?q?-=20Bump=20version:=209.7.1=20=E2=86=92=209?= =?UTF-8?q?.7.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update rpm-check-signatures documentation - Fix default location repository config file for apt This commit fixes the apt config file management for default locations. The template subsitution always needs to be executed providing all the substitution parameters, as it does not make any kind of default assumption when parameters are missing. Fixes #370 - Revert "Refactor detection code for grub directory name" The former detection of the grub directory name in boot was correct whereas the new code introduced a problem. This reverts commit b3e4b871d52da2b5ab579d592ccc7ae39de75339. This Fixes #371 - Include repository_gpgcheck and package_gpgcheck documentation OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=32 --- python-kiwi.changes | 74 ++++++++++++++++++++++++++++++++++++++++++++- python-kiwi.spec | 2 +- python-kiwi.tar.gz | 4 +-- 3 files changed, 76 insertions(+), 4 deletions(-) diff --git a/python-kiwi.changes b/python-kiwi.changes index f64faa5..3a012dd 100644 --- a/python-kiwi.changes +++ b/python-kiwi.changes @@ -1,6 +1,78 @@ +------------------------------------------------------------------- +Fri Jun 9 14:12:57 CEST 2017 - ms@suse.de + +- Bump version: 9.7.1 → 9.7.2 + +------------------------------------------------------------------- +Fri Jun 9 12:33:03 CEST 2017 - dcassany@suse.com + +- Update rpm-check-signatures documentation + +------------------------------------------------------------------- +Fri Jun 9 11:51:35 CEST 2017 - dcassany@suse.com + +- Fix default location repository config file for apt + + This commit fixes the apt config file management for default + locations. The template subsitution always needs to be executed + providing all the substitution parameters, as it does not make any + kind of default assumption when parameters are missing. + + Fixes #370 + +------------------------------------------------------------------- +Fri Jun 9 11:14:45 CEST 2017 - ms@suse.de + +- Revert "Refactor detection code for grub directory name" + + The former detection of the grub directory name in boot was + correct whereas the new code introduced a problem. + This reverts commit b3e4b871d52da2b5ab579d592ccc7ae39de75339. + This Fixes #371 + +------------------------------------------------------------------- +Thu Jun 8 16:54:50 CEST 2017 - dcassany@suse.com + +- Include repository_gpgcheck and package_gpgcheck documentation + +------------------------------------------------------------------- +Thu Jun 8 16:25:30 CEST 2017 - dcassany@suse.com + +- Improve package/repository signature checking setup + + This commit adds repository_gpgcheck and package_gpgcheck attributes + to the repository tag in schema. With this change each repository + can be configured individualy to enable repository signatures check + and/or enable signature package check. The configuration is done at + repository level, thus it is not conflicting with the wide package + manager configuration flag . + + Fixes #358 + +------------------------------------------------------------------- +Thu Jun 8 16:01:05 CEST 2017 - ms@suse.de + +- Update PXE building chapter + + Redesign PXE building chapter to follow style guide. + Thanks to Thomas Schraitle for review and additional + contributions to this topic. This Fixes #323 + +------------------------------------------------------------------- +Thu Jun 8 14:46:39 CEST 2017 - ms@suse.de + +- Update chapter due to review + +------------------------------------------------------------------- +Thu Jun 8 14:25:52 CEST 2017 - ms@suse.de + +- Update OEM building chapter + + Redesign building chapter to follow style guide. Issue #323 + ------------------------------------------------------------------- Thu Jun 8 10:56:29 CEST 2017 - ms@suse.de - + - Bump version: 9.7.0 → 9.7.1 ------------------------------------------------------------------- diff --git a/python-kiwi.spec b/python-kiwi.spec index 3429659..6375ba8 100644 --- a/python-kiwi.spec +++ b/python-kiwi.spec @@ -67,7 +67,7 @@ %endif Name: python-kiwi -Version: 9.7.1 +Version: 9.7.2 Release: 0 Provides: kiwi-schema = 6.5 Url: https://github.com/SUSE/kiwi diff --git a/python-kiwi.tar.gz b/python-kiwi.tar.gz index cba1cfb..27e639e 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:f0c15a7561c2db027ec455564f359f404376d2e3292c793064317f5853913374 -size 3382968 +oid sha256:2d03093b4f69c3cb02ba89d96d5d7a775a3f9fe2e7104357d8f5a7b06410a4aa +size 3366625