|
 |
 |
 |
Changelog for dracut-kiwi-verity-debuginfo-10.2.10-1.1.x86_64.rpm :
* Sun Feb 09 2025 Marcus Schäfer - Bump version: 10.2.9 → 10.2.10 * Sun Feb 09 2025 Marcus Schäfer - Poetry build sdist timestamps set to epoch 0 Newer versions of poetry set the timestamp for all source files to epoch 0. Such sources are not accepted by e.g Debian FTP servers and in general I don\'t like when tools changes their behavior just like that. This commit forces an older version of poetry for the purpose of creating the sdist tarball which then gets published on pypi. The argumentation for reproducible builds by forcing source files to a certain timestamp doesn\'t fly for me. I\'m open for any better solution though. This Fixes #2730 * Sat Feb 01 2025 Marcus Schäfer - Bump version: 10.2.8 → 10.2.9 * Thu Jan 30 2025 Marcus Schäfer - Classify missing chkstat as debug message chkstat is a distribution specific tool. If it is present we use it, if not we don\'t but it\'s not worth a warning. This Fixes #2711 * Thu Jan 30 2025 Marcus Schäfer - Allow to run setfiles multi threaded Use option -T0 for newer setfiles version. This Fixes #2719 * Thu Jan 30 2025 Marcus Schäfer - Add rd.kiwi.dialog.timeout option Allow to configure the timeout value for dialogs displayed by the kiwi dracut code. By default the timeout is set to 60 seconds. With the special value \"off\" the dialog will never timeout. This Fixes #2718 * Thu Jan 30 2025 Marcus Schäfer - Make sure copy actions does not drop context Use shutil.copy2 to copy files preserving their attributes in the grub BootLoader space. This Fixes #2709 * Thu Jan 30 2025 Marcus Schäfer - Improve unit test for archive target_dir Add a test case with absolute path in the target_dir to make sure we never unpack the archive to the host system. The actual issue was resolved together with the implementation in #1953 and commit 78238a993c966d1229cd2fc1f5923673a90de14d This Fixes #2701 * Thu Jan 30 2025 Marcus Schäfer - Fixed profiled overlay imports When building an image for profile: SOME and providing an overlay directory named SOME/... kiwi will sync the contents of this overlay directory to the root tree. However it took the toplevel name SOME/ into account which is unwanted because only the sub data structure should be synced into the new root tree. This Fixes #2690 * Mon Jan 27 2025 Marcus Schäfer - Bump version: 10.2.7 → 10.2.8 * Mon Jan 27 2025 Ondrej Holecek - Use multipath child instead of parent device On multipath systems we need to find underlying child device instead of using parent device. This prevents listing all parent devices for a multipath device * Sat Jan 25 2025 Marcus Schäfer - Increase size for agama integration test build Agama needs more space to build now * Sat Jan 25 2025 Marcus Schäfer - Fixed agama integration test rubygem-byebug and rubygem-agama-yast seems to no longer exist * Sat Jan 25 2025 Marcus Schäfer - Update TW integration tests Package nscd was dropped from TW * Wed Jan 22 2025 Marcus Schäfer - Fix documentation regarding URI styles In reference to commit 760a65558f9e2e91d3eaa3a2f9503ff596984b48 the support for iso:// URI types was dropped some time ago. However, the documentation was not properly updated. This commit fixes it * Tue Jan 21 2025 Marcus Schäfer - Fix return value of grub helper methods The grub helper methods to find grub tools returns a None value if the tool cannot be found. This None value could be used later in a Command call where it will be used in a join() command to log the resulting commandline. This join() call then fails and raises an unhandled error causing a stack trace in the application. This commit fixes it * Mon Jan 20 2025 Marcus Schäfer - Added disk validation for duplicate installs Installing the same image to different storage disks on the same machine creates device conflicts with unexpected side effects. This commit adds a validation based on the PTUUID of the disk image to check if another device on the system has the same ID and if yes, does not allow to install the image again including a message which device takes the same identifier. This references bsc#1228741 * Mon Jan 20 2025 Marcus Schäfer - Fixed documentation for signing key attribute The source locator name for local files was incorrect * Sat Jan 18 2025 Marcus Schäfer - Bump version: 10.2.6 → 10.2.7 * Sat Jan 18 2025 Marcus Schäfer - Update documentation Added a new troubleshooting chapter as subsection to the Build Host Constraints named Package Manager Behavior. It serves the purpose to describe options for the customer to change the default package manager behavior which we from the kiwi side do not influence intentionally. This is a followup change to bsc#1235448 * Tue Jan 14 2025 Marcus Schäfer - Drop still present tox artifacts There were still some left over tox files and the documentation contribution chapter was also wrong at several places * Mon Jan 13 2025 Marcus Schäfer - Add support for reading optional pkgmgr env file If there is a file .kiwi.package_manager.env in the root of the image tree it will be read and put into the caller environment for the selected package and repository manager. There are features in e.g zypper which can only be used via env variables. This Fixes bsc#1235448 * Mon Jan 13 2025 Marcus Schäfer - Auto convert unit test XML data to schema v8.3 * Mon Jan 13 2025 Marcus Schäfer - Rename btrfs_root_is_snapshot Rename btrfs_root_is_snapshot to btrfs_root_is_snapper_snapshot. This happens in preparation for the changes suggested in #2697 where we want to get rid of snapper specific btrfs code which will be available in snapper natively soon. To make sure a btrfs layout specific to snapper(and SUSE), the implicitly used attribute named btrfs_root_is_snapshot now becomes explicit and its new name will indicate that snapper sits behind it. Along with the rename a XSLT stylesheet to automatically convert the old name into the new name for schema v8.3 will be performed. * Mon Jan 13 2025 Marcus Schäfer - Bump version: 10.2.5 → 10.2.6 * Fri Jan 10 2025 Marcus Schäfer - Fixed donate button target * Wed Jan 08 2025 Marcus Schäfer - Added LUKS reencryption support Added rd.kiwi.oem.luks.reencrypt boot option consumed by the kiwi-repart dracut module. For OEM LUKS2 encrypted disk images. If set, reencrypts the disk prior an eventual resize and therefore creates a new key pool and master key. The reencryption is advisable if the image binary is not protected. With access to the image binary it\'s possible to extract the luks header which then allows to decrypt the data unless it was reencrypted. The reencryption process only runs if the checksum of the luks header still matches the one from the original disk image. Be aware that the reencryption will ask for the passphrase if the image has been built with an initial luks passphrase. * Wed Jan 08 2025 Marcus Schäfer - Fixed arm/tumbleweed/test-image-rpi No ruby required for this integration test build * Tue Jan 07 2025 Marcus Schäfer - Plain zipl loader needs boot partition If the rootfs is something zipl cannot read, we need an extra boot partition using a supported filesystem * Tue Jan 07 2025 Marcus Schäfer - Fixed IBM-Cloud-Standard profile The test-image-MicroOS integration test builds an IBM-Cloud-Standard profile as encrypted variant with a random key that is not protected by an encrypted boot image. This doesn\'t make sense. Thus the encryption setup for the IBM cloud standard build got removed. Use the IBM-Cloud-Secure-Execution profile to test encrypted secure linux builds * Tue Jan 07 2025 Marcus Schäfer - Fixed test-image-qcow-openstack rsh package was dropped from TW * Tue Dec 31 2024 Marcus Schäfer - Fix genprotimg for s390 builds A recent change on genprotimg now forbids to use --cert in combination with --no-verify, even though this was allowed before. * Fri Dec 20 2024 Marcus Schäfer - Fix documentation for repo, package gpg settings In contrast to the documentation, kiwi sets default values for any gpg setting if not explicitly specified differently. We want to avoid to inherit a behavior from how the distribution packages the package manager. This commit fixes the documentation to be in line with the implementation * Thu Dec 19 2024 Marcus Schäfer - Drop insecure and unsupported md5 digest Decommission the Checksum.md5() method and move all places in code to sha256(). The md5 digest is considered insecure and has also been removed from hashlib as a supported digest. This Fixes #2696 * Thu Dec 19 2024 Marcus Schäfer - Fix config functions action The action failed on the setup of the runtime because the upgrade of pip failed. * Thu Dec 19 2024 Marcus Schäfer - Bump version: 10.2.4 → 10.2.5 * Mon Dec 16 2024 Marcus Schäfer - Changed systemfiles provider Instead of providing a static list of filenames, provide a list of package names. It is expected that the pilot of flake-pilot resolves this list against the local package database to build up the filelist for provisioning * Sat Dec 14 2024 Marcus Schäfer - Bump version: 10.2.3 → 10.2.4 * Wed Dec 11 2024 Marcus Schäfer - Update system files setup for containers The attribute provide_system_files creates a meta file in the root tree named \'systemfiles\'. The contents of this file were produced by just a dump of the package database so far. For a more generic use of this data some adaptions were needed. First we allow to skip packages matching a pattern from being part of the system files. Next we do not put ghost and doc files into account. And last we handle library files in a different file named \'systemfiles.libs\' where we do not add symlink targets if the target path is also part of the package. The consumer of this information is flake-pilot which syncs that library system files from the host via --copy-links. This allows a more generic use with regards to versioned libraries e.g. libc * Tue Dec 10 2024 Neal Gompa - Drop /dev/pts from bind mount locations This has created havoc in the Fedora build environments by fully unmounting /dev/pts and breaking the builders for subsquent tasks. This is a partial revert of commit daf1323c5ded7e4e7783205f5e30457b40eb322f. * Sun Dec 08 2024 Marcus Schäfer - Don\'t take ghost files into account When creating the system files information do not take ghost files and artifact files into account * Tue Dec 03 2024 Marcus Schäfer - Bump version: 10.2.2 → 10.2.3 * Tue Dec 03 2024 Marcus Schäfer - Update STYLEROOT to SUSE 2022 * Mon Dec 02 2024 Marcus Schäfer - Fix broken links in the documentation * Mon Dec 02 2024 Marcus Schäfer - Fix legacy_bios_mode detection The code in this method does not work correctly if the firmware is set to \'bios\'. In bios only mode the method returned a false value which is incorrect as it should return a true value in this case. Without this patch ISO images will fail to boot because no loader gets configured. * Mon Dec 02 2024 Marcus Schäfer - Added /dev/pts to bind mount locations During runtime several kernel filesystems are bind mounted into the image root system such that programs expecting it can work. /dev/pts was not needed so far but seems to be a good addition to the list to make tools like sudo to work properly when called e.g. from a config.sh script. This Fixes #2686 * Fri Nov 29 2024 Adam Williamson - xorriso: respect efiparttable and gpt_hybrid_mbr This should make the xorriso-based ISO build path respect the \'efiparttable\' and \'gpt_hybrid_mbr\' settings when building a UEFI-compatible image, making it write a GPT disk label by default instead of an MBR (msdos) one. If it\'s building an image that is not UEFI-compatible it will always write an MBR label, regardless of this setting. If \'gpt_hybrid_mbr\' is set, xorriso will write an Ubuntu-style MBR/GPT hybrid partition table, where the MBR partition table includes a partition with type 00 and the bootable flag, as well as the partition with type ee required by the UEFI spec. This mildly violates the UEFI spec but may make the image bootable on native BIOS or CSM firmwares which refuse to boot from a disk with no partition marked \'bootable\' in the MBR. If \'gpt_hybrid_mbr\' is not set, xorriso will write a strictly UEFI-spec compliant label, with just the \'protective MBR\' required by the UEFI spec (no bootable partition) and the correct GPT partition table. Note this is somewhat different from what gpt_hybrid_mbr does for disk images. Also, we now pass -compliance no_emul_toc when building ISOs, as recommended by upstream in https://lists.gnu.org/archive/html/bug-xorriso/2024-11/msg00012.html This tool is generally always going to be building ISOs intended for write-once use, not multi-session use (and which are rarely, these days, written to physical discs at all anyway). Signed-off-by: Adam Williamson * Wed Nov 27 2024 Marcus Schäfer - Added provide/require system files for containers Added the attributes provide_system_files and require_system_files to control the provider and requester of system files in container image builds. systemfiles is a metadata file which contains all files from the package database at call time. It is used in flake-pilot to provision the systemfiles data from the host into the container instance. One possible use case for this data is a flake registration which uses a base container that is derived from a runtime container but all data from the runtime should be provisioned from the host. Using this feature tightly couples the flake to the host OS distribution and version. * Wed Nov 27 2024 Marcus Schäfer - Bump version: 10.2.1 → 10.2.2 * Wed Nov 27 2024 Marcus Schäfer - Fix scope issue Increase livetime of the the compressor instances to the livetime of RootImportOCI. They create temporary files which are referenced later and need to live longer than the block they got created in * Tue Nov 26 2024 Marcus Schäfer - Bump version: 10.2.0 → 10.2.1 * Mon Nov 25 2024 Marcus Schäfer - Fixed use of fscreateoptions for iso type The information for fscreateoptions was not passed along to the tooling if a custom filesystem attribute was specified. This Fixes #2681 * Mon Nov 25 2024 Marcus Schäfer - Allow to derive from multiple containers Add support for multi inheritance to the derived_from attribute In the order of a comma seperated list of docker source URI\'s a base tree is created. This was possible only with one container so far and Fixes #2680 as well as jira#OBS-354 * Thu Nov 21 2024 Marcus Schäfer - Bump version: 10.1.18 → 10.2.0 * Thu Nov 21 2024 Marcus Schäfer - Add selinux test build to TW Also update derived docker integration test to latest Leap * Wed Nov 20 2024 Neal Gompa - kiwi/schema: Fix allowed value type for ISO publisher and application ID According to the spec, this should be constrained to 128 characters but also allow quite a few other special characters (as well as spaces). We didn\'t allow spaces in application ID, but allowed too much for Publisher. Now we set up both correctly. * Sun Nov 17 2024 Marcus Schäfer - Fix setup of kiwi environment variables Some kiwi env vars are initialized with an empty value and not overwritten if another value is provided. For the selected variables an empty value setting is not allowed because the schema also enforces the value to be set at least once. In addition a helpful option named --print-kiwi-env was added to the \'image info\' command which allows to print the environment variables and their values. * Tue Nov 12 2024 Marcus Schäfer - Add random key support for LUKS encryption Allow to pass luks=\"random\". In random mode use the generated keyfile as the only key to decrypt. This is only secure if the generated initrd also gets protected e.g. through encryption like it is done with the secure linux execution on zSystems * Thu Nov 07 2024 Marcus Schäfer - Added development group in pyproject setup generateDS and other tools are needed and were forgotten to be added when we deleted the tox dependency * Wed Nov 06 2024 Marcus Schäfer - Added containers integration with OBS When building in the Open Build Service (OBS) there is no way to create outgoing connections from the build workers. To allow the section to fetch containers from the SUSE registry we need to apply an OCI URI translation into a local path. The actual OCI container image is expected to be provided by the obs backend on the worker. Along with this commit also an integration test named test-image-disk-containers is provided. This Fixes jira#OBS-351 * Sun Nov 03 2024 Marcus Schäfer - Fix rendering of SUSE docs The SUSE documentation is produced through a conversion of the ReST source into docbook. The name kiwi is reserved in the index and needs to be referenced as kiwi-ng when used as command. * Sun Nov 03 2024 Marcus Schäfer - Remove tox dependency tox was used as sort of a make target to run unit tests and more in a python virtualenv. However, since we switched everything to poetry it\'s no longer needed to let tox create the python virtual environments. This commit moves the tox targets into the Makefile and adapts the github workflow files accordingly. In addition the scripts container based tests were re-activated and fixed such that they succeed again. * Fri Nov 01 2024 Marcus Schäfer - Fix make build target Move the actions done by the tox target into the build target and call them there in a clean and easy to spot sequence. There is no need to call tox to prepare for the package submission, instead the checks and poetry runs to prepare for the package target should be called directly as part of the build target. In the future we might get rid of tox completely. * Fri Nov 01 2024 Marcus Schäfer - Bump version: 10.1.17 → 10.1.18 * Thu Oct 31 2024 Marcus Schäfer - Fixed zipl caller environment zipl gets confused with an active sysfs mount inside the root tree at call time of zipl. This commit umounts the /sys bind mount in the image tree prior calling zipl * Thu Oct 31 2024 Marcus Schäfer - Fix s390 test-image-disk build Add missing kernel links used by suse tools * Thu Oct 31 2024 Marcus Schäfer - Bump version: 10.1.16 → 10.1.17 * Wed Oct 30 2024 Marcus Schäfer - Fix coloring of build_status.sh flags Depending on the place of the status flag the color setup might fail. This commit fixes it * Wed Oct 30 2024 Marcus Schäfer - Add pytest-container as optional dependency The pyproject.toml listed pytest-container as dependency but it is used only to run the container based integration tests for the shell helper methods. For building the package this dependency should not be pulled in * Fri Oct 25 2024 Marcus Schäfer - Fix networking in erofs integration test The network setup was systemd-networkd based but the provided network config was not for systemd * Wed Oct 23 2024 Marcus Schäfer - Bump version: 10.1.15 → 10.1.16 * Wed Oct 23 2024 Marcus Schäfer - Fix erofs requires in spec erofs-utils for SUSE only exists in Tumbleweed. The former conditon would also add the requirement for ALP and SLFO which is wrong. This commit fixes it * Tue Oct 22 2024 Marcus Schäfer - Add vagrantconfig rule for vagrant format If the format=\"vagrant\" attribute is set, a vagrantconfig section becomes mandatory. This commit enforces this rule on the schema. This Fixes #2666 * Mon Oct 21 2024 Marcus Schäfer - Bump version: 10.1.14 → 10.1.15 * Thu Oct 17 2024 Marcus Schäfer - Fixed sphinx_rtd_theme setup Delete obsolete display_version attribute * Thu Oct 17 2024 Marcus Schäfer - Evaluate eficsm everywhere Fixed _supports_bios_modules() to take an eventually provided eficsm setup into account. The grub config still searches for i386 grub modules even if eficsm=\"false\" is set. * Thu Oct 17 2024 Marcus Schäfer - Fixed debian bootstrap script calls Run scripts as commands with their native shebang and not through bash. Not all debian package scripts uses bash, some of them uses sh which can be a link to dash or other interpreters. This Fixes #2660 * Thu Oct 17 2024 Marcus Schäfer - Update TW integration tests The package x86info was dropped from TW * Wed Oct 16 2024 Dan Čermák - Turn DiskFormat into an ordinary class - it does not need to be an abstract base class - use f-strings where applicable instead of format() - change return type of _custom_args_for_format from list to tuple * Mon Oct 14 2024 Marcus Schäfer - Add new containers section Allow to specify references to OCI containers in the image description like in the following example: During the kiwi process the containers are fetched into a temporary location and a systemd service is configured to one time load the containers into the local registry at first boot of the system. This Fixes #2663 * Fri Oct 04 2024 Marcus Schäfer - Bump version: 10.1.13 → 10.1.14 * Fri Oct 04 2024 Marcus Schäfer - Revert \"Install usrmerge for Debian integration test\" This reverts commit 95ac861741f14c4f35611c16328384c18e53dcfb. Solution needs to be provided in code * Fri Oct 04 2024 Marcus Schäfer - Install usrmerge for Debian integration test * Mon Sep 30 2024 Marcus Schäfer - Support older apt versions for bootstrap This Fixes #2660 * Fri Sep 27 2024 Marcus Schäfer - Run package scripts in apt bootstrap phase The bootstrap procedure based on apt only runs a manual collection of package scripts. This commit refactors the code that unpacks the bootstrap packages to a python implementation and adds a method to run the bootstrap scripts from all packages resolved by apt. * Thu Sep 26 2024 Marcus Schäfer - Bump version: 10.1.12 → 10.1.13 * Thu Sep 26 2024 Marcus Schäfer - Fix bundle extension for vagrant type When bundling result files that uses a vagrant type, kiwi creates them with the extension .vagrant.virtualbox.box or .vagrant.libvirt.box. The bundler code renames them using only the .box suffix which is too short as it is missing the subformat information. This commit fixes it and keeps this information in the result bundle file name. This Fixes #2656 * Thu Sep 26 2024 Marcus Schäfer - Use simple quotas (squota) for volumes * Wed Sep 25 2024 Marcus Schäfer - Add quota attribute to volume section Allow to set quota per volume for the btrfs filesystem This Fixes #2651 * Tue Sep 24 2024 Alyssa Rosenzweig - Fix globbing with exclude with regex This fixes a collection of bugs when producing erofs images. On one hand, this ensures that an exclude of `/sys` doesn\'t accidentally match `/lib/libsystemd.so`, only `/sys/whatever`. On the other hand, this ensures that `/dev/ *` does match `/dev/vda` and not just `/dev///////////`. This fixes libsystemd.so getting dropped in Kiwi-built FEX images. Signed-off-by: Alyssa Rosenzweig * Tue Sep 24 2024 Alyssa Rosenzweig - Honour custom exclude for filesystem builds All other call sites honour the custom exclude file, it\'s just this one that needs to be fixed. This unblocks use of Kiwi for generating FEX rootfs. Closes: #2652 Signed-off-by: Alyssa Rosenzweig * Mon Sep 23 2024 Isaac True - test: storage: update clone_device tests with new block size Signed-off-by: Isaac True * Fri Sep 20 2024 Isaac True - storage: clone_device: increase dd block size Increasing the block size used for dd reduces the time needed to clone a device. Signed-off-by: Isaac True * Tue Sep 17 2024 Marcus Schäfer - Bump version: 10.1.11 → 10.1.12 * Tue Sep 17 2024 Marcus Schäfer - Add missing erofscompression validation In the filesystem builder I forgot to evaluate the erofscompression attribute. This Fixes #2647 * Mon Sep 16 2024 Marcus Schäfer - Include PI and comments in XSL stylesheets So far comments and processing instructions (PI) were ignored when applying the XSL stylesheets. This commit updates all stylesheets to take them into account * Fri Sep 13 2024 Marcus Schäfer - Bump version: 10.1.10 → 10.1.11 * Fri Sep 13 2024 Marcus Schäfer - doc: Add login information test build test images * Fri Sep 13 2024 Marcus Schäfer - Bump version: 10.1.9 → 10.1.10 * Thu Sep 12 2024 Michal Suchanek - bootloader: Fix up ppc64 bootinfo again To make the code look pretty extra newline is inserted at the start of bootinfo file. This appears to break boot on Power9 PowerVM LPARs. * Thu Sep 12 2024 Marcus Schäfer - Add support for erofs erofs is an alternative readonly filesystem that can be used as alternative to squashfs. This Fixes #2633 * Thu Sep 12 2024 Marcus Schäfer - Fixed enclave integration test The SELinux policy of Fedora Rawhide when running completely in an initrd is not suitable to let the system boot up. Thus the current solution is to boot in permissive mode. A better solution for the future would probably be a selinux policy for enclaves * Wed Sep 11 2024 Marcus Schäfer - limit eif_build requires to fedora >= 42 * Wed Sep 11 2024 Marcus Schäfer - Bump version: 10.1.8 → 10.1.9 * Wed Sep 11 2024 Marcus Schäfer - Added sshd to nitro-enclave integration test * Wed Sep 11 2024 Marcus Schäfer - Fixed container sync options Do not exclude/filter any security/xattr capabilities. * Wed Sep 11 2024 Marcus Schäfer - Update container integration test Add getcap to check on filesystem capabilities * Wed Sep 11 2024 Marcus Schäfer - Add new build type provides for enclave Add a provides tag (read by the open buildservice) for the new enclave builder. Also add a recommends to eif_builder in the systemdeps-core meta package * Tue Sep 10 2024 Marcus Schäfer - Update enclave documentation Fixup repo setup in the build documentation * Tue Sep 10 2024 Marcus Schäfer - Bump version: 10.1.7 → 10.1.8 * Tue Sep 10 2024 Marcus Schäfer - Fixed enclave documentation Path to the build test was not correct * Tue Sep 10 2024 Marcus Schäfer - Update test-image-nitro-enclave package list Fixup package list to match Fedora rawhide * Tue Sep 10 2024 Marcus Schäfer - Move test-image-nitro-enclave to rawhide * Tue Sep 10 2024 Michal Suchanek - Fix ppc64 chrp bootinfo generation * Mon Sep 09 2024 Marcus Schäfer - Fixed documentation header Fixed double H1 headers from the boxbuild tweaks chapter. * Mon Sep 09 2024 Marcus Schäfer - Bump version: 10.1.6 → 10.1.7 * Mon Sep 09 2024 Marcus Schäfer - Move EXEC log message to the right place The log information of the command execution was not printed directly before the actual command invocation. There are other actions after the log information (e.g Path.which) which itself produce log information prior the real subprocess execution. This is very misleading when reading the log file and fixed in this commit. * Mon Sep 09 2024 Marcus Schäfer - Add support for architectures in deb source file When apt resolves packages on a multiarch repo it can happen that dependencies for packages from other architectures are pulled into the solver process but are not provided by any repository. To overcome this behavior the repository can be setup to serve packages only for a specified architecture or list of architectures. This is related to OSInside/kiwi-descriptions#102 * Fri Sep 06 2024 Marcus Schäfer - Bump version: 10.1.5 → 10.1.6 * Thu Sep 05 2024 Kostiantyn Astakhov <16296930+kastakhovAATTusers.noreply.github.com>- add allowExtraConfig and exportFlags to ovftool options Add allowExtraConfig and exportFlags to ovftool options * Thu Sep 05 2024 Marcus Schäfer - Bump version: 10.1.4 → 10.1.5 * Wed Sep 04 2024 Steffen Winterfeldt - create EFI/BOOT only if UEFI boot is intended * Wed Sep 04 2024 Steffen Winterfeldt - Fix boot support for ISO media on ppc64 add CHRP boot support for ppc64 and add xorriso option to avoid file name reduction to MS-DOS compatible 8.3 format * Tue Sep 03 2024 Marcus Schäfer - Fix initrd permissions kiwi stored the initrd for ISO images as 600 which might be too restrictive. This commit makes sure the initrd is stored as 644 and Fixes bsc#1229257 * Tue Sep 03 2024 Marcus Schäfer - Fixed ramdisk size setup For setting up the brd rd_size option kiwi creates 99-brd.conf used at load time of the kernel brd driver. The location for the conf file is set to /etc/modprobe.d/ However, in newer versions the location has changed to /usr/lib/modprobe.d/ and /etc/modprobe.d is no longer expected to exist. This commit makes sure /etc/modprobe.d is created if not present. * Tue Sep 03 2024 Marcus Schäfer - Bump version: 10.1.3 → 10.1.4 * Mon Sep 02 2024 kastakhov <16296930+kastakhovAATTusers.noreply.github.com>- Add note about guestOS values for vmware ovftools. * Mon Sep 02 2024 kastakhov <16296930+kastakhovAATTusers.noreply.github.com>- Add note about guestOS values for vmware platform. * Mon Sep 02 2024 Marcus Schäfer - Fixed resize of dos table type on s390 On s390, parted is used to detect the partition table type. In contrast to blkid the name for DOS tables is reported as \'msdos\' and not \'dos\' which impacts several conditions in the kiwi initrd code which checks for \'dos\'. This commit fixes the get_partition_table_type() method to return a consistent table name for DOS tables. This Fixes bsc#1228729 * Mon Sep 02 2024 Marcus Schäfer - Revert \"remove dependency on /usr/bin/python\" This reverts commit 15b450188483b567ca10bb459bf50ed90e905bb7. The change provided here entirely broke kiwi in OBS. With this patch applied every image build in OBS fails with the following message: \'line 1: /usr/sbin/kiwi: No such file or directory\' * Mon Sep 02 2024 Marcus Schäfer - Bump version: 10.1.2 → 10.1.3 * Sun Sep 01 2024 Marcus Schäfer - Fix bundle extension for archive types When bundling result files that uses an archive type like tbz or docker, kiwi creates them with the extension tar.xz/tar.gz The bundler code only uses the extension from the last tuple in a \".\" split which is wrong for \"tar.\" filenames. This commit adds an exception to the prefix rule for this output filenames and Fixes #2628 * Sun Sep 01 2024 Marcus Schäfer - Fix ImageSystem mount procedure The mount() method did not take custom partitions into account. This commit fixes it. This Fixes #2619 * Tue Aug 27 2024 Petr Gajdos - remove dependency on /usr/bin/python * Sun Aug 25 2024 Neal Gompa - Add support for isomd5sum for tagging iso files The isomd5sum tool suite is used and available on all supported distributions except SUSE distributions, and is necessary to produce conformant ISOs for most Linux distributions. This change adds support for isomd5sum tool suite for kiwi, though it does not extend the kiwi-live dracut module to use it. The upstream dracut dmsquash-live module must be used instead. Co-authored-by: Dan Čermák * Sat Aug 24 2024 Neal Gompa - kiwi/builder/live: Log the correct value for Application ID Since it is now possible to set a custom application ID, we want to see this when it is being used for the image. * Sat Aug 24 2024 Neal Gompa - kiwi/builder/live: Clean up leftover dracut configuration file The existence of this file breaks installers on live media that sync the full filesystem to disk and are not aware of this configuration before generating the target system initramfs. * Fri Aug 23 2024 Neal Gompa - Allow string versions and test \"word\" versions There are descriptions out in the wild that use \"non-numeric\" versions in their descriptions, particularly without separators for splitting. This change switches all of this to strings rather than assuming numbers and gracefully handles the single word case. * Sat Aug 17 2024 Holden R. Fried - Add documentation for boxbuild tweaks * Fri Aug 16 2024 Marcus Schäfer - Fixed wrong log level on --logfile When using --logfile, the log generated there matches the stdout log (which without --debug, does not include any debug info). This is in contrast to the automatically generated one in the output directory, which always does and also not following the way how it is documented. This Fixes #2503 * Mon Aug 12 2024 Marcus Schäfer - Fixed arch flag for namedCollection The arch flag in a namedCollection was not taken into account. This commit fixes this and also makes sure the result information is sorted and unique like we have it for the package lists. This Fixes #2600 * Fri Aug 09 2024 Marcus Schäfer - Fix handling of zipl.conf in plain zipl bootloader When using the plain zipl bootloader kiwi created a /etc/zipl.conf file. However, this file was only useful during image build as it points to a loop target device and geometry but does not represent a proper config file to be used in the running system. In addition the different distributors provides their own version and layout of the zipl.conf to be used inside of the system and with their respective tools. Thus this commit changes the way how kiwi operates in a way that the zipl.conf used in the initial image only exists during the image build process. An eventual present /etc/zipl.conf will not be touched by kiwi. This Fixes #2597 * Thu Aug 08 2024 Marcus Schäfer - Bump version: 10.1.1 → 10.1.2 * Thu Aug 08 2024 Marcus Schäfer - Improve error reporting for remote deployment Add new method called show_log_and_quit which displays the written error log file as a file box to the user * Thu Aug 08 2024 Marcus Schäfer - Update test-image-orthos integration test Update the test such that you can also build it locally. Change the remote installation target to be a ramdisk for easy testing of remote deployments * Thu Aug 08 2024 Marcus Schäfer - Setup default minimum volume size per filesystem The former method provided a static value but there are huge differences for the minimum size requirement of a filesystem. For example extX is fine with 30MB whereas XFS requires 300MB. This commit adds a more dynamic default value based on the used filesystem. * Wed Aug 07 2024 Marcus Schäfer - Increase default volume size So far 30MB was set as default volume size which is by far too small for a number of filesystems, e.g btrfs and also XFS. This commit increases the default volume size such that all modern filesystems builds if the default volume size is used. * Wed Aug 07 2024 Marcus Schäfer - Update test-image-raid Apart from testing raid this integration test also tests a certain LVM volume setup. The test has been updated to use the btrfs filesystem because it has the most strict size requirements. * Tue Aug 06 2024 Dan Čermák - Use shutil.which for Path.which * Tue Aug 06 2024 Dan Čermák - Drop Path.remove & Path.rename Both methods were only used in one place each and it makes much more sense to use the pathlib builtin methods instead * Tue Aug 06 2024 Dan Čermák - Replace Path.create implementation with pathlib builtin * Tue Aug 06 2024 Marcus Schäfer - Bump version: 10.1.0 → 10.1.1 * Mon Aug 05 2024 Marcus Schäfer - Mandatory package scripts for Debian bootstrap Make sure to run some mandatory package pre/post scripts such that settings like /etc/passwd, a root user, etc.. exists. This action can also be done in post_bootstrap.sh but I think it\'s better to do this in the core code * Mon Aug 05 2024 Marcus Schäfer - Bump version: 10.0.28 → 10.1.0 * Mon Aug 05 2024 Marcus Schäfer - kiwi no longer uses debootstrap For building Debian based images we used debootstrap to bootstrap an empty root until apt-get could be used to complete the job. This has now changed such hat apt-get is also used for bootstrapping a new system. The concept and also potential alternatives to the way kiwi bootstraps Debian based systems can be found here: * https://osinside.github.io/kiwi/working_with_images/build_without_debianbootstrap.html Due to the drop of debootstrap it might happen that package lists of existing image descriptions needs to be extended with packages that were formerly pulled in by debootstrap but did not get properly pulled in with the new apt based bootstrap. As reference please check out the integration tests from here: * https://github.com/OSInside/kiwi/tree/main/build-tests/x86/ubuntu * https://github.com/OSInside/kiwi/tree/main/build-tests/x86/debian Thanks * Mon Aug 05 2024 Marcus Schäfer - Bump version: 10.0.27 → 10.0.28 * Sat Aug 03 2024 Marcus Schäfer - Update documentation kiwi no longer uses debootstrap * Fri Aug 02 2024 Marcus Schäfer - Fix test_process_result_bundle_as_rpm * Fri Aug 02 2024 Marcus Schäfer - Fix Debian/Ubuntu integration tests Remove package hacks for debootstrap, explicitly add required packages and or configurations. * Fri Aug 02 2024 Marcus Schäfer - Drop types-pkg_resources Got removed from PyPI * Wed Jul 31 2024 Marcus Schäfer - Fix test_process_result_bundle_as_rpm os.path.basename was called on a MagicMock object which sometimes confused pytest * Wed Jul 31 2024 Neal Gompa - CI: Add testing against Python 3.13 Python 3.13 is shipping in Fedora Linux for Fedora Linux 41, so we should ensure kiwi is tested against it. The testing setup is based on the latest development version of 3.13 as it is not yet released. * Wed Jul 31 2024 Marcus Schäfer - Fix kiwi-repart restrictions The kiwi repart dracut module reads a profile file and if it does not exists it dies in the initrd. However, that profile file is not mandatory for the main resize functionality. Thus this commit turns this into a warning message. In addition the module-setup for 90kiwi-repart makes sure to include the required and optional profile files. This Fixes bsc#1228118 * Tue Jul 30 2024 Marcus Schäfer - Do not exclude the .profile env file by default kiwi\'s initrd modules read a .profile file which gets included into the initrd produced at build time. To allow rebuild of a host-only initrd from the booted system this information should be present such that it is possible to re-use kiwi initrd code. * Tue Jul 30 2024 Marcus Schäfer - Get rid of debootstrap Replace debootstrap with an apt-get based pre-download of packages followed by a dpkg-deb extraction. This Fixes #2599 * Tue Jul 30 2024 Marcus Schäfer - Bump version: 10.0.26 → 10.0.27 * Tue Jul 30 2024 Fabian Vogt - Fix dracut-interactive with systemd 256 With systemd 256, /usr (and thus also /bin/) is read-only in the initrd. Move dracut-interactive and its .service into /run instead. * Sun Jul 21 2024 Marcus Schäfer - Bump version: 10.0.25 → 10.0.26 * Fri Jul 19 2024 Dmitri Popov - Revise scripts_testing.rst * Fri Jul 19 2024 Dmitri Popov - Revise schema_extensions.rst * Wed Jul 17 2024 Marcus Schäfer - Pass kernel cmdline to agama In the agama integration test make sure to pass along the kernel boot parameters to allow controlling the behavior of agama better * Mon Jul 15 2024 Marcus Schäfer - Add directive to incorporate custom files Usually custom files are managed by placing them as overlay files or archives. However, overlay files must be structured inside of a root/ subdirectory and archive files are binary data. It is therefore not straight forward to just reference one or more files as source files to the image description to be placed into the image. This commit adds a new element which allows to do this. This Fixes #1953 * Sun Jul 14 2024 Marcus Schäfer - Bump version: 10.0.24 → 10.0.25 * Fri Jul 12 2024 Marcus Schäfer - Fix mocking of test_process_result_bundle_as_rpm * Fri Jul 12 2024 Marcus Schäfer - Fixed logging behavior of Compress::get_format The get_format() method allows to check which compression format a given input stream has. This is done by calling the supported compression tools in a row and let them check if they can deal with the provided data or not. As a result error messages are logged for streams that some tool doesn\'t understand. However, those error messages are no errors and only the result of the checking. This information in the kiwi log file is confusing and several users already complained when they see information like: EXEC: Failed with stderr: /usr/bin/xz: ...: File format not recognized This commit changes how the compression tooling is called in a way that no exception is raised (which leads to the above error message) but the result returncode is used to decide on the success or error of the respective compression tooling. * Fri Jul 12 2024 Marcus Schäfer - Allow to set custom ISO Application ID Add new attribute to be set in the ISO header main block. The application ID was used as identifier in the legacy initrd code from former kiwi versions. Because of this there is still the compat layer which sets an App ID as MBR identifier string unless the new application_id overwrites it. This Fixes #1810 * Fri Jul 12 2024 Marcus Schäfer - Bump version: 10.0.23 → 10.0.24 * Thu Jul 11 2024 Marcus Schäfer - Added integration test for SUSE agama installer This integration test builds a self-install ISO image which drops the SUSE Agama installer into a ramdisk for performing an interactive installation procedure to test Agama * Thu Jul 11 2024 Marcus Schäfer - Add --set-type-attr and --set-release-version Allow to set/overwrite type section attributes via the cmdline. Allow to set/add the release-version element via the cmdline. This Fixes #2478 and Fixes #2588 * Wed Jul 10 2024 Marcus Schäfer - Update integration test for eficsm Update the type of the Secure profile of the live image integration test as well as the type of the simple-disk test to make use of the eficsm=\"false\" attribute to switch off CSM mode and test an EFI only layout. * Wed Jul 10 2024 Marcus Schäfer - Add new eficsm type attribute Allow to produce EFI/UEFI images without hybrid CSM capabilities. This Fixes #2407 * Wed Jul 10 2024 Dmitri Popov - kiwi_plugin_architecture.rst * Wed Jul 10 2024 Dmitri Popov - Revise kiwi_from_python.rst * Wed Jul 10 2024 Marcus Schäfer - Wait for loop device detach to complete Detaching a loop device via \'losetup -d\' is an async operation. Once the command returns the loop can still be associated with the block special. Therefore this commit waits until the block device got released or a timeout is hit. This Fixes #2580 * Tue Jul 09 2024 Marcus Schäfer - Update requires for kiwi-systemdeps-disk-images On Tumbleweed several changes caused tools like strings or the codepage for mtools to be missing in a standard installation. For building disk images especially EFI capable ones with vendor information kiwi needs the above tool. This commit adds the packages providing them on Tumbleweed to the meta systemdeps for disk images. This Fixes #2585 * Mon Jul 08 2024 Marcus Schäfer - Supplements are not understood by Debian/Ubuntu * Fri Jul 05 2024 Marcus Schäfer - Add new builder for enclaves Add new EnclaveBuilder class which allows to build initrd-only image types. The first enclave implementation covers aws-nitro images produced via the eif_build tooling. * Thu Jul 04 2024 Marcus Schäfer - Split out bash completion into a sub-package Per review of the SUSE packaging team we should split out the bash completion into its own sub-package to give users better control over the completion feature. * Thu Jul 04 2024 Marcus Schäfer - Bump version: 10.0.22 → 10.0.23 * Thu Jul 04 2024 Neal Gompa - package: Add fully qualified provides for python3-kiwi in spec On SUSE distributions, currently the expectation is that packages built against the Python interpreter should have fully qualified names in the form of pythonXY-. Additionally, all other Linux distributions prefer something similar in the form of pythonX.Y-. This ensures we have those names so that distribution dependency generation works as expected. * Thu Jul 04 2024 Marcus Schäfer - Add support for arch selector on volumes The optional attribute allows to create the volume only if it matches the specified host architecture. Multiple architecture names can be specified as comma separated list. * Wed Jun 26 2024 Marcus Schäfer - Add rd.kiwi.oem.force_resize boot option Forces the disk resize process on an OEM disk image. If set, no sanity check for unpartitioned/free space is performed and also an eventually configured configuration from the image description will not be taken into account. This Fixes bsc#1224389 * Tue Jun 25 2024 Marcus Schäfer - Fixed leap integration tests For whatever reason procps is not longer pulled in by the core dependencies. Thus we have to explicitly request it * Thu Jun 20 2024 Marcus Schäfer - Fix potential race condition in loop detach The call to \'losetup -d\' is in fact an async operation. Once the command returns the loop can still be associated with the former file because it gets lazy unbound and releases later. Prior re-use of the same loop device it is therefore required to wait until the kernel event queue is processed. * Wed Jun 19 2024 Marcus Schäfer - Fixed repository include to image with dnf When specifying a repository element with imageinclude=\"true\", kiwi permanently adds the repo file inside of the image. The distribution standard path is used to store the repo file in this case. With dnf a package manager exists that is primarily used on Fedora and RHEL systems. Thus the standard path for the repo files is set to \"/etc/yum.repos.d\". However, dnf can also be used for other rpm based distributions e.g SUSE. On such a system the default path does not exist or is different because another package manager is the default. This commit makes sure that the expected path is created prior adding any repo files. * Tue Jun 18 2024 Marcus Schäfer - Bump version: 10.0.21 → 10.0.22 * Mon Jun 17 2024 Marcus Schäfer - Fixed selinux labels for boot files When kiwi calls the bootloader config and installation modules several files gets created as unlabeled_t because the labeling happened earlier. This commit ensures that setfiles gets called after BootLoaderConfig and/or BootLoaderInstall has done its job. This Fixes #2568 * Mon Jun 17 2024 Marcus Schäfer - Add bash to package requirements If there are script evaluations that does not specify an interpreter, kiwi uses bash for it. The same applies for sub-process invocations using shell pipelines. Thus the bash shell is a required tool for kiwi under certain circumstances. Further details in Issue #2567 * Wed Jun 12 2024 Pavel Zhukov - test-image-live: add shadow package Fixes: KiwiCommandError: chroot: stderr: /usr/bin/chroot: failed to run command ‘usermod’: No such file or directory * Tue Jun 11 2024 Fabian Vogt - Fix displaying the image verification failure dialog Kiwi must wait for the previous dialog to finish before showing another one as it\'s the same systemd service behind it. * Mon Jun 10 2024 Marcus Schäfer - Allow to customize the path of the isoscan cowfile Added rd.live.cowfile.path option to specify the cowfile at any path below the isoscan-loop-mount. This Fixes #2554 * Mon Jun 10 2024 Marcus Schäfer - Better error handling on grub vendor dir lookup The strings command is used to lookup the in-efi binary encoded vendor path. However, if the strings or bash command is not availabe on the build host, the command silently failed and moved into the standard (non vendored) EFI boot path. This can lead to a broken boot for those distros and image targets which requires a vendor directory and should lead to an error message instead of a successful image build. This Fixes #2565 * Mon Jun 10 2024 Marcus Schäfer - Fixed profile variable settings for preferences It\'s allowed to have multiple preferences sections. If those sections provides the same value multiple times, e.g keytable, the last one in the row will win. The setup of the variables in .profile environment file for the preferences elements is not following this rule and used the first section not the last. This commit fixes the profile variables to match the actual setup and Fixes #2560 * Thu Jun 06 2024 Dmitri Popov - Revise users.rst * Thu Jun 06 2024 Dmitri Popov - REvise systemdeps.rst * Thu Jun 06 2024 Dmitri Popov - Revise shell_scripts.rst * Thu Jun 06 2024 Marcus Schäfer - Add initrd boot option rd.kiwi.allow_plymouth By default kiwi stops plymouth if present and active in the initrd. Setting rd.kiwi.allow_plymouth will keep plymouth active in the initrd including all effects that might have to the available consoles. This is related to bsc#1214824 * Thu Jun 06 2024 Marcus Schäfer - Drop use of obsolete tool isconsole isconsole was provided with the dropped kiwi-tools package. It was a simple C application that checked the capabilities of the current console. In the context of fbiterm it was just used to provide proper error messages which fbiterm on its own did not show. As also fbiterm is on its way to become obsolete and isconsole is already no longer present, it\'s ok to just drop that extra check and therefore keep the fbiterm mode functional if one manages to include fbiterm and its fonts into the initrd * Tue Jun 04 2024 Marcus Schäfer - Bump version: 10.0.20 → 10.0.21 * Mon Jun 03 2024 Marcus Schäfer - Add missing write_meta_data method to BLS base The standard bootloader interface class provided a method named write_meta_data which is expected to be implemented in the specialized bootloader implementation. For BLS bootloaders this method was missing in the BLS base class. write_meta_data can provide additional cmdline options for booting. If not covered some boot options might be missing. This patch fixes it * Mon Jun 03 2024 Marcus Schäfer - Fix TW integration test to build outside OBS * Mon Jun 03 2024 Marcus Schäfer - Make sure BootLoaderConfig fixes are effective The BootLoaderConfigGrub2 class has methods to fix the grub-mkconfig generated files. It does that by mounting the system and changing the respective files after the mkconfig call. However, after the change the class instance stays open in combination with BootLoaderInstallGrub2 instance which itself under certain circumstances also mounts the system to call grub-install. At the time grub-install is called it cannot be guaranteed that all changes has been written unless an explicit umount in the BootLoaderConfigGrub2 class instance happened. This commit address the potential race condition. * Mon Jun 03 2024 Marcus Schäfer - Bump version: 10.0.19 → 10.0.20 * Mon Jun 03 2024 Marcus Schäfer - Update rawhide integration test Use new arch attribute for testing in the repository element of the rawhide/test-image-live-disk integration test. * Sat Jun 01 2024 Marcus Schäfer - Add support for arch attr in repository element Allow to provide different repository sections per architecture * Fri May 31 2024 Marcus Schäfer - Add --list-profiles to image info Allow to list available profiles from the processed image description * Thu May 30 2024 Marcus Schäfer - Bump version: 10.0.18 → 10.0.19 * Wed May 29 2024 Neal Gompa - package: Always include patches and number all sources and patches This ensures that stuff is applied reliably and all sources and patches are included as expected. Then the added kiwi-revert-bls-default-for-suse.patch is applied conditionally for SUSE distributions. * Wed May 29 2024 Marcus Schäfer - Bump version: 10.0.17 → 10.0.18 * Wed May 29 2024 Alberto Planas - package: adjust openSUSE patch * Wed May 29 2024 Marcus Schäfer - Bump version: 10.0.16 → 10.0.17 * Wed May 29 2024 Marcus Schäfer - Fixed box plugin documentation The provided example was no longer correct according to changes on the image description referenced in the example * Fri May 17 2024 Marcus Schäfer - Add procps to Tumbleweed integration tests * Thu May 16 2024 Marcus Schäfer - Add procps to Tumbleweed integration tests * Sun May 12 2024 Marcus Schäfer - Fix sdist upstream tarball contents The .virtualenv.dev-requirements.txt file is referenced by tox.ini but not put into the sdist tarball and therefore missing in the pypi upstream data. * Fri May 10 2024 Marcus Schäfer - Drop use of obsolete pkg_resources As documented in https://setuptools.pypa.io/en/latest/pkg_resources.html the use of pkg_resources is obsolete and will cause issues. So happened on Debian unstable. This Fixes #2548 * Thu May 09 2024 Adam Williamson - RepositoryDnf5: correct defaults, set system_cachedir The \"defaults\" in `use_default_location` here are the dnf4 defaults, not the dnf5 defaults, so let\'s update them. Also, for dnf5, we need to set `system_cachedir` instead of `cachedir` - see https://dnf5.readthedocs.io/en/latest/misc/caching.7.html , `system_cachedir` is the cache location used when running as root, `cachedir` is the cache location used when running as a regular user. Signed-off-by: Adam Williamson * Wed May 08 2024 Marcus Schäfer - Bump version: 10.0.15 → 10.0.16 * Wed May 08 2024 Marcus Schäfer - poetry build doesn\'t like symlinks The sdist tarball produced by poetry build does not include all files and skipped symlinks in test/data. This caused the unit test run to fail if called from within that sources * Wed May 08 2024 Marcus Schäfer - Fix spec file Require docopt-ng for Fedora 41+ * Tue May 07 2024 Marcus Schäfer - Bump version: 10.0.14 → 10.0.15 * Tue May 07 2024 Dmitri Popov - REview runtime_configuration.rst * Tue May 07 2024 Dmitri Popov - Review repository_setup.rst | |