diff --git a/PKGBUILD b/PKGBUILD index 424bffa..e30d3a1 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.24.57 +pkgver=9.24.59 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=('0ab51266d89919b640436bfbfa8549a7') +md5sums=('bb262c3b88fb73ffca368aa98474fbb1') build() { diff --git a/python-kiwi.changes b/python-kiwi.changes index f42836b..b7f9e22 100644 --- a/python-kiwi.changes +++ b/python-kiwi.changes @@ -1,3 +1,260 @@ +------------------------------------------------------------------- +Thu Apr 13 18:33:10 CEST 2023 - Marcus Schäfer + +- Bump version: 9.24.58 → 9.24.59 + +------------------------------------------------------------------- +Wed Apr 12 16:37:48 CEST 2023 - David Cassany + +- Adding a comment to explain the s390 specific path + + Signed-off-by: David Cassany + +------------------------------------------------------------------- +Wed Apr 12 11:06:57 CEST 2023 - David Cassany + +- Use parted only in s390 arch + + This commit ensures parted is only called in dracut-kiwi-lib for s390 + arch. It also fixes the spec to only require parted for + s390 builds. + + In addition parted requirement has been removed from dracut-kiwi-live + package since parted is not used in any other dracut module beyond + kiwi-lib. + + Signed-off-by: David Cassany + +------------------------------------------------------------------- +Mon Apr 03 13:24:36 CEST 2023 - David Cassany + +- Expand DASD partition table with parted + + Signed-off-by: David Cassany + +------------------------------------------------------------------- +Thu Mar 30 16:57:27 CEST 2023 - Marcus Schäfer + +- Fixed evaluation of custom start sector + + In case an alternative partition table start sector is + configured, the check to effectively apply it should be + based on the partition table type not on the firmware + name + +------------------------------------------------------------------- +Thu Mar 30 14:52:23 CEST 2023 - David Cassany + +- Add parted dependency for s390 + + Signed-off-by: David Cassany + +------------------------------------------------------------------- +Tue Mar 28 10:04:32 CEST 2023 - Marcus Schäfer + +- Bump version: 9.24.57 → 9.24.58 + +------------------------------------------------------------------- +Mon Mar 27 22:50:38 CEST 2023 - Marcus Schäfer + +- Build leap btrfs test without root as snapshot + + So far no btrfs integration test without root as snapshot existed + +------------------------------------------------------------------- +Sat Mar 25 00:44:50 CET 2023 - Marcus Schäfer + +- Support EFI boot from squashfs + + grub supports reading from squashfs. If no extra bootloader + installation is required this allows to boot from a squashfs + rootfs without extra boot partition. The prebuilt grub images + usually does not contain the squash4 module which is the + reason why kiwi creates the EFI module itself if the system + is fully immutable. Please note; the grub configuration + must be provided manually as part of the image description + in this case because grub-mkconfig at the time it has to be + called has no write permissions anymore. + +------------------------------------------------------------------- +Fri Mar 24 15:05:52 CET 2023 - Fabian Vogt + +- Fix /.snapshots mounting in the btrfs volume manager + + The /@/.snapshots subvolume was not mounted as /.snapshots in the root + filesystem snapshot. This is now necessary for snapper to work. + + While at it, create 1/snapshot as plain subvolume, it does not make sense + to snapshot @ itself. + +------------------------------------------------------------------- +Thu Mar 16 17:02:56 CET 2023 - Marcus Schäfer + +- Add support for config-host-overlay.sh script + +------------------------------------------------------------------- +Thu Mar 16 15:55:56 CET 2023 - Marcus Schäfer + +- Fixed build of dracut-kiwi-verity + + The spec file was missing the package definition to actually + create the dracut-kiwi-verity package. In addition the fixed + setting to the C standard 17 caused build errors for me on + distributions that uses C standard 11/12. + +------------------------------------------------------------------- +Tue Mar 14 16:26:06 CET 2023 - Marcus Schäfer + +- Allow custom template evaluation for install ISO + + So far only Live ISO images allowed for custom template usage + +------------------------------------------------------------------- +Tue Mar 14 16:01:57 CET 2023 - Marcus Schäfer + +- Fix Arch Linux Live ISO integration test + + Switch to grub for booting the ISO, for some reason isolinux + refused to work and there is no priority to dig into the issue. + This Fixes #2233 + +------------------------------------------------------------------- +Tue Mar 14 15:46:25 CET 2023 - Marcus Schäfer + +- Fix Arch Linux EFI install ISO integration test + + kiwi has code in bootloader/template/grub2.py which uses + linuxefi/initrdefi commands according to the configured + grub_platform. These commands does not exist on Arch and + therefore the integration test provides its own ISO + template. This Fixes #2232 + +------------------------------------------------------------------- +Tue Mar 14 10:18:53 CET 2023 - Marcus Schäfer + +- Add dracut-kiwi-verity dracut module package + + When building an image with an embedded verity hash via the + embed_verity_metadata="true" type attribute it is required + to setup the device map at boot time accordingly. The dracut + module in this commit provides the needed tooling as a + POSIX C implementation which is able to read the kiwi embedded + verityhash from the offset of the partition. Kudos goes to + Isaac True + + Co-authored-by: Isaac True + Signed-off-by: Isaac True + +------------------------------------------------------------------- +Mon Mar 13 19:35:39 CET 2023 - Joachim Gleissner + +- (Re-)add support for 'anymarkup' < 0.5.0 + + Fall back to module 'anymarkup' if 'anymarkup_core' is not available. + +------------------------------------------------------------------- +Sat Mar 11 18:01:53 CET 2023 - Marcus Schäfer + +- Support UNIXNODE device names for overlayroot + + When no other persistent naming schema can be used to + identify the device there should be the option to + specify the kernel unix device node name + +------------------------------------------------------------------- +Fri Mar 10 14:00:14 CET 2023 - Joachim Gleissner + +- Use module anymarkup-core instead of anymarkup + + Use 'anymarkup-core' directly instead of wrapper 'anymarkup'. + +------------------------------------------------------------------- +Thu Mar 09 09:03:34 CET 2023 - Marcus Schäfer + +- Fix permissions of live ISO system files + + Make sure initrd and squashfs.img takes permissions o644 + This Fixes #2246 + +------------------------------------------------------------------- +Wed Mar 08 10:14:20 CET 2023 - Marcus Schäfer + +- Update TW test-image-rpi-overlay build test + + It used rd.root.overlay.readonly but it meant rd.root.overlay.temporary + +------------------------------------------------------------------- +Wed Mar 08 09:48:44 CET 2023 - Marcus Schäfer + +- Fixed rd.root.overlay.readonly handling + + Fix the option implementation to actually do what it is supposed + to do, boot the system in fll read-only mode. In addition a new + parameter named rd.root.overlay.temporary has been introduced + which allows to boot up in read-write mode but the write area + is a tmpfs. Thus persistency only during runtime. Updated the + documentation accordingly + +------------------------------------------------------------------- +Tue Mar 07 22:10:55 CET 2023 - Marcus Schäfer + +- Fixed tumbleweed build tests + + opie no longer in TW + +------------------------------------------------------------------- +Tue Mar 07 22:08:47 CET 2023 - Marcus Schäfer + +- Fixed tumbleweed/test-image-azure + + opie no longer in TW + +------------------------------------------------------------------- +Tue Mar 07 18:54:52 CET 2023 - Marcus Schäfer + +- Support PARTLABEL device names for overlayroot + + When using GPT a partlabel exists that can also be used as a + device reference + +------------------------------------------------------------------- +Tue Mar 07 18:38:56 CET 2023 - Marcus Schäfer + +- Fixed kernel parameters for overlayroot setup + + The device selection for the read-only and read-write devices + in an overlayroot setup was implicitly done in the kiwi-overlay + dracut module by reading the root= information. This is a + concept which barely works and should be refactored in a way + that the root= information always points to the root device + and that an eventually existing write location is explicitly + provided via the existing rd.root.overlay.write parameter + which is allowed to be overwritten for providing an alternative + write location. Making this information consistent and explicit + on the kernel commandline simplifies the dracut code to + consume this information correctly. This Fixes #2251 + +------------------------------------------------------------------- +Sun Mar 05 11:19:09 CET 2023 - Marcus Schäfer + +- Fixed conditional options evaluation + + The former condition caused the end result list to be empty + +------------------------------------------------------------------- +Sat Feb 11 19:25:17 CET 2023 - Marcus Schäfer + +- Add support for creating delta containers + + Add new attribute delta_root="true|false" which in combination with + derived_from="OCI-base-image" allows to create a delta root tree + only containing the differences between the OCI-base-image and the + actions taken by the kiwi prepare step. Based on the delta root tree + the subsequent image creation process starts. Such an incomplete + root tree is only useful under certain circumstances which is also + the reason why the feature is only available to the oci and docker + image types. + ------------------------------------------------------------------- Fri Feb 10 08:43:21 CET 2023 - Marcus Schäfer @@ -100,6 +357,14 @@ Wed Jan 04 12:29:46 CET 2023 - Marcus Schäfer - Added kiwi-settings for Fedora arm build tests +------------------------------------------------------------------- +Mon Jan 02 12:30:04 CET 2023 - Marcus Schäfer + +- Pass along tmpdir to skopeo + + When using the --temp-dir parameter, it was not passed to the + skopeo calls when building a container image with kiwi. + ------------------------------------------------------------------- Thu Dec 22 16:14:09 CET 2022 - Marcus Schäfer @@ -109,6 +374,30 @@ Thu Dec 22 16:14:09 CET 2022 - Marcus Schäfer the individual partition. In the schema fat16 and fat32 were missing +------------------------------------------------------------------- +Thu Dec 22 11:13:06 CET 2022 - Robert Schweikert + +- Support new bootloadersettings section + + Allow to specify an optional element + inside of the section. The information is used to + specify custom arguments for the tools called in a bootloader + setup procedure, e.g shim-install, grub-install or grub-mkconfig. + kiwi does not judge on the given parameters and if the provided + data is effectively used depends on the individual bootloader + implementation. In this commit the data will be effectively + handled if bootloader="grub2" is configured. More precisely + the custom additions to support SUSE's TPM model with grub2 + can be configured as follows: + + + + + + + + This Fixes #2224 + ------------------------------------------------------------------- Tue Dec 20 18:58:10 CET 2022 - Marcus Schäfer diff --git a/python-kiwi.spec b/python-kiwi.spec index 113f0dd..0e98504 100644 --- a/python-kiwi.spec +++ b/python-kiwi.spec @@ -43,7 +43,7 @@ %endif Name: python-kiwi -Version: 9.24.57 +Version: 9.24.59 Provides: kiwi-schema = 7.5 Release: 0 Url: https://github.com/OSInside/kiwi @@ -300,7 +300,7 @@ Recommends: jing Requires: python%{python3_pkgversion}-solv %endif %if ! (0%{?rhel} && 0%{?rhel} < 8) -Recommends: python%{python3_pkgversion}-anymarkup +Recommends: python%{python3_pkgversion}-anymarkup-core %endif %description -n kiwi-systemdeps-image-validation @@ -438,7 +438,6 @@ Requires: e2fsprogs Requires: grep Requires: lvm2 Requires: mdadm -Requires: parted Requires: util-linux # lsblk is part of util-linux-systemd on openSUSE %if 0%{?suse_version} @@ -457,6 +456,7 @@ Requires: device-mapper %endif %ifarch s390 s390x Requires: s390-tools +Requires: parted %endif License: GPL-3.0-or-later Group: %{sysgroup} @@ -534,7 +534,6 @@ Requires: device-mapper %endif Requires: dracut Requires: xorriso -Requires: parted License: GPL-3.0-or-later Group: %{sysgroup} @@ -560,6 +559,26 @@ This package contains the kiwi-overlay dracut module which is used for booting vmx images built with KIWI and configured to use an overlay root filesystem +%package -n dracut-kiwi-verity +Summary: KIWI - Dracut module for disk with embedded verity metadata +%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian} +# Ubuntu 16.04 OBS environments refuse to set up due to +# initramfs-tools / dracut conflict and initramfs-tools is required +# to set up the build environment... +BuildRequires: dracut +%endif +Requires: dracut-kiwi-lib = %{version}-%{release} +Requires: dracut +BuildRequires: gcc +License: GPL-3.0-or-later +Group: %{sysgroup} + +%description -n dracut-kiwi-verity +This package contains the kiwi-verity dracut module which is used +for booting oem images built with KIWI and configured to use an +embedded verity metadata block via the embed_verity_metadata +type attribute + %package -n kiwi-man-pages Summary: KIWI - manual pages License: GPL-3.0-or-later @@ -692,6 +711,10 @@ fi %files -n dracut-kiwi-overlay %{_usr}/lib/dracut/modules.d/90kiwi-overlay +%files -n dracut-kiwi-verity +%{_usr}/lib/dracut/modules.d/80kiwi-verity +%{_bindir}/kiwi-parse-verity + %if "%{_vendor}" != "debbuild" %ifarch %{ix86} x86_64 %files -n kiwi-pxeboot diff --git a/python-kiwi.tar.gz b/python-kiwi.tar.gz index 7f174d3..2850698 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:d092ff5711ada5cbec980db541f51854a9219963a139b91e39b7d5e560f24a75 -size 2213742 +oid sha256:86ed1ea7dd264aced49208eb4c95e829afc3c70e59a645eef25dc53b7c324e22 +size 2231728