|
|
|
|
Changelog for kiwi-man-pages-10.0.27-1.1.x86_64.rpm :
* 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 * 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 * Thu May 02 2024 Marcus Schäfer - Add support for stopsignal in containerconfig Allow to specify the stopsignal via the containerconfig element as the following example shows SIGINT This Fixes #2543 * Thu May 02 2024 Steffen Winterfeldt - Fix set_disk_password to be effective Since commit 8aa517eb7 it is necessary to call _mount_device_and_volumes() prior making any modifications to boot files. In addition handle potential errors from the grub.cfg modification better. * Thu May 02 2024 Marcus Schäfer - Update Makefile Make sure custom patches are part of the package sources * Thu May 02 2024 Marcus Schäfer - Bump version: 10.0.13 → 10.0.14 * Thu May 02 2024 Neal Gompa - doc: Document the bls option for the grub bootloader * Wed May 01 2024 Neal Gompa - Temporarily revert grub-bls default to false for SUSE distributions For the time being, SUSE distributions cannot handle KIWI\'s default to use BLS with GRUB2. Until they catch up, revert this for them only. * Wed May 01 2024 Neal Gompa - kiwi/bootloader: restore backward compatibility for grub2 with bls The change to introduce the bls parameter broke backward compatibility with all existing kiwi descriptions for distributions that default to BLS. This fixes that by allowing the unset state to be equivalent to enabling it. Fixes: 8a8190098cb30358459ba10a4db1ba6446eee8c2 * Tue Apr 30 2024 Marcus Schäfer - Bump version: 10.0.12 → 10.0.13 * Mon Apr 29 2024 Marcus Schäfer - Overwrite compression setting only if randomized When building an encrypted image, the bundler never compressed the result. This overwrite from the runtime configuration and the default compression setting actually only makes sense when the image is randomized because only then a compression is for sure useless. This Fixes #2540 * Mon Apr 29 2024 Marcus Schäfer - Make sure lsblk output is sorted by dev name lsblk without the sorting option can provide the list of devices in different order. This patch makes sure lsblk sorts the output by the device name. This Fixes bsc#1223374 * Fri Apr 26 2024 Romain Geissler - Stop leaking plugins/{priorities,versionlock}.conf file with dnf4/5. This fixes the fedora issue https://bugzilla.redhat.com/show_bug.cgi?id=2270364 Signed-off-by: Romain Geissler * Fri Apr 26 2024 Marcus Schäfer - Fix luks_randomize setting Make sure the value passed for luks_randomize in the description becomes effective. It was not possible to switch off luks_randomize because any \"not\" value was turned into a true value. The actual default should therefore only apply in case luks_randomize is not specified at all which means only a None value will turn into a true value for this setting. * Fri Apr 26 2024 Adam Williamson - Fix package removal with dnf5 dnf5 does not implement `dnf autoremove ` as a synonym for `--setopt=clean_requirements_on_remove=true remove ` as dnf4 did. So, we should do it this way instead. Signed-off-by: Adam Williamson * Thu Apr 25 2024 Alberto Planas - Add \'bls\' parameter for the bootloader * Sat Apr 20 2024 Iván Chavero - Fix efifatimagesize attribute type The efifatimagesize attribute type value is set to \"oem\" but the documentation says that it is intended to be also used for creating ISO images. This causes a schema error when this attribute is set on a profile with type \"iso\" and blocks changing the EFI boot image size which is a problem if the image is bigger than 20M. This commit allows to specify the attribute also for the \"iso\" type * Fri Apr 19 2024 Marcus Schäfer - Add missing tool requires Latest changes on the bundler used sed and file which were not required by the spec. This is related to bsc#1221790 * Fri Apr 19 2024 Marcus Schäfer - Add vmdk format to test-image-bundle-format Allow to check if the bundle format rename is applied in the new bundle reference checker code * Fri Apr 19 2024 Marcus Schäfer - Fix file references in kiwi bundler result files When using a custom bundle_format the kiwi result bundler renames the output files to match the bundle_format. However, if there are output files that references other output files, for example the vmware binary (.vmdk) in the guest config file (.vmx) then this renaming breaks those result files. This patch adds a reference file check for all non binary output files if they contain a reference to another output file and updates the data accordingly. This Fixes bsc#1221790 * Fri Apr 19 2024 Marcus Schäfer - Don\'t compress vmdk images Like with qcow2 it\'s not expected that the format type gets compressed in the bundle * Fri Apr 19 2024 Alberto Planas - kiwi.rnc: define bls parameter for bootloader * Fri Apr 19 2024 Marcus Schäfer - Keep runtime_checker_metadata.yml as module file It was a bad idea to install a mandatory source file outside the module path. This prevents running kiwi from source * Fri Apr 19 2024 Marcus Schäfer - Fixed Arch build Forgot to add install of runtime_checker_metadata.yml * Thu Apr 18 2024 Marcus Schäfer - Update tumbleweed/test-image-disk integration test * Thu Apr 18 2024 Marcus Schäfer - Handle XSLT errors better Make sure etree.XSLTApplyError is a known error in the kiwi scope and raise an appropriate exception * Wed Apr 17 2024 Dmitri Popov - Revise profiles.rst * Wed Apr 17 2024 Dmitri Popov - Revise packages.rst * Wed Apr 17 2024 Dmitri Popov - Revise customize_the_boot_process.rst * Wed Apr 17 2024 Marcus Schäfer - Bump version: 10.0.11 → 10.0.12 * Mon Apr 15 2024 Marcus Schäfer - Drop concept of volumes_mounted_initially The volume mount should be the same process no matter if it happens for the first time or subsequently * Mon Apr 15 2024 Marcus Schäfer - Fixed mountpoint to use for read-only property Make sure get_mountpoint() is used to retrieve the correct mountpoint for the root entry point. Using the self.mountpoint member is not always correct * Mon Apr 15 2024 Marcus Schäfer - Prevent extra volume mount/umount on btrfs For setting up the read-only property an extra mount of the btrfs sub-volumes was issued. However, all volumes are mounted at that time. Thus it\'s not required to mount them again, resulting in a busy state because of the auto-snapshot mounts which does not get umounted and keeps a busy state until the lazy umount kicks in. This Fixes #2529 * Tue Apr 09 2024 Marcus Schäfer - Fix typo in documentation main page Superfluous format sequence * Mon Apr 08 2024 Marcus Schäfer - Added another search path for signed EFI binaries Add /usr/lib/grub/ *-efi-signed to search for shim signed EFI binaries too. This Fixes #2525 * Mon Apr 08 2024 Marcus Schäfer - Fixed runtime checks for dracut module packages Unfortunately the packaging of kiwi on Debian follows different naming conventions for dracut module packages which causes the runtime check to fail. This commit allows to check for multiple package names and adds the variants used on Debian. This Fixes #2524 * Thu Apr 04 2024 Marcus Schäfer - Bump version: 10.0.10 → 10.0.11 * Wed Apr 03 2024 Marcus Schäfer - Add schema upgrade opportunity for old schemas kiwi files using a schema version < 7.4 are no longer supported by kiwi >= v10.x.x. Thus this commit provides the required XSL stylesheets to upgrade older schemas to v74 such that they can be consumed by the latest kiwi version. The needed xsltproc instruction is placed on the main page of the documentation. * Wed Apr 03 2024 Marcus Schäfer - Delete kiwi compat mode The compat mode allowed a kiwi v7 legacy argument translation and is obsolete since a long time * Wed Apr 03 2024 Marcus Schäfer - Make excludes in bootstrap effective for dnf Followup fix to really use the ignore information in the dnf package manager implementation. This Fixes #2499 * Thu Mar 28 2024 Marcus Schäfer - Bump version: 10.0.9 → 10.0.10 * Wed Mar 27 2024 Marcus Schäfer - Bump version: 10.0.8 → 10.0.9 * Wed Mar 27 2024 Marcus Schäfer - Fix setup of discoverable partitions Make sure GUI is unique and typecode is set according to the standard. This Fixes #2517 * Tue Mar 26 2024 Dmitri Popov - Revise customize_boot * Mon Mar 25 2024 Marcus Schäfer - Live ISO Wait for udev events after repart Make sure to wait for the event queue to become empty after the creation of the write partition. When kiwi calls the code to create the write partition this emits new udev events. It\'s important to wait for the event queue to become empty to avoid a potential regression on the use of the device nodes. In the processing of the events it can happen that a device gets removed and re-added. If we don\'t want for udev to process the entire queue it can happen that the wrong block device is used. This wrong selection is only possible because the way how hybrid ISOs are designed exposes both, the disk and the partition for the root device with the same label. This Fixes bsc#1213595 * Sat Mar 23 2024 Marcus Schäfer - Bump version: 10.0.7 → 10.0.8 * Fri Mar 22 2024 Marcus Schäfer - Fix zipl setup for use with custom btrfs root vol In the setup case that btrfs is used for the system and the root partition is on a custom named volume (not /), this information was not passed to the zipl bootloader instance and this caused the mounting of the overall root system to fail. This commit fixes it * Fri Mar 22 2024 Marcus Schäfer - Allow ignore stanza in bootstrap So far the stanza was only effective when placed as part of the type=\"image\" packages section. This commit allows to place it also to the type=\"bootstrap\" packages. This Fixes #2499 * Wed Mar 20 2024 Marcus Schäfer - Bump version: 10.0.6 → 10.0.7 * Tue Mar 19 2024 Marcus Schäfer - Add support for %v in bundle format Allow a placeholder for the entire version text as provided by the section * Tue Mar 19 2024 Marcus Schäfer - Allow bundle format to be set on the commandline The bundle format is usually specified as part of the image description in the bundle_format attribute. This commit also allows to specify/overwrite the bundle format in the kiwi result bundle command via the new --bundle-format option. This Fixes #2509 * Tue Mar 19 2024 Marcus Schäfer - Bump version: 10.0.5 → 10.0.6 * Mon Mar 18 2024 Marcus Schäfer - Fixup cleanup of zipl templates Make sure temporary modifications to the zipl template and config file are not effective in the later system. This Fixes bsc#1221469 * Thu Mar 14 2024 Dmitri Popov - Revise system_update.rst * Thu Mar 14 2024 Dmitri Popov - Revise system_prepare.rst * Wed Mar 13 2024 Dmitri Popov - Revise system_create.rst * Wed Mar 13 2024 Marcus Schäfer - Bump version: 10.0.4 → 10.0.5 * Wed Mar 13 2024 Marcus Schäfer - Followup fix for use of /boot/zipl The mounting of /boot/zipl is also only required if the bootloader is set to grub2_s390x_emu * Wed Mar 13 2024 Marcus Schäfer - Update schema version in spec file * Tue Mar 12 2024 Marcus Schäfer - Drop rpm-dir from allowed repository type Using an arbitrary list of rpm packages as repository is a zypper only feature, barely tested and from our pov not really needed as a simple createrepo call turns any custom list of packages into a clean rpm-md repo including metadata. This commit drops rpm-dir from the list of allowed repository types and auto converts those image descriptions which makes use of it. Please note this does not prevent users from using flat package directories with zypper, because the type argument in the repository section is an optional attribute. In case there is no type specification zypper auto-detects and handles the data as it handles it. This Fixes #1926 * Tue Mar 12 2024 Dmitri Popov - Revise system_build.rst * Tue Mar 12 2024 Marcus Schäfer - Fixup use of /boot/zipl Only for the grub2_s390x_emu bootloader setup an optional boot partition setup must be put to /boot/zipl rather than to /boot * Mon Mar 11 2024 Marcus Schäfer - Lookup distro provided BLS entries for zipl Check if there is already an entry file name produced by the distribution logic/policy. If we can find an already present entry name, prefer this name over the kiwi naming policy * Mon Mar 11 2024 Marcus Schäfer - Install audit in s390 rawhide integration test * Sun Mar 10 2024 Marcus Schäfer - Bump version: 10.0.3 → 10.0.4 * Sat Mar 09 2024 Marcus Schäfer - Delete invalid EPEL repo from rawhide tests * Fri Mar 08 2024 Marcus Schäfer - Fix s390 tools and grub requirement On Fedora/RHEL this is named s390utils and there is no grub2 * Fri Mar 08 2024 Marcus Schäfer - Added rawhide integration test * Fri Mar 08 2024 Dmitri Popov - Temp commit * Thu Mar 07 2024 Marcus Schäfer - Bump version: 10.0.2 → 10.0.3 * Thu Mar 07 2024 Dmitri Popov - Revise image_size, kiwi * Thu Mar 07 2024 Neal Gompa - Ensure we use a compatible docopt-ng version To ensure our trick to switch between docopt and docopt-ng works, we need to have a higher minimum version for docopt-ng where compatibility with the original docopt was restored. * Wed Mar 06 2024 Marcus Schäfer - Fixed delta_root build The support for delta_root allows to build a delta container image from a given base container. Due to the refactoring of the kiwi code base using context managers no explicit deletion of instances happens anymore. This uncovered a weakness of the delta root code at the level of the overlay mount. At the time of the umount there are still active temporary mount handlers which keeps the mountpoint busy. In order to fix this properly also the PackageManager factory is now a context manager and the Repository factory received a cleanup method which is called when the PackageManager goes out of scope. This refactoring also fixes the busy state when building deltas * Wed Mar 06 2024 Marcus Schäfer - Bump version: 10.0.1 → 10.0.2 * Wed Mar 06 2024 Marcus Schäfer - Don\'t use poetry publish Publishing to pypi is done via pypa/gh-action-pypi-publish and the respective auth token. Calling poetry publish does not work because this is not authorized * Wed Mar 06 2024 Marcus Schäfer - Bump version: 10.0.0 → 10.0.1 * Wed Mar 06 2024 Marcus Schäfer - Drop ci-kiwi-9-compliant.yml Delete this action as it existed in the intermediate state prior the new major version v10.x.x * Wed Mar 06 2024 Marcus Schäfer - Add tzdata to Debian tests * Wed Mar 06 2024 Marcus Schäfer - Fixed sync script for test-image-rpi on Ubuntu * Wed Mar 06 2024 Marcus Schäfer - Install language-pack-en for Ubuntu arm test * Wed Mar 06 2024 Marcus Schäfer - Install locales-all for Debian tests * Wed Mar 06 2024 Marcus Schäfer - Install language-pack-en for Debian tests * Wed Mar 06 2024 Marcus Schäfer - Fix repo setup for Ubuntu arm test * Wed Mar 06 2024 Marcus Schäfer - Install network stack for Debian test * Wed Mar 06 2024 Marcus Schäfer - Request util-linux explicitly for Ubuntu tests * Wed Mar 06 2024 Marcus Schäfer - Add usr-is-merged to package list for bootstrap * Wed Mar 06 2024 Marcus Schäfer - Install language-pack-en for Ubuntu tests * Tue Mar 05 2024 Marcus Schäfer - Move Ubuntu integration tests to Lunar * Tue Mar 05 2024 Marcus Schäfer - Update test-image-rpi for Ubuntu on arm Do not install kiwi as test application * Tue Mar 05 2024 Marcus Schäfer - Fix repo setup for Debian integration tests Staging repo must be first for higher prio * Tue Mar 05 2024 Marcus Schäfer - Update test-image-docker-derived Don\'t install kiwi as test application, use something smaller, just vim * Tue Mar 05 2024 Marcus Schäfer - Move Debian build test from Buster to Bookworm Move from Debian 11 to Debian 12 for integration testing * Tue Mar 05 2024 Marcus Schäfer - Move Ubuntu integration tests from Jammy to Mantic Use Ubuntu 23.10 for the integration tests and move away from 22.04 * Tue Mar 05 2024 Neal Gompa - Switch to Poetry and use pyproject.toml definitions This allows kiwi to be built, developed, tested, and installed through Poetry. This also raises the minimum Python version to 3.9. * Tue Mar 05 2024 Marcus Schäfer - Delete test-image-microdnf microdnf is dead and dnf5 took over * Tue Mar 05 2024 Marcus Schäfer - Delete test-image-live-disk-v8 CentOS-8 is EOL and dropped from upstream kiwi * Tue Mar 05 2024 Dmitri Popov - Revise image info * Mon Mar 04 2024 Marcus Schäfer - Add support for BLS zipl Add support for to support BLS based zipl configuration. This Fixes #2481 * Fri Mar 01 2024 Dmitri Popov - Review Build WSL container * Fri Mar 01 2024 Dmitri Popov - Revise Build simple disk * Thu Feb 29 2024 Marcus Schäfer - Update v9 compliance action put the cherry-pick tests into an extra script and provide a skip list of commits for manual checking if needed * Thu Feb 29 2024 Marcus Schäfer - Fix activation of luks pool in the initrd kiwi called systemd-cryptsetup directly which does not take the settings available in /etc/crypttab into account. This commit changes the activation procedure in a way that the generator created unit file systemd-cryptsetupAATT... is used This Fixes bsc#1219009 * Thu Feb 29 2024 Marcus Schäfer - Apply changelog fixes by glob Does not require Makefile changes when maintaining branches * Wed Feb 28 2024 Marcus Schäfer - Add changelog fix file for commit deb6ca The commit used a wrong e-mail address which should not land in the created changes file for the packaging * Wed Feb 28 2024 Marcus Schäfer - Set default output console to gfxterm for grub If no console setting is done in the image description for grub the default output console is set to: gfxterm and the default input console is set to: console. This Fixes bsc#1219074 * Wed Feb 28 2024 Marcus Schäfer - Catch error condition more specific Only a KiwiCommandError is an exception we want to catch and handle, everything else is a bug and should not be masked * Tue Feb 27 2024 Marcus Schäfer - Add silent flag to CommandCapabilities an instance of CommandCapabilities allows to check for specific options of a command. If the parsing of options has failed a warning message is created by default. Under certain circumstances like the check for the --help option of setfiles, such a warning message can be misleading information in the build log file. Therefore the new silent flag allows to suppress the warning message and the flag is used for the capabilities of the setfiles utility. This Fixes #2350 * Tue Feb 27 2024 Marcus Schäfer - Fix documentation preferlvm example The custom volumes example shows a faulty XML description. This Fixes #2483 * Tue Feb 27 2024 Marcus Schäfer - Move SystemPrepare to context manager Change the SystemPrepare class to context manager. All code using SystemPrepare was updated to the following with statement: with SystemPrepare(...) as system_prepare: system_prepare.some_member() This completes the refactoring from finalizers to context managers and Fixes #2412 * Mon Feb 26 2024 Marcus Schäfer - Fallback to built-in partition UUID table If systemd-id128 is not found or failed use the kiwi built-in table as defined by the UAPI group to assign the partition UUID * Mon Feb 26 2024 Marcus Schäfer - Move DiskFormat to context manager Change the DiskFormat Factory to be a context manager. All code using DiskFormat was updated to the following with statement: with DiskFormat(...).new as disk_format: disk_format.some_member() This is related to Issue #2412 * Sat Feb 24 2024 Marcus Schäfer - Added requirement for xmltodict to spec Actually the real issue to this defect seems to live in the anymarkup source code. It seems that the import of xmltodict at the beginning of the core module is optional, but later on when handling XML xmltodict seems to be mandatory, see here: https://github.com/bkabrda/anymarkup-core/blob/08896a8215819edcc413e3f2588518046 9a4c2ed/anymarkup_core/__init__.py#L210-L229. Because this issue can result in a \"ImportError: Can\'t parse xml: xmltodict not installed\" turning kiwi into a bad exit condition I propose to add this python requirement to the kiwi spec as a workaround and try fixing the anymarkup packaging and module setup upstream in addition. To my knowledge all relevant distributions provides xmltodict * Sat Feb 24 2024 Marcus Schäfer - Fixed type hint for pinch_system method The PackageManager argument is allowed to be optional * Sat Feb 24 2024 Marcus Schäfer - Add support for discoverable partitions Set PARTUUID according to systemd-id128 if applicable This Fixes #1385 * Thu Feb 22 2024 Marcus Schäfer - Move Repository to context manager Change the Repository Factory to be a context manager. All code using Repository was updated to the following with statement: with Repository(...).new as repo: repo.some_member() This is related to Issue #2412 * Thu Feb 22 2024 Dmitri Popov - Build LiveISO review * Wed Feb 21 2024 Dmitri Popov - Buil KIS review * Wed Feb 21 2024 Dmitri Popov - Build expandable disk review * Wed Feb 21 2024 Dmitri Popov - Build container image review * Wed Feb 21 2024 Marcus Schäfer - Allow terminal emulation setup from the cmdline Using rd.kiwi.term will export the TERM variable into the initrd environment. In case the default value for the terminal emulation is not appropriate rd.kiwi.term can be used to overwrite the default. The environment is also passed to the systemd unit which calls dialog based programs in kiwi dracut code, such that the TERM setting will be effective there too. For example: rd.kiwi.term=vt100 This is related to bsc#1218095 * Tue Feb 20 2024 Marcus Schäfer - Fixed implementation for oem-shutdown If specified oem-shutdown caused a reboot -f -p which is a powerdown but not a graceful shutdown. This commit fixes this by using systemctl halt for a clean shutdown. This Fixes #2474 * Mon Feb 19 2024 Marcus Schäfer - Move VolumeManager to context manager Change the VolumeManager Factory to be a context manager. All code using VolumeManager was updated to the following with statement: with VolumeManager(...).new as volume_manager: volume_manager.some_member() This is related to Issue #2412 * Mon Feb 19 2024 Dan Čermák <45594031+dcermakAATTusers.noreply.github.com>- Refactor Command class Command.run() currently has a bit of a confusing behavior: if raise_on_error is False and the executable is not found, then a weird CommandT is returned (return code is -1 and stdout+stderr is None). This makes it possible to hanlde command not found errors separately, but it makes that needlessly verbose. So instead, let\'s just return None in *this * special case. That in turn uncovered, that in most cases when we set `raise_on_error=True`, we actually want an error if the command is not present but no error if the command fails to execute (e.g. because it returns -1 if you run `$cmd --version`). Hence we introduce the flag `raise_on_command_not_found`, which causes an exception to be raised if the command is not found. This makes it independent of the `raise_on_error` flag. Additionally, we add a small optimization: if command starts with /, then we assume it\'s a full path and we omit the call to which (and just check whether it exists). Co-authored-by: Marcus Schäfer * Mon Feb 19 2024 Marcus Schäfer - Move ImageSystem to context manager Change the ImageSystem class to context manager. All code using ImageSystem was updated to the following with statement: with ImageSystem(...) as image_system: image_system.some_member() This is related to Issue #2412 * Mon Feb 19 2024 Marcus Schäfer - Allow empty cherry-picks for compliance test If we cherry-pick from main to master the compliance check will notice that a commit already exists. This is not an error and we can allow to continue the picking via --allow-empty * Mon Feb 19 2024 Marcus Schäfer - Followup fix for .profile.extra Allow to source .profile.extra such that it is possible to read and act on e.g cmdline parameters. This is related to bsc#1218095 * Sun Feb 18 2024 Alexandre Detiste - Use unittest.mock from core python everywhere mock was an independent module that has been merged into the Python standard library. * Fri Feb 16 2024 David Cassany - Include partprobe in initrd for s390 This commit includes partprobe, in addition to parted, on s390 based systems. Otherwise partx is used and apparently it does not properly support s390. Fixes bsc#1219798 Signed-off-by: David Cassany * Fri Feb 16 2024 Marcus Schäfer - Fixed MicroOS integration test temporarily disable ignition/combustion/growpart and use kiwi\'s resize code for testing, oem-resize set to true * Thu Feb 15 2024 Marcus Schäfer - Fixed kis documentation The procedure to run qemu with a filesystem image as disk was not quite correct. * Wed Feb 14 2024 Marcus Schäfer - Update documentation about partition clones Using the root_clone attribute comes with some requirements and consequences. This commit documents them * Wed Feb 14 2024 Fabian Vogt - Improve documentation generation With Sphinx >= 6.0.0, jQuery is no longer included but the rtd theme\'s search functionality needs it. The theme was changed to load sphinxcontrib-jquery automatically with https://github.com/readthedocs/sphinx_rtd_theme/pull/1399, but kiwi broke this fix by loading the theme in the wrong way. Now that the theme is loaded properly, the search functionality also works with newer versions of sphinx again and the version pinning can be lifted. This Fixes: #2462 * Wed Feb 14 2024 Fabian Vogt - Allow specifying the filesystem for live image, also direct squashfs Allow specifying the filesystem for live image, also direct squashfs By setting it\'s now possible to specify the filesystem used for live images. By using \"squashfs\", the rootfs container is skipped entirely. * Wed Feb 14 2024 Marcus Schäfer - Add support for reading .profile.extra in initrd If there is the file /.profile.extra available in the initrd, kiwi will import this additional environment file after the import of the standard /.profile file. This is related to bsc#1218095 * Wed Feb 14 2024 Marcus Schäfer - Don\'t run ci-kiwi-9-compliant action on forks * Tue Feb 13 2024 Marcus Schäfer - Fix setup of UUID for btrfs When setting up the UUID for a btrfs filesystem via btrfstune it could happen that the call becomes interactive asking a question and give a recommendation. All this is unwanted and can be forced via the -f switch. This Fixes #2456 * Mon Feb 12 2024 Marcus Schäfer - Move OCI to context manager Change the OCI Factory to be a context manager. All code using OCI was updated to the following with statement: with OCI(...).new as oci: oci.some_member() This is related to Issue #2412 * Mon Feb 12 2024 Marcus Schäfer - Drop destructor from CommandProcess There is code that sends a SIGTERM to the process in case there is no error code information. I believe in this case sending SIGTERM will not kill the process (defunct) and I also don\'t see in what good condition we would be entering this state. * Mon Feb 12 2024 Marcus Schäfer - Fixed use of custom bootloader In case no bootloader implementation by kiwi should be used, users can specify the bootloader=\"custom\" attribute. Instead of skipping the bootloader stage in the builders it is better to consistently create an instance of bootloader but raise if a method of the bootloader interface is called for which the custom bootloader has no implementation. This commit adds the consistency bits. * Mon Feb 12 2024 Marcus Schäfer - Fixed scope of BootLoaderConfig instance Due to the refactor of BootLoaderConfig into context managers we had two instances of BootLoaderConfig. However, the first instance holds data the second instance needs which caused an issue. This commit makes sure there is one BootLoaderInstance within the lifetime of required services * Mon Feb 12 2024 Marcus Schäfer - Allow integration test to build outside of obs too * Mon Feb 12 2024 Marcus Schäfer - Follow up fix for drop obsolete C tools from kiwi The spec file make call to build the C code was forgotten to be deleted * Sun Feb 11 2024 Marcus Schäfer - Drop obsolete C tools from kiwi For building custom initrd images kiwi provided some optional helper tools. All these C written tools are old and outdated and either not useful anymore or replaced by other tools that are part of the distribution matrix we support. Thus with the move to the next major release those can go away. This also include the package kiwi-tools which was used to provide them * Wed Feb 07 2024 Marcus Schäfer - Update documentation Several examples still pointed to Leap 15.3 repos, but we are at Leap 15.5. Thus this commit shifts towards Leap 15.5 * Mon Feb 05 2024 Marcus Schäfer - Remove destructor from BootLoaderInstallGrub2 With MountManager as context manager the BootLoaderInstallGrub2 class doesn\'t need a destructor anymore. This is related to Issue #2412 * Mon Feb 05 2024 Marcus Schäfer - Remove obsolete destructor from BootImageDracut With MountManager as context manager the BootImageDracut class doesn\'t need a destructor anymore. This is related to Issue #2412 * Mon Feb 05 2024 Marcus Schäfer - Move Raid Luks and Integrity to context manager Change the RaidDevice, LuksDevice and IntegrityDevice classes to context manager: with RaidDevice(...) as raid: raid.some_member() with LuksDevice(...) as luks: luks.some_member() with IntegrityDevice(...) as integrity: integrity.some_member() In the context of the disk builder an ExitStack is used to handle the new context manager based classes This is related to Issue #2412 * Fri Feb 02 2024 Marcus Schäfer - Fix error message regarding ovftool For ova support kiwi still uses the proprietary ovftool from VMware. The error message if the tool could not be found was broken and the link to the VMware page was also outdated. * Fri Feb 02 2024 Marcus Schäfer - Drop PDF build of the documentation The kiwi.pdf file as provided in the kiwi-man-pages package was never really used by our users but comes with a huge dependency chain to LaTex. We provide the documentation online as well as converted to DocBook from where all other formats could be derived. Thus there is no need for us to produce an extra PDF document which is imho never consulted. In addition to this change also the contributing chapter has been reworked. Due to recent changes and drop of obsolete components from kiwi as well as the effort to move the development setup to poetry, there is only one non python tool needed for the development of kiwi. The check for this tool has been moved into the Makefile and all other checks formerly done in the helper/install_devel_packages script were deleted. * Wed Jan 31 2024 Marcus Schäfer - Fix crypto LUKS integration test The integration test build also encrypts /boot which requires grub to open the LUKS pool using cryptomount. grub does not support the argonID salted password hashes. Thus the integration test description configures pbkdf2 instead * Wed Jan 31 2024 Marcus Schäfer - Use ExitStack for MountManagers * Wed Jan 31 2024 Marcus Schäfer - Only pass appropriate bootloader arguments When constructing a BootLoaderConfig instance only pass arguments appropriate to the selected bootloader. It does not hurt but it is bad style and unnecessary data and code points if e.g grub relevant information is passed when we actually setup systemd-boot * Wed Jan 31 2024 Marcus Schäfer - Fix reading of os-release file If the /etc/os-release file contains comments or spaces python\'s csv reader will throw an exception. Thus this data must be ripped out prior reading * Tue Jan 30 2024 Marcus Schäfer - Allow to use Literal for all python versions * Tue Jan 30 2024 Marcus Schäfer - Better error message on module import * Tue Jan 30 2024 Marcus Schäfer - Move Disk to context manager Change the Disk class to be a context manager. All code using Disk was updated to the following with statement: with Disk(...) as disk: disk.some_member() This is related to Issue #2412 * Fri Jan 26 2024 Marcus Schäfer - Fixed test-image-rpi for TW No need to pull in zypper plugin that does not resolve on TW * Fri Jan 26 2024 Marcus Schäfer - Update documentation drop documentation for isolinux in API and user docs * Fri Jan 26 2024 Dan Čermák - Fix invalid escape sequence * Fri Jan 26 2024 Dan Čermák - Add missing assert call to install_test * Fri Jan 26 2024 Dan Čermák - Correct type hint of mbrid parameter * Fri Jan 26 2024 Dan Čermák - Convert BootLoaderConfigBase into an abstract base class * Fri Jan 26 2024 Dan Čermák - Convert BootLoaderConfig to free function The class serves really no purpose except for creating another namespace. This function now allows us to have more stricter type checking. * Fri Jan 26 2024 Marcus Schäfer - better function name * Mon Jan 22 2024 Marcus Schäfer - Drop support for syslinux/isolinux SYSLINUX has been abandoned for several years now, and it does not even work with modern versions of the filesystems supported in kiwi. This commit drops it and Fixes #2433 | |