- Bump version: 9.21.26 → 9.22.0

- Omit multipath module by default
  The plain installation of the multipath toolkit activates the
  dracut multipath code. The setup if the target image runs in a
  multipath environment or not should however be decided explicitly
  in the image description via <oem-multipath-scan> and not
  implicitly by the presence of tools

- Fixed multipath disk device assignment in kiwi lib
  The former lookup of the multipath mapped disk device contained
  a race condition. If the lookup of the device mapper files happened
  before multipathd has finished the initialization, kiwi continues
  with the unix node name and fails when the device mapper keeps
  a busy state on it. This commit changes the code such that in case
  of an explicit request to use multipath the lookup of the mapped
  device becomes a mandatory process that runs until the
  DEVICE_TIMEOUT is reached. Default timeout is set to 60 sec.
  This references Issue SUSE-Enceladus/azure-li-services#255

- Fixed PackageManager decorator in unit test
  Implement patch decorators for factories consistently

- Refactor Repository
  This commit refactors the Repository class and turns it into a
  proper factory class and also includes type hints to facilitate
  it's use from an API POV. Related to #1498

- Add DNF as a proper dependency for openSUSE
  This is required so that OBS can build openSUSE containers and appliances

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=189
This commit is contained in:
Marcus Schaefer 2020-12-04 07:57:28 +00:00 committed by Git OBS Bridge
parent 5fc40497e0
commit b52bd567bd
4 changed files with 122 additions and 9 deletions

View File

