From 5c8c164bbd710565df9d603099f713bc37e5f04fb83c9c11eda6f8fdb81c5bba Mon Sep 17 00:00:00 2001 From: Marcus Schaefer Date: Fri, 12 Jun 2020 12:46:01 +0000 Subject: [PATCH] =?UTF-8?q?-=20Bump=20version:=209.21.0=20=C3=A2=E2=80=A0?= =?UTF-8?q?=E2=80=99=209.21.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixed test-image-qcow-openstack Nothing provides libyui-ncurses-pkg11, yast2-trans-en_US in TW anymore - 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. - Ignore MyPy cache - Ignore VSCode cache - 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. - Fixed permissions of custom boot image root dir When building a custom kiwi initrd the root directory OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=177 --- PKGBUILD | 4 +- python-kiwi.changes | 280 ++++++++++++++++++++++++++++++++++++++++++++ python-kiwi.spec | 2 +- python-kiwi.tar.gz | 4 +- 4 files changed, 285 insertions(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index b49c0ec..25c2986 100644 --- a/PKGBUILD +++ b/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.20.16 +pkgver=9.21.1 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=('8363e05921059c1909b80fc64915c0f9') build() { diff --git a/python-kiwi.changes b/python-kiwi.changes index 29e9fd0..84b96e3 100644 --- a/python-kiwi.changes +++ b/python-kiwi.changes @@ -1,3 +1,266 @@ +------------------------------------------------------------------- +Fri Jun 12 14:23:20 CEST 2020 - Marcus Schäfer + +- Bump version: 9.21.0 → 9.21.1 + +------------------------------------------------------------------- +Fri Jun 12 14:10:48 CEST 2020 - Marcus Schäfer + +- 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 + +- 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 + +- Ignore MyPy cache + +------------------------------------------------------------------- +Thu Jun 11 12:58:13 CEST 2020 - Bo Maryniuk + +- Ignore VSCode cache + +------------------------------------------------------------------- +Wed Jun 10 12:03:43 CEST 2020 - Dan Čermák + +- 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 + +- 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 + +- Bump version: 9.20.19 → 9.21.0 + +------------------------------------------------------------------- +Thu Jun 04 14:05:36 CEST 2020 - Marcus Schäfer + +- 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 + +- Update orthos test image + + Simplify image for use in a pxe test deployment + +------------------------------------------------------------------- +Wed Jun 03 11:43:32 CEST 2020 - Marcus Schäfer + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 + +- Bump version: 9.20.18 → 9.20.19 + +------------------------------------------------------------------- +Wed May 27 11:30:23 CEST 2020 - Marcus Schäfer + +- Added test-image-custom-partitions to build_status + +------------------------------------------------------------------- +Tue May 26 16:36:00 CEST 2020 - David Cassany + +- 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 + +- Bump version: 9.20.17 → 9.20.18 + +------------------------------------------------------------------- +Tue May 26 12:43:12 CEST 2020 - Marcus Schäfer + +- 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 + +- 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 + +- 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 + +- 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 + +- Bump version: 9.20.16 → 9.20.17 + +------------------------------------------------------------------- +Mon May 25 14:31:49 CEST 2020 - Marcus Schäfer + +- 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 + +- 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 + +- 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 + +- 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 @@ -57,6 +320,23 @@ Fri May 22 10:10:08 CEST 2020 - Marcus Schäfer - Bump version: 9.20.12 → 9.20.13 +------------------------------------------------------------------- +Wed May 20 15:19:53 CEST 2020 - Marcus Schäfer + +- 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 diff --git a/python-kiwi.spec b/python-kiwi.spec index ed86a7e..3a394b7 100644 --- a/python-kiwi.spec +++ b/python-kiwi.spec @@ -43,7 +43,7 @@ %endif Name: python-kiwi -Version: 9.20.16 +Version: 9.21.1 Provides: kiwi-schema = 7.2 Release: 0 Url: https://github.com/OSInside/kiwi diff --git a/python-kiwi.tar.gz b/python-kiwi.tar.gz index cc3a0b5..f21f2f7 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:ad003dbebdb70a07c47ad148ead4a5db7fea4a4e841d94d78e062dad21bf5207 -size 1673880 +oid sha256:11b8b8cf0387e3faf2b0a80f8e5cb544efc8de1aa16b0d3488e1b7828395a371 +size 1679855