From 7a81004d47e24cb45eafd913ad29d46283e1b3501616eb8b0dd8d945e1c080c5 Mon Sep 17 00:00:00 2001 From: Marcus Schaefer Date: Sun, 31 Mar 2019 07:14:07 +0000 Subject: [PATCH 1/2] =?UTF-8?q?-=20Bump=20version:=209.17.33=20=E2=86=92?= =?UTF-8?q?=209.17.34?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - kiwi-repart: avoid race between repart and fsck See issue #1034, this fixes non-booting CentOS-7 OEM images that fail during repartition / FS resize. Summary: all parted actions trigger a rescan of partition tables and this repeatedly starts / stops systemd-fsck-root.service until it finally fails. The workaround is to mask systemd-fsck-root.service during repartitioning / FS resize. - Update travis doc building target Disable doc test on travis, we have this in the gitlab-ci pipeline. - Move sphinx config to python3 Disable modules that have not been ported to sphinx 2.0 API - Disable linkcheck/spellcheck The spellcheck plugin has not been moved to the sphinx 2.0 API and there are tons of spelling mistakes reported due to the use of technical terms that are unknown to spellcheck. Also disabled the linkcheck because it just stands more in our way than it reports issues that needs to be fixed. - Bump version: 9.17.32 → 9.17.33 - Added integration test for bootstrap only builds - Fixed bootstrap only building Image descriptions that define packages in the bootstrap section OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=137 --- python-kiwi.changes | 183 ++++++++++++++++++++++++++++++++++++++++++++ python-kiwi.spec | 2 +- python-kiwi.tar.gz | 4 +- 3 files changed, 186 insertions(+), 3 deletions(-) diff --git a/python-kiwi.changes b/python-kiwi.changes index f273c48..f4080fc 100644 --- a/python-kiwi.changes +++ b/python-kiwi.changes @@ -1,3 +1,171 @@ +------------------------------------------------------------------- +Fri Mar 29 15:59:06 CET 2019 - Marcus Schäfer + +- Bump version: 9.17.33 → 9.17.34 + +------------------------------------------------------------------- +Fri Mar 29 13:07:34 CET 2019 - Stefan Seyfried + +- kiwi-repart: avoid race between repart and fsck + + See issue #1034, this fixes non-booting CentOS-7 OEM images that fail + during repartition / FS resize. + Summary: all parted actions trigger a rescan of partition tables and + this repeatedly starts / stops systemd-fsck-root.service until it + finally fails. The workaround is to mask systemd-fsck-root.service + during repartitioning / FS resize. + +------------------------------------------------------------------- +Fri Mar 29 10:23:09 CET 2019 - Marcus Schäfer + +- Update travis doc building target + + Disable doc test on travis, we have this in the gitlab-ci + pipeline. + +------------------------------------------------------------------- +Fri Mar 29 10:16:23 CET 2019 - Marcus Schäfer + +- Move sphinx config to python3 + + Disable modules that have not been ported to sphinx 2.0 API + +------------------------------------------------------------------- +Fri Mar 29 09:50:47 CET 2019 - Marcus Schäfer + +- Disable linkcheck/spellcheck + + The spellcheck plugin has not been moved to the sphinx 2.0 API + and there are tons of spelling mistakes reported due to the use + of technical terms that are unknown to spellcheck. Also disabled + the linkcheck because it just stands more in our way than it + reports issues that needs to be fixed. + +------------------------------------------------------------------- +Thu Mar 28 14:42:33 CET 2019 - Marcus Schäfer + +- Bump version: 9.17.32 → 9.17.33 + +------------------------------------------------------------------- +Thu Mar 28 11:21:23 CET 2019 - Marcus Schäfer + +- Added integration test for bootstrap only builds + +------------------------------------------------------------------- +Thu Mar 28 11:20:01 CET 2019 - Marcus Schäfer + +- Fixed bootstrap only building + + Image descriptions that define packages in the bootstrap section + only don't need a package manager inside of the image. However + the code to update the location of the rpm database did not + check the presence of rpm and failed on such image descriptions. + This Fixes #1030 + +------------------------------------------------------------------- +Tue Mar 26 11:31:27 CET 2019 - Alberto Planas + +- Replace @staticmethod with @classmethod when needed + + @classmethod are used in Python to represent methods that can + query and update the class (cls parameter). Is expected to be + used for metaprograming, or advanced techniques that require the + access to the class itself, before we have an instance. + + @staticmethod are used to associate a function to a class. It will + not be have access to the instance (self) not the class (cls). In + other programming languages are known as class methods. + + This patch replace all the @classmethod with @staticmethod when + there is not need to access to the cls parameter, because the + intention is to be used as normal functions. + +------------------------------------------------------------------- +Mon Mar 25 14:49:11 CET 2019 - Dan Čermák + +- Add intersphinx extension to the docs + +------------------------------------------------------------------- +Mon Mar 25 14:46:33 CET 2019 - Dan Čermák + +- New method: Path.access - thin wrapper arround os.access + + This function calls os.access, but first checks whether the input parameters are + sane, instead of simply returning false when the file in question does not exist + or an invalid mode was specified. + +------------------------------------------------------------------- +Mon Mar 25 09:56:17 CET 2019 - Marcus Schäfer + +- Added doc chapter on Fstab modifications + +------------------------------------------------------------------- +Fri Mar 22 15:22:14 CET 2019 - Dan Čermák + +- Split code_style_plus_unit_test into two jobs for parallel runs + +------------------------------------------------------------------- +Fri Mar 22 14:58:49 CET 2019 - Dan Čermák + +- Addapt documentation to changed script calling convention + +------------------------------------------------------------------- +Fri Mar 22 14:36:57 CET 2019 - Dan Čermák + +- Only execute scripts via bash when they are not user executable + + Currently we call scripts directly through bash, which has the unfortunate + disadvantage, that the shebang line is completely ignored. + Now we instead check whether the owner of the script is allowed to execute it + and if yes, we let the OS execute it (which takes the shebang into account) or + otherwise call it through bash. + +------------------------------------------------------------------- +Fri Mar 22 11:49:17 CET 2019 - Marcus Schäfer + +- Support optional fstab.patch file + + In addition to the support for fstab.append, users can now also + provide a patch file to change the contents of the fstab file + as it got written by kiwi. The feature is probably rarely used + but needed in the area of suse's transactional update mechanism. + This Fixes bsc#1129566 and Fixes #945 + +------------------------------------------------------------------- +Thu Mar 21 12:24:11 CET 2019 - Dan Čermák + +- Add warning about a missing /vagrant/ folder to the documentation + +------------------------------------------------------------------- +Thu Mar 21 12:21:53 CET 2019 - Dan Čermák + +- Fix libvirt vagrant box Vagrantfile to use rsync by default + + The documentation is suggesting that rsync is used by default to synchronize the + shared folders, yet the libvirt vagrant boxes used the system default (=nfs). + +------------------------------------------------------------------- +Tue Mar 19 10:09:50 CET 2019 - Marcus Schäfer + +- Bump version: 9.17.31 → 9.17.32 + +------------------------------------------------------------------- +Tue Mar 19 09:45:12 CET 2019 - Stefan Seyfried + +- relax the live iso root dir permissions + + The root of the live ISO has permissions 0700, which is inconvenient if + you mount it to explore its contents. Relax to 0755 instead. + Without this, the mounted ISO FS can only be accessed by root. + +------------------------------------------------------------------- +Mon Mar 18 15:27:16 CET 2019 - Marcus Schäfer + +- Fixed race condition on live overlay mount + + Make sure to wait for all targets of the overlay mount + This Fixes #1015 + ------------------------------------------------------------------- Sun Mar 17 19:41:35 CET 2019 - Marcus Schäfer @@ -33,6 +201,21 @@ Fri Mar 15 15:37:05 CET 2019 - Marcus Schäfer and the workaround in the gitlab-ci rpm stage can be deleted too. +------------------------------------------------------------------- +Fri Mar 15 15:20:23 CET 2019 - David Cassany + +- Add buildah tool support for OCI and Docker types + + This commit adds buildah tool support for OCI and Docker types. It + requires buildah and skopeo to be installed in the host. The use of + umoci (kept as default choice) or buildah is configured using the + runtime configuration file; consider the following structure: + + ``` + oci: + - archive_tool: buildah + ``` + ------------------------------------------------------------------- Fri Mar 15 11:05:04 CET 2019 - David Cassany diff --git a/python-kiwi.spec b/python-kiwi.spec index b98b048..198ee21 100644 --- a/python-kiwi.spec +++ b/python-kiwi.spec @@ -45,7 +45,7 @@ %endif Name: python-kiwi -Version: 9.17.31 +Version: 9.17.34 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 dfc9c12..204bd39 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:5fea8c43f137c96124e6530a8814316eece67d372d0d6077362699a4e5a05a03 -size 1468057 +oid sha256:0cd32d533b0bdb1a7c9a87757210a654201d4faec4558edbbb6496b2b515f8c3 +size 1509283 From 5114d0e17cab41c0ed107126d89f4798f6869deb086e3d95c2a3a2b1308f4301 Mon Sep 17 00:00:00 2001 From: David Cassany Date: Thu, 4 Apr 2019 12:55:22 +0000 Subject: [PATCH 2/2] osc copypac from project:Virtualization:Appliances:Staging package:python-kiwi revision:133 OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=138 --- python-kiwi.changes | 82 +++++++++++++++++++++++++++++++++++++++++++++ python-kiwi.spec | 2 +- python-kiwi.tar.gz | 4 +-- 3 files changed, 85 insertions(+), 3 deletions(-) diff --git a/python-kiwi.changes b/python-kiwi.changes index f4080fc..9692b09 100644 --- a/python-kiwi.changes +++ b/python-kiwi.changes @@ -1,3 +1,85 @@ +------------------------------------------------------------------- +Thu Apr 04 13:24:21 CEST 2019 - David Cassany + +- Bump version: 9.17.34 → 9.17.35 + +------------------------------------------------------------------- +Wed Apr 03 15:13:37 CEST 2019 - David Cassany + +- Fix regression on kiwi-repart dracut module + + There was a regression introduced in #1035 (048b5c3e). We mask + systemd-fsck-root.service during the repart, but we are not always + unmasking it. If the repart is not possible the service is masked but + not unmasked, which causes the boot to fail. + + With this commit after masking the fsck service we trap EXIT and run the + unmask command on script exit. This way we ensure the unmask command is + always executed. + +------------------------------------------------------------------- +Tue Apr 02 16:24:16 CEST 2019 - Marcus Schäfer + +- Doc fix for lex literal_block as xml + +------------------------------------------------------------------- +Mon Apr 01 16:44:46 CEST 2019 - Marcus Schäfer + +- Update compression flag for qcow2 format + + In case of a qcow2 format we store the result uncompressed + Since the format conversion only takes the real bytes into + account such that the sparseness of the raw disk will not + result in the output format and can be taken one by one + This Fixes bsc#1128146 + + In addition the commit includes a refactoring for the + evaluation of the compress flag in the runtime config. + Instead of the global overwrite, the flag gets evaluated + individually at the time the result metadata is created + +------------------------------------------------------------------- +Mon Apr 01 15:06:06 CEST 2019 - David Cassany + +- Add the possibility to disable runtime checks + + This commit adds runtime configuration parameters to disable the runtime + checks. This is specially handy if someone does not want to use the kiwi + dracut modules and provide custom ones instead. In orde disable some + runtime check consider a runtime config yaml like: + + runtime_checks: + - disable: + - check_dracut_module_for_oem_install_in_package_list + - check_dracut_module_for_live_iso_in_package_list + + This commit fixes #893 + +------------------------------------------------------------------- +Mon Apr 01 14:52:33 CEST 2019 - Marcus Schäfer + +- Fixup has_rpm method from RpmDataBase class + + The method checked for the presence of /usr/bin/rpm. But + that binary is also provided by another toolkit named + busybox. Thus to check if the rpm we are aiming for is + present the check has been modified to look for /usr/bin/rpmdb + which is exclusively provided by rpm only. This Fixes #1037 + +------------------------------------------------------------------- +Sun Mar 31 18:48:13 CEST 2019 - Marcus Schäfer + +- Fixed creation of image metadata files + + At the end of a build process the metadata information files .packages + and .verified are created. On rpm based systems, rpm is invoked as + chrooted operation inside the new root tree. For images that gets + installed exclusively from the bootstrap phase there is no rpm inside + of the image and the call fails. The result are empty metadata files. + This patch prevents calling rpm inside of the image root tree if it's + not installed and also uses the RpmDataBase interface instead of + directly calling rpm. This Fixes #1037 + ------------------------------------------------------------------- Fri Mar 29 15:59:06 CET 2019 - Marcus Schäfer diff --git a/python-kiwi.spec b/python-kiwi.spec index 198ee21..46fe0d4 100644 --- a/python-kiwi.spec +++ b/python-kiwi.spec @@ -45,7 +45,7 @@ %endif Name: python-kiwi -Version: 9.17.34 +Version: 9.17.35 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 204bd39..2886b7b 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:0cd32d533b0bdb1a7c9a87757210a654201d4faec4558edbbb6496b2b515f8c3 -size 1509283 +oid sha256:ee0baf6902adc398229ca3e0574f7073e99234341ceaf78597b73038eda4b413 +size 1504920