@ -3,7 +3,7 @@
pkgname=('python-kiwi' 'kiwi-man-pages' 'dracut-kiwi-lib' 'dracut-kiwi-oem-repart' 'dracut-kiwi-oem-dump' 'dracut-kiwi-live' 'dracut-kiwi-overlay')
arch=(x86_64)
pkgver=9.21.26
pkgver=9.22.0
pkgrel=0
pkgdesc="KIWI - Appliance Builder Next Generation"
url="https://github.com/SUSE/kiwi/tarball/master"
@ -12,7 +12,7 @@ makedepends=(python-setuptools gcc shadow grep)
provides=(kiwi-ng kiwi)
source=("${pkgname}.tar.gz")
changelog="${pkgname}.changes"
md5sums=('8735e00d2760a850d5000d189b632c97')
md5sums=('3ce07f0c0316090b1eece05a76a6de2b')
build() {

View File

@ -1,3 +1,114 @@
-------------------------------------------------------------------
Thu Dec 03 15:37:30 CET 2020 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.21.26 → 9.22.0
-------------------------------------------------------------------
Thu Dec 03 10:35:34 CET 2020 - Marcus Schäfer <ms@suse.de>
- Omit multipath module by default
The plain installation of the multipath toolkit activates the
dracut multipath code. The setup if the target image runs in a
multipath environment or not should however be decided explicitly
in the image description via <oem-multipath-scan> and not
implicitly by the presence of tools
-------------------------------------------------------------------
Wed Dec 02 16:15:00 CET 2020 - Marcus Schäfer <ms@suse.de>
- Fixed multipath disk device assignment in kiwi lib
The former lookup of the multipath mapped disk device contained
a race condition. If the lookup of the device mapper files happened
before multipathd has finished the initialization, kiwi continues
with the unix node name and fails when the device mapper keeps
a busy state on it. This commit changes the code such that in case
of an explicit request to use multipath the lookup of the mapped
device becomes a mandatory process that runs until the
DEVICE_TIMEOUT is reached. Default timeout is set to 60 sec.
This references Issue SUSE-Enceladus/azure-li-services#255
-------------------------------------------------------------------
Wed Nov 25 17:09:10 CET 2020 - Marcus Schäfer <ms@suse.de>
- Fixed PackageManager decorator in unit test
Implement patch decorators for factories consistently
-------------------------------------------------------------------
Wed Nov 25 13:11:31 CET 2020 - Marcus Schäfer <ms@suse.de>
- Refactor Repository
This commit refactors the Repository class and turns it into a
proper factory class and also includes type hints to facilitate
it's use from an API POV. Related to #1498
-------------------------------------------------------------------
Tue Nov 24 18:09:41 CET 2020 - Neal Gompa <ngompa13@gmail.com>
- Add DNF as a proper dependency for openSUSE
This is required so that OBS can build openSUSE containers and appliances
using DNF as the package manager.
-------------------------------------------------------------------
Tue Nov 24 18:05:29 CET 2020 - Marcus Schäfer <ms@suse.de>
- Fixed spec file microdnf requirement
SUSE/SLES doesn't provide microdnf within the official channels yet
-------------------------------------------------------------------
Tue Nov 24 12:59:53 CET 2020 - Marcus Schäfer <ms@suse.de>
- Refactor Partitioner
This commit refactors the Partitioner class and turns it into a
proper factory class and also includes type hints to facilitate
it's use from an API POV. Related to #1498
-------------------------------------------------------------------
Tue Nov 24 12:58:20 CET 2020 - David Cassany <dcassany@suse.com>
- Avoid using generators in pre-mount hooks
This commit deletes the generator that was creating the sysroot.mount
unit for ramdisk deployments. Generators, specially the sysroot.mount is
expected to be created on very early stages of the boot procedure as
this has impact on relevant targets such as initrd-root-fs.target, which
does not depend on sysroot.mount if the unit is not there.
In ramdisk deployments some data is known on pre-mount stage as
as it is downloaded from the PXE server. At this stage it is not safe to
generate a sysroot.mount unit that depends on initrd-root-fs.target as
the target is close to finalize or even finalized already and could
potentially skip sysroot.mount exection.
Instead we include a mount hook which is only executed on ramdisk
deployments that simply runs the mount command to mount /sysroot.
This fixes bsc#1178670
-------------------------------------------------------------------
Mon Nov 23 15:35:03 CET 2020 - Marcus Schäfer <ms@suse.de>
- Refactor PackageManager
This commit refactors the PackageManager class and turns it into
a proper factory class which also include type hints to facilitate
it's use from an API POV. Related to #1498
-------------------------------------------------------------------
Mon Nov 23 13:02:44 CET 2020 - Marcus Schäfer <ms@suse.de>
- Refactor Markup
This commit refactors the Markup class and turns it into a proper
factory class which also include type hints to facilitate it's
use from an API POV. Related to #1498
-------------------------------------------------------------------
Fri Nov 20 10:37:31 CET 2020 - Marcus Schäfer <ms@suse.de>

View File

@ -43,7 +43,7 @@
%endif
Name: python-kiwi
Version: 9.21.26
Version: 9.22.0
Provides: kiwi-schema = 7.2
Release: 0
Url: https://github.com/OSInside/kiwi
@ -124,9 +124,6 @@ Requires(postun): chkconfig
Requires: qemu-img
Requires: squashfs-tools
Requires: gdisk
Requires: dnf
Provides: kiwi-packagemanager:dnf
Provides: kiwi-packagemanager:yum
%if 0%{?fedora} || 0%{?rhel} >= 8
Recommends: gnupg2
%endif
@ -136,10 +133,15 @@ Recommends: gnupg2
Recommends: dnf
Recommends: gpg2
%endif
%if 0%{?fedora} || 0%{?rhel} >= 8 || 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
%if 0%{?fedora} || 0%{?rhel} >= 8 || 0%{?suse_version} >= 1550
Provides: kiwi-packagemanager:microdnf
Requires: microdnf
%endif
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} >= 1550
Requires: dnf
Provides: kiwi-packagemanager:dnf
Provides: kiwi-packagemanager:yum
%endif
%if 0%{?fedora} >= 26 || 0%{?suse_version}
Requires: zypper
Provides: kiwi-packagemanager:zypper

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a584bf064bd1af19a9cb168e08167b3d6ca53ffa385d2c5775599c39b774dca3
size 1734917
oid sha256:e0c61ba3e50e1c735aca1e925418b4418635039f9b85f5a8cc63a0c2d618ac7b
size 1736150