forked from pool/python-kiwi
- Bump version: 9.23.19 → 9.23.20
- Fixed API vs. CLI inconsistency when using kiwi as API the program fails with a usage message from the Cli class. The kiwi.cli module should not be imported except for kiwi comandline tasks. It has turned out that the RuntimeConfig class which is used in several places in different API classes imports Cli and creates an instance of it to check for a global option. This causes major issues for all programs which uses the kiwi API but not the command line interface because the docopt call in Cli() expects a valid docstring which only exists in kiwi's cli.py. This commit fixes the inconsistency and allows people to use the kiwi API independent of any command line interface. Fixes #1755 - Make sure man pages are part of sdist tarball The current tarball when uploaded to pypi via gitlab does not contain the manual pages because the doc target to build them is not called. This commit adds a doc_man tox target which is called prior pypi release. This Fixes #1746 - Refactor grub2 installation This commit refactors grub2 installation method to split it in two parts. Former grub2.install method was meant to run the grub2-install tool, however, in addition it was also running the secure boot installation shim-install. The install method in KIWI is skipped for those architectures and firmware combinations for which bios support doesn't exist. This was leading to skip the secure boot installation. The current approach strips the secure boot installation logic from the grub2.install method, so skipping the install method does not OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=195
This commit is contained in:
parent
a9eb104cde
commit
ab4d2990ed
4
PKGBUILD
4
PKGBUILD
@ -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.23.16
|
||||
pkgver=9.23.20
|
||||
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=('853701a5acbe3737fdf20b7a7aeef8f6')
|
||||
md5sums=('b2caf03a2a5987613201f1b4fd456ac5')
|
||||
|
||||
|
||||
build() {
|
||||
|
@ -1,3 +1,250 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 08 12:58:27 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Bump version: 9.23.19 → 9.23.20
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 06 17:47:06 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Fixed API vs. CLI inconsistency
|
||||
|
||||
when using kiwi as API the program fails with a usage message
|
||||
from the Cli class. The kiwi.cli module should not be imported
|
||||
except for kiwi comandline tasks. It has turned out that the
|
||||
RuntimeConfig class which is used in several places in different
|
||||
API classes imports Cli and creates an instance of it to check
|
||||
for a global option. This causes major issues for all programs
|
||||
which uses the kiwi API but not the command line interface because
|
||||
the docopt call in Cli() expects a valid docstring which only
|
||||
exists in kiwi's cli.py. This commit fixes the inconsistency
|
||||
and allows people to use the kiwi API independent of any
|
||||
command line interface. Fixes #1755
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 05 11:47:12 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Make sure man pages are part of sdist tarball
|
||||
|
||||
The current tarball when uploaded to pypi via gitlab does
|
||||
not contain the manual pages because the doc target to build
|
||||
them is not called. This commit adds a doc_man tox target
|
||||
which is called prior pypi release. This Fixes #1746
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 03 13:17:09 CET 2021 - David Cassany <dcassany@suse.com>
|
||||
|
||||
- Refactor grub2 installation
|
||||
|
||||
This commit refactors grub2 installation method to split it in two
|
||||
parts. Former grub2.install method was meant to run the grub2-install
|
||||
tool, however, in addition it was also running the secure boot
|
||||
installation shim-install. The install method in KIWI is skipped for
|
||||
those architectures and firmware combinations for which bios support
|
||||
doesn't exist. This was leading to skip the secure boot installation.
|
||||
|
||||
The current approach strips the secure boot installation logic from the
|
||||
grub2.install method, so skipping the install method does not
|
||||
automatically result in skipping the secure boot installation.
|
||||
|
||||
Fixes bsc#1182211
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 01 17:35:35 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Bump version: 9.23.18 → 9.23.19
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 01 17:34:35 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Fixed admin path for dpkg-query
|
||||
|
||||
Fixed admin path in check_dracut_module_versions_compatible_to_kiwi
|
||||
runtime check.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 01 15:09:53 CET 2021 - Fergal Mc Carthy <rahn.tamalin@gmail.com>
|
||||
|
||||
- Fail non-XML descriptions if anymarkup not available (#1742)
|
||||
|
||||
Co-authored-by: Fergal Mc Carthy <fergal.mc.carthy@suse.com>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 01 11:34:52 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Bump version: 9.23.17 → 9.23.18
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 01 11:33:43 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Make runtime check more robust
|
||||
|
||||
Fixed check_dracut_module_versions_compatible_to_kiwi to work
|
||||
with systems that have no dracut installed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 01 11:25:23 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Fixed call time runtime check in build command
|
||||
|
||||
The check_dracut_module_versions_compatible_to_kiwi runtime
|
||||
check was called too early in the build process. It has to
|
||||
be called at the end of the prepare stage when the image
|
||||
root tree has been created
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 01 11:24:44 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Added missing runtime check to default config file
|
||||
|
||||
Added check_dracut_module_versions_compatible_to_kiwi as
|
||||
comment block to the default config file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 01 10:55:31 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Bump version: 9.23.16 → 9.23.17
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 28 18:46:15 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Fixed docstring for SolverRepositoryDeb class
|
||||
|
||||
The doc string incorrectly pointed to the rpm-md repo type
|
||||
when it should be apt-deb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 25 09:31:17 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Fixed code smells reported from codacy
|
||||
|
||||
In addition cleanup unused instance variable self.custom_args
|
||||
from DiskFormatBase class
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 23 16:47:29 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Add kiwi dracut mod vs. kiwi compatibility check
|
||||
|
||||
Add a runtime check to be called in the create stage
|
||||
which reads the version(s) of the installed kiwi dracut
|
||||
modules from the package database and compare them with
|
||||
a min_version setting maintained in the KIWI builder
|
||||
code. If the installed dracut module is not compatible
|
||||
with the used kiwi builder version the build stops
|
||||
at this point with a descriptive error message
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 23 13:09:59 CET 2021 - Jesus Bermudez Velazquez <jesus.bv@suse.com>
|
||||
|
||||
- Add strong typing for the following API methods
|
||||
|
||||
kiwi/storage/raid_device
|
||||
kiwi/storage/setup
|
||||
kiwi/storage/subformat/base
|
||||
kiwi/storage/subformat/gce
|
||||
kiwi/storage/subformat/ova
|
||||
kiwi/storage/subformat/qcow2
|
||||
|
||||
This references issue #1644
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 23 11:29:12 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Added strong typing for the following API methods
|
||||
|
||||
* storage/subformat/vagrant_base.py
|
||||
* storage/subformat/vagrant_libvirt.py
|
||||
* storage/subformat/vagrant_virtualbox.py
|
||||
* storage/subformat/vdi.py
|
||||
* storage/subformat/vhd.py
|
||||
* storage/subformat/vhdfixed.py
|
||||
* storage/subformat/vhdx.py
|
||||
* storage/subformat/vmdk.py
|
||||
|
||||
This references Issue #1644
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 22 11:50:26 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Deleted legacy kiwi chapter from the docs
|
||||
|
||||
The information there is almost obsolete since kiwi(perl)
|
||||
does no longer exist in any modern distribution. It's
|
||||
only maintained on SLE12 which itself is EOL and the kiwi
|
||||
there has its own documentation which we don't need to
|
||||
reference anymore in the upstream project
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 22 11:47:07 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Added new Troubleshooting chapter to the docs
|
||||
|
||||
Added a new chapter to handle issues which depends on several
|
||||
environment conditions and for which not only one possible
|
||||
solution exists. This Fixes #1691
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 19 12:21:03 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Document use of SUSE media
|
||||
|
||||
Add chapter to describe how to use the SUSE product media
|
||||
in a kiwi build process. This Fixes #1678
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 19 11:37:47 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Delete support for generic iso:// source type
|
||||
|
||||
The generic iso:// media type mounts the given iso file and expect
|
||||
its root to provide a repository that can be used 1:1 with a package
|
||||
manager. This concept is broken since some time and it can't be fixed
|
||||
in a generic way. All distribution media comes with a certain layout
|
||||
and basically needs extra handling to become fully usable as
|
||||
repository. The current implementation of the iso type which simply
|
||||
mounts the iso and expects its root to be a known repo is not useful.
|
||||
Therefore the support for it will be decommissioned. Instead we
|
||||
will provide a documentation chapter that documents how to incorporate
|
||||
distro ISO media for building images.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 18 16:48:59 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Added deb support to sat solver module
|
||||
|
||||
Add support to create SAT solvables from Debian repos via
|
||||
deb2solv tool from libsolv. This allows image info --resolve-package-list
|
||||
to work with Debian/Ubuntu image descriptions. Please note
|
||||
by default libsolv is not compiled with support for Debian.
|
||||
Therefore the following compile flags must be set on libsolv
|
||||
|
||||
* -DENABLE_DEBIAN=1
|
||||
* -DMULTI_SEMANTICS=1
|
||||
|
||||
If libsolv does not provide the needed capabilities kiwi will
|
||||
fail on either the repository solvable creation due to missing
|
||||
deb2solv or on call of setdisttype() due to missing MULTI_SEMANTICS
|
||||
feature in libsolv
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 18 09:36:31 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Update contributing chapter
|
||||
|
||||
Add an example to show that using the kiwi description
|
||||
format is an option when using kiwi as an API in other
|
||||
python programs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 16 17:24:06 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Change donation message
|
||||
|
||||
There are more people working on kiwi and the message is
|
||||
from times with only me as contributor. It would be unfair
|
||||
to keep the current message and I will share any donation
|
||||
with the team.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 16 15:34:09 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
@ -23,6 +270,14 @@ Mon Feb 15 16:44:47 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
to manage LUKS(cryptsetup) are missing and imho belongs there
|
||||
along with the LVM tools which are listed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 15 16:41:44 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Added documentation for kiwi-systemdeps concept
|
||||
|
||||
Added information about the kiwi-systemdeps sub packages
|
||||
and its purpose. This Fixes #1686
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 15 15:55:49 CET 2021 - David Cassany <dcassany@suse.com>
|
||||
|
||||
@ -32,6 +287,14 @@ Mon Feb 15 15:55:49 CET 2021 - David Cassany <dcassany@suse.com>
|
||||
|
||||
Part of #1644
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 15 15:29:49 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
- Update documentation
|
||||
|
||||
The runtime config file can also be specified on the
|
||||
commandline
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 15 13:36:17 CET 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
%endif
|
||||
|
||||
Name: python-kiwi
|
||||
Version: 9.23.16
|
||||
Version: 9.23.20
|
||||
Provides: kiwi-schema = 7.3
|
||||
Release: 0
|
||||
Url: https://github.com/OSInside/kiwi
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3c821705389afec45443a821804220ab5099570a34464c158639ae7031d81205
|
||||
size 1930698
|
||||
oid sha256:5487cf69aa26a8d72c1f4c85f7f8e7f7db3de6d54af5f8f23a7385374554fb54
|
||||
size 2346300
|
||||
|
Loading…
Reference in New Issue
Block a user