Accepting request 818264 from Virtualization:Appliances:Builder

Bump to 9.21.3

OBS-URL: https://build.opensuse.org/request/show/818264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=65
This commit is contained in:
Dominique Leuenberger 2020-07-09 11:16:10 +00:00 committed by Git OBS Bridge
commit 27d6609781
4 changed files with 357 additions and 5 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.20.16
pkgver=9.21.3
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=('95ab86b15f76aca08a0c44c0b456694c')
md5sums=('3f7102c4f00ed91be532d0c012c596e3')
build() {

View File

@ -1,3 +1,338 @@
-------------------------------------------------------------------
Thu Jun 25 16:42:49 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.21.2 → 9.21.3
-------------------------------------------------------------------
Thu Jun 25 14:03:53 CEST 2020 - David Cassany <dcassany@suse.com>
- Fixes live ISOs
This commit fixes iso images. Due to a change introduced in c7ed1cf
live ISOs were no longer booting as the rootfs.img filesystem was
copied to the squashfs container while being still mounted. Because of
that, at boot time, it refused to mount.
This commit adds umount method for the filesystem base class, so it
can be umounted before deleting the instance.
Fixes #1489 and bsc#1173356
-------------------------------------------------------------------
Fri Jun 19 15:46:29 CEST 2020 - Bo Maryniuk <bogdan.maryniuk@elektrobit.com>
- Global variables (#1485)
* Fix according to PEP8
* Refactor global variables pythonic way
* Remove unused import
-------------------------------------------------------------------
Thu Jun 18 12:27:04 CEST 2020 - David Cassany <dcassany@suse.com>
- Add locale configuration hints in docs
-------------------------------------------------------------------
Wed Jun 17 17:22:09 CEST 2020 - Bo Maryniuk <bogdan.maryniuk@elektrobit.com>
- Add missing decorator for static methods
-------------------------------------------------------------------
Mon Jun 15 15:18:28 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.21.1 → 9.21.2
-------------------------------------------------------------------
Fri Jun 12 18:39:11 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Fixed check for root device in grub config
There is a code path that fixes the grub2-mkconfig used root device
when building in an environment that does not allow to resolve the
by-X path names, e.g an obs build worker without udev. For images
that explicitly defines a root=... value in the kernelcmdline
attribute the root device check was not called because the
_get_root_cmdline_parameter method returns None. This commit fixes
the method to return the expected root device in any case such that
the grub2-mkconfig root device check has a chance to fix what
grub2-mkconfig has created. This fixes bsc#1172928
-------------------------------------------------------------------
Fri Jun 12 15:43:37 CEST 2020 - David Cassany <dcassany@suse.com>
- Remove /etc/sysconfig/language support
As of SLE15 and onwards /etc/sysconfig/language is considered to be
obsolete and just kept for compatibility purposes. Thus there is no
need to manage the file anymore.
Fixes #1471
-------------------------------------------------------------------
Fri Jun 12 14:23:20 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.21.0 → 9.21.1
-------------------------------------------------------------------
Fri Jun 12 14:10:48 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Fixed test-image-qcow-openstack
Nothing provides libyui-ncurses-pkg11, yast2-trans-en_US in
TW anymore
-------------------------------------------------------------------
Fri Jun 12 13:57:48 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Moved sle12 ppc integration test to internal bs
In agreement with IBM the sle12 integration test has been moved
into the internal buildservice. The reason for this change is
a python 3.4 compatibility problem. This version of python is
used in sle12 but would require patching of upstream kiwi in
terms of type hints and annotations to continue to work.
We don't want to cary this patch upstream but in the sle12_kiwi
repository which contains the kiwi used in sle12. Therefore
also the integration test needs to move into the internal
sle12 space.
-------------------------------------------------------------------
Thu Jun 11 12:58:21 CEST 2020 - Bo Maryniuk <bogdan.maryniuk@elektrobit.com>
- Ignore MyPy cache
-------------------------------------------------------------------
Thu Jun 11 12:58:13 CEST 2020 - Bo Maryniuk <bogdan.maryniuk@elektrobit.com>
- Ignore VSCode cache
-------------------------------------------------------------------
Wed Jun 10 12:03:43 CEST 2020 - Dan Čermák <dcermak@suse.com>
- Remove sed calls to fix /etc/vimrc
An update of vim in Tumbleweed will move /etc/vimrc to /usr/share/vim as part of
the /usr - /etc split. This makes the sed call fail because /etc/vimrc no longer
exists.
However, the fix is not required anymore then, as the vim package dropped the
"syntax on" line from the default vimrc.
-------------------------------------------------------------------
Tue Jun 09 13:55:44 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Fixed permissions of custom boot image root dir
When building a custom kiwi initrd the root directory
has the permissions of the mkdtemp created directory
but should have the permissions of a linux root dir
which is 0755. This Fixes #1394
-------------------------------------------------------------------
Sat Jun 06 16:39:50 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.20.19 → 9.21.0
-------------------------------------------------------------------
Thu Jun 04 14:05:36 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Fixed size of msgbox dialog
The width of the dialog was set to a small value which
causes the message to be choped. I found this when testing
pxe deployments. The error messages on "Failed to fetch..."
were missing the interesting part
-------------------------------------------------------------------
Wed Jun 03 17:19:10 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Update orthos test image
Simplify image for use in a pxe test deployment
-------------------------------------------------------------------
Wed Jun 03 11:43:32 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Added new post disk sync script hook
Allow to put a disk.sh script as part of the image description
which is called for the disk image types `vmx` and `oem`
only and runs after the synchronisation of the root tree into the
disk image loop file. At call time of the script the device name
of the currently mapped root device is passed as a parameter.
The chroot environment for the call is the mounted disk itself
which makes this different from the config.sh/images.sh caller
environment. This Fixes #1464
-------------------------------------------------------------------
Wed Jun 03 10:56:42 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Update user defined scripts documentation
Added information about new disk.sh script and reworked
the entire chapter
-------------------------------------------------------------------
Tue Jun 02 13:05:30 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Fixed VolumeManager cleanup
instances of VolumeManager creates temporary directories but
only stores the latest one. The cleanup leaves former directories
behind which is fixed by this commit
-------------------------------------------------------------------
Fri May 29 17:41:15 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Allow to access disk root after sync_data
In preparation to allow a chroot operation into the loop
mounted disk this commit refactors the process when filesystems
gets umounted and also fixes the canonical order for calling
the destructors. Related to Issue #1464
-------------------------------------------------------------------
Wed May 27 11:55:21 CEST 2020 - David Cassany <dcassany@suse.com>
- Add EFI firmware on OEM and ISO ubuntu tests
This commits adds efi firmware for Ubuntu integration tests
-------------------------------------------------------------------
Wed May 27 11:30:37 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.20.18 → 9.20.19
-------------------------------------------------------------------
Wed May 27 11:30:23 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Added test-image-custom-partitions to build_status
-------------------------------------------------------------------
Tue May 26 16:36:00 CEST 2020 - David Cassany <dcassany@suse.com>
- Fix the boot path for initrd detection
This commit fixes the path to check the initrd naming convetion from an
already existing initrd file in /boot
-------------------------------------------------------------------
Tue May 26 15:15:42 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.20.17 → 9.20.18
-------------------------------------------------------------------
Tue May 26 12:43:12 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Added custom partition image integration test
There are still people who like many extra static inflexible
entries in a partition table instead of using LVM or filesystem
volume capabilities for sometimes good but often questionable
reasons. In kiwi we intentionally support partition table
entries on a restricted basis but that does not mean you can't
create an image with a highly customized partition table.
However it includes some bits of custom code as part of the
image description and that's what this reference implementation
of an image with custom partitions demonstrates. The image
described here adds three extra partitions, var, var/log and
var/audit. The concept to create custom partitions is based on
specifying a spare partition which is by default created before
the root partition. The spare space can now be sliced into as
many partitions as needed and that needs to be implemented by
the author of the image description. Of course the partition
table itself comes with limitations which has to be respected
depending on the partition table type.
-------------------------------------------------------------------
Tue May 26 11:36:02 CEST 2020 - David Cassany <dcassany@suse.com>
- Fix the patch applied on grub.cfg
This commit fixes the patch applied on grub.cfg when EFI mode is
selected and grub < 2.04. There are some distros that make use of the
`linux16` command instead of `linux` in grub configuration, this commit
extends the regex to also consider `linux16` command.
-------------------------------------------------------------------
Tue May 26 11:31:34 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Fixed apt and pacman repository unit tests
The way the post_init method was used to test custom arguments
leads to a broken I/O wrapper. As consequence the test failed
when called with "pytest -s" and also leaves files around from
other test I/O redirections.
-------------------------------------------------------------------
Tue May 26 10:30:44 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Fixed spec file on bare word comparison
on e.g Fedora Rawhide rpm complains about bare word comparison
error: bare words are no longer supported, please use "..."
This patch fixes the spec template to respect this
-------------------------------------------------------------------
Mon May 25 16:22:44 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.20.16 → 9.20.17
-------------------------------------------------------------------
Mon May 25 14:31:49 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Fixed dracut output file format detection
The current way to detect the dracut output file format was
based on a lookup of the format used in the dracut tool itself.
However there are distributions like Ubuntu which calls dracut
and passes the name of the initrd file as options to the call.
This invalidates the checking done by kiwi. The only chance
for kiwi to do the same than the distributions does is by
looking for an initrd file pre-created by the package
installations and use the same format. Only if no such initrd
file exists the former format detection code applies. The
additional code expects any initrd file to match the glob
pattern 'init*'. This Fixes #1450
-------------------------------------------------------------------
Mon May 25 12:44:19 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Fixed line ending of sha256 bundler file
The .sha256 file does not end with a newline. This Fixes #1449
-------------------------------------------------------------------
Mon May 25 12:33:19 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Fix scope for linuxefi grub config adaption
In kiwi we support a one time patch for the grub config file
that changes the static use of linuxefi to be dynamic. In
grub2 >= 2.04 all this has already been fixed but for grub2
version older than this version we applied the patch. The
patch however was only applied based on the presence of a
grub setting named GRUB_USE_LINUXEFI. It has turned out that
this variable is a custom extension not part of grub upstream
which makes the test functional only on distributions that
supports this setting. The use of linuxefi however is code
that belongs to grub upstream. Therefore this patch changes
the scope of the one time patch to be only based on the
version of grub no matter if GRUB_USE_LINUXEFI is supported
by the distro or not. This Fixes #1453
-------------------------------------------------------------------
Fri May 22 18:14:20 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Fixed root device setup in vendor grubenv
In addition to the root device setup in grub.cfg we also
need to patch the vendor grubenv file which contains an
invalid kernelopts value written by grub2-mkconfig under
the conditions explained in Issue #1287. This Fixes
Issue #1454
-------------------------------------------------------------------
Fri May 22 15:00:19 CEST 2020 - Marcus Schäfer <ms@suse.de>
@ -57,6 +392,23 @@ Fri May 22 10:10:08 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.20.12 → 9.20.13
-------------------------------------------------------------------
Wed May 20 15:19:53 CEST 2020 - Marcus Schäfer <ms@suse.de>
- Refactor dracut disk re-partition library
The kiwi repartition code for msdos and gpt tables was based
on the parted tool. However parted requires to give start and
end addresses to describe a space in the partition table. The
numbers were calculated in kiwi based on cylinders. The mapping
into cylinders is a virtual number that plays no role under
Linux and vanished completely with newer storage technologies.
Tools like sgdisk and sfdisk are better prepared to handle
disk partitioning and also makes this a more straight forward
code in kiwi. Thus this commit refactors the re-partition code
to drop parted and use a dedicated tool depending on the
partition table type. This Fixes #1406
-------------------------------------------------------------------
Wed May 20 12:47:47 CEST 2020 - David Cassany <dcassany@suse.com>

View File

@ -43,7 +43,7 @@
%endif
Name: python-kiwi
Version: 9.20.16
Version: 9.21.3
Provides: kiwi-schema = 7.2
Release: 0
Url: https://github.com/OSInside/kiwi

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad003dbebdb70a07c47ad148ead4a5db7fea4a4e841d94d78e062dad21bf5207
size 1673880
oid sha256:30a1649976d26a0e400295ade62c54cf29620398c4d7736ae78bd978a193a10e
size 1681788