Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-kiwi for openSUSE:Factory checked in at 2025-06-26 14:05:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-kiwi (Old) and /work/SRC/openSUSE:Factory/.python-kiwi.new.7067 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-kiwi" Thu Jun 26 14:05:33 2025 rev:134 rq:1288533 version:10.2.25 Changes: -------- --- /work/SRC/openSUSE:Factory/python-kiwi/python-kiwi.changes 2025-04-02 17:10:43.102692106 +0200 +++ /work/SRC/openSUSE:Factory/.python-kiwi.new.7067/python-kiwi.changes 2025-06-26 14:06:06.627845492 +0200 @@ -1,0 +2,1078 @@ +Wed Jun 25 14:21:01 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Bump version: 10.2.24 → 10.2.25 + +------------------------------------------------------------------- +Wed Jun 25 09:36:58 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Fixed get_partition_node_name + + The function get_partition_node_name takes the disk device + and the partition index as arguments to match against the + respective device node for this partition index. The partition + index is the position of the partition in the partition table + according to their start offset. For the code to function + properly it is required that the list of partitions provided + by lsblk is ordered according to the start address of the + partitions in the table. The way lsblk was called did not + enforce this ordering. This commit enforces the order to + be done against the start offset and fixes bsc#1245190 + +------------------------------------------------------------------- +Tue Jun 24 15:43:59 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Update test-image-MicroOS for local build + + Fix bootstrap setup such that micro-os patterns can resolve + +------------------------------------------------------------------- +Tue Jun 24 15:30:49 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Fix logging of stderr data in command calls + + The stderr data was presented as one blob without line + breaks. Hard to read and smells like a bug. This commit + fixes the output to become readable + +------------------------------------------------------------------- +Tue Jun 24 08:07:32 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Update test-image-MicroOS/disk.sh + + Add a findmnt for / to check if there is a proper root + device reference + +------------------------------------------------------------------- +Mon Jun 23 17:53:48 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Fix mount system for root_is_snapper_snapshot + + If root is a snapper snapshot we have to tell the + chroot a proper root mount point which can be achieved + by a bind mount pointing to itself. This Fixes + bsc#1244668 + +------------------------------------------------------------------- +Wed Jun 18 17:11:45 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- There is no shim for aarch64 on SUSE + + Fix integration test for standard EFI (no secure boot) + setup on arm + +------------------------------------------------------------------- +Mon Jun 16 12:12:06 CEST 2025 - Alejandro Perez <69607775+aal...@users.noreply.github.com> + +- Add driver configuration support for dracut initrd + + Add driver configuration support for dracut initrd + + Add support for specifying kernel drivers to be included or omitted + in the dracut initrd configuration. This extends the existing dracut + configuration capabilities like in the following example + + <initrd action="add"> + <dracut driver="erofs"/> + </initrd> + +------------------------------------------------------------------- +Tue Jun 10 11:36:33 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Fixed rootfs size calculation with spare part + + In case a spare_part setup is combined with the root_clone feature, + the size calculation for the rootfs did not take the cloning into + account and lead to the wrong value. In addition when requesting + the spare part to be last and no size information was given, the + partition was not created at all. This commit fixes both defects + and Fixes #2831 + +------------------------------------------------------------------- +Sun Jun 08 14:15:34 CEST 2025 - Neal Gompa <ngo...@velocitylimitless.com> + +- Add dependency for isomd5sum for iso images and set in kiwi-settings + + This ensures that isomd5sum is pulled into the environment for ISO image + builds, and the updated settings makes it so that kiwi boxes will use it. + +------------------------------------------------------------------- +Tue Jun 03 12:29:40 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Allow /boot to be a btrfs subvolume + + In a btrfs based design, allow to put /boot as subvolume. + This required a small fix in the mount order in a way that + boot/efi gets mounted after the subvolume mounts are done. + The respective integration test has been updated to test + this functionality. This Fixes #2824 + +------------------------------------------------------------------- +Mon Jun 02 22:59:11 CEST 2025 - Dirk Müller <d...@dmllr.de> + +- Use f-strings where feasible + + This is a slightly shorter and easier to read syntax + +------------------------------------------------------------------- +Mon Jun 02 22:52:11 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Allow multiple EFI arch binaries/modules + + Allow to lookup and included EFI binaries/modules for + multiple architectures. For testing the integration + test in rawhide/test-image-live-disk has been adapted + accordingly to install 32bit and 64bit EFI binaries. + This Fixes #2822 + +------------------------------------------------------------------- +Mon Jun 02 22:23:28 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Log warning message for disabled runtime checks + + Complete type hints for RuntimeConfig class and log + a warning message for each disabled runtime check + +------------------------------------------------------------------- +Mon Jun 02 13:51:05 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Fix static type argument int vs. str + +------------------------------------------------------------------- +Mon Jun 02 12:55:05 CEST 2025 - Dirk Müller <d...@dmllr.de> + +- Move it inside the context that actually uses it + + also rename it to "supported" as that seems to closer match + what it resembles + +------------------------------------------------------------------- +Mon Jun 02 12:53:23 CEST 2025 - Dirk Müller <d...@dmllr.de> + +- Add overlayfs as supporting xattr/ACLs as well + +------------------------------------------------------------------- +Mon Jun 02 12:27:18 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Fix disk_type validation for zipl loader + + If the targettype is set to GPT in combination with plain + zipl as loader, the code to validate the targettype against + the targetgeometry was not effective and zipl failed. + This Fixes #2821 + +------------------------------------------------------------------- +Wed May 28 21:11:16 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Fixup overlay unit enablement + +------------------------------------------------------------------- +Wed May 28 18:27:22 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Fixup overlay mount dependencies + +------------------------------------------------------------------- +Wed May 28 17:54:31 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Update test-image-overlayroot integration test + + Use proper systemd mount units to setup the custom overlay. + The handling of fstab entries by systemd is limited and + should be better handled by self managed mount units + +------------------------------------------------------------------- +Wed May 28 17:52:21 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Use proper mount units for overlay setup + + Instead of manual mounting create a proper systemd mount + unit. This allows to manage mount dependencies and the order + of nested mounts in a clean way + +------------------------------------------------------------------- +Tue May 27 10:58:12 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Bump version: 10.2.23 → 10.2.24 + +------------------------------------------------------------------- +Mon May 26 11:38:25 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Cleanup build metadata + + Make sure the final image rootfs does not contain unneeded + metadata files used during build time. The respective cleanup + call is performed after the root sync and after all initrd/boot + processing has been done. This is because up to that point it's + still possible that the information is required. This means + when building images with a read-only rootfs, it might not be + possible that the metadata can be deleted due to a chicken&egg + situation. Furthermore the cleanup is applied to the disk + builder only as other builders do not really suffer from + this data and for the container builder the metadata can + also be used for the stackbuild feature when building images + derived from containers. This Fixes #2668 + +------------------------------------------------------------------- +Sun May 25 19:30:41 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Update overlay integration test for partial write + + Update the sdboot_uki_verity_erofs profile of the + test-image-overlayroot integration test with a custom + fstab example to overlay only parts of the system + for writing. This Fixes #2815 + +------------------------------------------------------------------- +Sun May 25 19:21:15 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- bootloader setup without overlay write partition + + If overlayroot_write_partition="false" is set, no system + indicator was stored. This cause the bootloader setup to + be skipped completely which is not required for e.g. + systemd-boot. + +------------------------------------------------------------------- +Sun May 25 19:18:40 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Make sure to create overlay directories + + Create overlay directories even if rd.root.overlay.readonly + is set. This allows individual fstab overlays mounts to be + performed + +------------------------------------------------------------------- +Fri May 23 15:55:39 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Fixed rd.root.overlay.readonly overlay mode + + When booting an overlayroot image with rd.root.overlay.readonly + set, the system will boot with only the read-only root mounted. + There was a bug in the dracut code which prevented this mount + from succeeding when the read-only rootfs is different from + squashfs. This commit changes the mount to be a simple bind + mount, independent of the origin filesystem. This works because + the read-only mount is performed in the dracut overlay code + anyway. This is related to Issue #2815 + +------------------------------------------------------------------- +Wed May 21 11:36:42 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- The way we build debs requires setuptools + + debbuild doesn't work when setuptools is not there + +------------------------------------------------------------------- +Wed May 21 10:09:10 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Drop use of setuptools + + Since we moved to poetry and no code using setuptools anymore, + this requirement can be dropped. The commit also updates the + plugin documentation which was still based on setup.py + +------------------------------------------------------------------- +Tue May 20 20:57:27 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Update live boot remote boot features + + Like the upstream module also support the root=live:http://... + remote boot options. The kiwi-live dracut module is scheduled + to become obsolete, but it's still in use and should support + remote boot not only for AoE. As we got more issue reports than + working AoE remote boot success, this commit also updates the + documentation and switches to the capabilities of this PR. + +------------------------------------------------------------------- +Mon May 19 15:54:48 CEST 2025 - Marcus Schäfer <marcus.schae...@gmail.com> + +- Add UKI support for the grub bootloader + + In addition to systemd_boot also add support for UKI creation + when grub is used. This includes the creation of a UKI image + via dracut in the same way as it's done for systemd_boot. + In addition an earlyboot grub script chainloads the UKI and + bypasses any written grub configuration. In Theory this should + also allow to use the shim loader for chainloading an UKI. + However I haven't done testing in this direction and I also + expect security issues with this approach because loading ++++ 795 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/python-kiwi/python-kiwi.changes ++++ and /work/SRC/openSUSE:Factory/.python-kiwi.new.7067/python-kiwi.changes ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-kiwi.spec ++++++ --- /var/tmp/diff_new_pack.5dJu4i/_old 2025-06-26 14:06:07.271872189 +0200 +++ /var/tmp/diff_new_pack.5dJu4i/_new 2025-06-26 14:06:07.275872354 +0200 @@ -56,7 +56,7 @@ %endif Name: python-kiwi -Version: 10.2.16 +Version: 10.2.25 Provides: kiwi-schema = 8.1 Release: 0 Url: https://github.com/OSInside/kiwi @@ -96,9 +96,12 @@ %else BuildRequires: python%{python3_pkgversion}-docopt-ng %endif +%if 0%{?debian} || 0%{?ubuntu} +# only because of debbuild +BuildRequires: python%{python3_pkgversion}-setuptools +%endif BuildRequires: python%{python3_pkgversion}-lxml BuildRequires: python%{python3_pkgversion}-requests -BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-simplejson %if 0%{?suse_version} BuildRequires: python%{python3_pkgversion}-Sphinx @@ -187,6 +190,7 @@ Obsoletes: kiwi-image-docker-requires < %{version}-%{release} %if "%{_vendor}" != "debbuild" Provides: kiwi-image:docker +Provides: kiwi-image:oci %endif %if 0%{?suse_version} Requires: umoci @@ -206,6 +210,7 @@ Obsoletes: kiwi-image-wsl-requires < %{version}-%{release} %if "%{_vendor}" != "debbuild" Provides: kiwi-image:appx +Provides: kiwi-image:wsl %endif %if 0%{?suse_version} Requires: fb-util-for-appx @@ -228,6 +233,8 @@ %endif %if 0%{?suse_version} Requires: checkmedia +%else +Requires: isomd5sum %endif Requires: xorriso Requires: kiwi-systemdeps-core = %{version}-%{release} @@ -443,7 +450,6 @@ %endif Requires: python%{python3_pkgversion}-lxml Requires: python%{python3_pkgversion}-requests -Requires: python%{python3_pkgversion}-setuptools Requires: python%{python3_pkgversion}-xmltodict %if ! (0%{?rhel} && 0%{?rhel} < 8) Recommends: kiwi-man-pages ++++++ PKGBUILD ++++++ --- /var/tmp/diff_new_pack.5dJu4i/_old 2025-06-26 14:06:07.311873846 +0200 +++ /var/tmp/diff_new_pack.5dJu4i/_new 2025-06-26 14:06:07.327874509 +0200 @@ -3,16 +3,16 @@ 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=10.2.16 +pkgver=10.2.25 pkgrel=0 pkgdesc="KIWI - Appliance Builder Next Generation" url="https://github.com/SUSE/kiwi/tarball/master" license=('GPL3') -makedepends=(make gcc python-build python-docopt python-installer python-lxml python-poetry-core python-requests python-setuptools python-simplejson python-sphinx python-sphinx_rtd_theme python-wheel python-yaml shadow grep) +makedepends=(make gcc python-build python-docopt python-installer python-lxml python-poetry-core python-requests python-simplejson python-sphinx python-sphinx_rtd_theme python-wheel python-yaml shadow grep) provides=(kiwi-ng kiwi) source=("${pkgname}.tar.gz") changelog="${pkgname}.changes" -md5sums=('feaeb68e98125362016194d67395c002') +md5sums=('ccc14c4709230529d6fdb77c07908095') build() { @@ -27,7 +27,7 @@ } package_python-kiwi(){ - depends=(python-docopt python-simplejson python-lxml python-requests python-setuptools python-yaml grub qemu squashfs-tools gptfdisk pacman e2fsprogs xfsprogs btrfs-progs libisoburn lvm2 mtools parted multipath-tools rsync tar shadow screen kiwi-man-pages) + depends=(python-docopt python-simplejson python-lxml python-requests python-yaml grub qemu squashfs-tools gptfdisk pacman e2fsprogs xfsprogs btrfs-progs libisoburn lvm2 mtools parted multipath-tools rsync tar shadow screen kiwi-man-pages) optdepends=('gnupg: keyring creation for APT package manager') cd kiwi-${pkgver} python3 -m installer --destdir "${pkgdir}/" dist/*.whl ++++++ kiwi-revert-bls-default-for-suse.patch ++++++ --- /var/tmp/diff_new_pack.5dJu4i/_old 2025-06-26 14:06:07.339875007 +0200 +++ /var/tmp/diff_new_pack.5dJu4i/_new 2025-06-26 14:06:07.343875173 +0200 @@ -1,25 +1,15 @@ -From b0d850842b0c8d4c98f0486f66ffd7c6e8f1a685 Mon Sep 17 00:00:00 2001 -From: Neal Gompa <ngo...@opensuse.org> -Date: Thu, 2 May 2024 06:23:45 -0400 -Subject: [PATCH] Revert "kiwi/bootloader: restore backward compatibility for - grub2 with bls" - -For the time being, SUSE distributions cannot handle KIWI's default to use -BLS with GRUB2. Until they catch up, revert this. - -This reverts commit 155d969d7752d92c90c69044bdd69be70f0a1c24. ---- - kiwi/xml_state.py | 2 +- - test/unit/bootloader/config/grub2_test.py | 4 ---- - 2 files changed, 1 insertion(+), 5 deletions(-) +restore backward compatibility for grub2 with bls. +For the time being, SUSE distributions cannot handle KIWI's +default (True) to use BLS with GRUB2. Until they catch up, the +kiwi default is set to: False diff --git a/kiwi/xml_state.py b/kiwi/xml_state.py -index eb39163cd..8c3fd45f3 100644 +index 7653be284..1e72cca22 100644 --- a/kiwi/xml_state.py +++ b/kiwi/xml_state.py -@@ -1009,7 +1009,7 @@ class XMLState: +@@ -1176,7 +1176,7 @@ class XMLState: bootloader = self.get_build_type_bootloader_section() - if bootloader: + if bootloader and bootloader.get_bls() is not None: return bootloader.get_bls() - return True + return False @@ -27,10 +17,18 @@ def get_build_type_bootloader_console(self) -> List[str]: """ diff --git a/test/unit/bootloader/config/grub2_test.py b/test/unit/bootloader/config/grub2_test.py -index e9189a609..d81d76ec7 100644 +index b40362941..a2dd3106d 100644 --- a/test/unit/bootloader/config/grub2_test.py +++ b/test/unit/bootloader/config/grub2_test.py -@@ -600,7 +600,6 @@ class TestBootLoaderConfigGrub2: +@@ -629,7 +629,6 @@ class TestBootLoaderConfigGrub2: + 'GRUB_BACKGROUND': '/boot/grub2/themes/openSUSE/background.png', + 'GRUB_CMDLINE_LINUX_DEFAULT': '"some-cmdline"', + 'GRUB_DISTRIBUTOR': '"Bob"', +- 'GRUB_ENABLE_BLSCFG': 'true', + 'GRUB_ENABLE_CRYPTODISK': 'y', + 'GRUB_GFXMODE': '800x600', + 'GRUB_SERIAL_COMMAND': '"serial --speed=38400"', +@@ -677,7 +676,6 @@ class TestBootLoaderConfigGrub2: 'GRUB_BACKGROUND': '/boot/grub2/themes/openSUSE/background.png', 'GRUB_CMDLINE_LINUX_DEFAULT': '"some-cmdline"', 'GRUB_DISTRIBUTOR': '"Bob"', @@ -38,7 +36,7 @@ 'GRUB_ENABLE_CRYPTODISK': 'y', 'GRUB_GFXMODE': '800x600', 'GRUB_SERIAL_COMMAND': '"serial --speed=38400"', -@@ -643,7 +642,6 @@ class TestBootLoaderConfigGrub2: +@@ -720,7 +718,6 @@ class TestBootLoaderConfigGrub2: call('GRUB_CMDLINE_LINUX', '"root=LABEL=some-label"'), call('GRUB_DISABLE_LINUX_UUID', 'true'), call('GRUB_DISTRIBUTOR', '"Bob"'), @@ -46,7 +44,7 @@ call('GRUB_ENABLE_CRYPTODISK', 'y'), call('GRUB_ENABLE_LINUX_LABEL', 'true'), call('GRUB_GFXMODE', '800x600'), -@@ -688,7 +686,6 @@ class TestBootLoaderConfigGrub2: +@@ -765,7 +762,6 @@ class TestBootLoaderConfigGrub2: call('GRUB_DISABLE_LINUX_PARTUUID', 'false'), call('GRUB_DISABLE_LINUX_UUID', 'true'), call('GRUB_DISTRIBUTOR', '"Bob"'), @@ -54,7 +52,7 @@ call('GRUB_ENABLE_CRYPTODISK', 'y'), call('GRUB_GFXMODE', '800x600'), call( -@@ -732,7 +729,6 @@ class TestBootLoaderConfigGrub2: +@@ -809,7 +805,6 @@ class TestBootLoaderConfigGrub2: call('GRUB_CMDLINE_LINUX_DEFAULT', '"abcd console=tty0"'), call('GRUB_DISABLE_LINUX_UUID', 'true'), call('GRUB_DISTRIBUTOR', '"Bob"'), @@ -62,7 +60,4 @@ call('GRUB_ENABLE_CRYPTODISK', 'y'), call('GRUB_ENABLE_LINUX_LABEL', 'true'), call('GRUB_GFXMODE', '800x600'), --- -2.44.0 - ++++++ python-kiwi.tar.gz ++++++ ++++ 12690 lines of diff (skipped)