Sync from SUSE:SLFO:Main python-kiwi revision 785e795c579f39edecd82eee8fdbb913

This commit is contained in:
Adrian Schröter 2024-09-04 09:09:15 +02:00
parent 3d51d177aa
commit 8409f6db67
4 changed files with 789 additions and 10 deletions

View File

@ -3,7 +3,7 @@
pkgname=('python-kiwi' 'kiwi-man-pages' 'dracut-kiwi-lib' 'dracut-kiwi-oem-repart' 'dracut-kiwi-oem-dump' 'dracut-kiwi-live' 'dracut-kiwi-overlay')
arch=(x86_64)
pkgver=10.0.21
pkgver=10.1.4
pkgrel=0
pkgdesc="KIWI - Appliance Builder Next Generation"
url="https://github.com/SUSE/kiwi/tarball/master"
@ -12,7 +12,7 @@ makedepends=(make gcc python-build python-docopt python-installer python-lxml py
provides=(kiwi-ng kiwi)
source=("${pkgname}.tar.gz")
changelog="${pkgname}.changes"
md5sums=('7a57fc01393c8e62449d1899cb185642')
md5sums=('7ba99016b1a56858eab221efa3650bcb')
build() {

View File

@ -1,3 +1,719 @@
-------------------------------------------------------------------
Tue Sep 03 08:31:43 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.1.3 → 10.1.4
-------------------------------------------------------------------
Mon Sep 02 16:08:51 CEST 2024 - kastakhov <16296930+kastakhov@users.noreply.github.com>
- Add note about guestOS values for vmware ovftools.
-------------------------------------------------------------------
Mon Sep 02 16:04:15 CEST 2024 - kastakhov <16296930+kastakhov@users.noreply.github.com>
- Add note about guestOS values for vmware platform.
-------------------------------------------------------------------
Mon Sep 02 11:45:10 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 09:08:05 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 07:45:26 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.1.2 → 10.1.3
-------------------------------------------------------------------
Sun Sep 01 16:26:29 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 15:53:29 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Fix ImageSystem mount procedure
The mount() method did not take custom partitions into account.
This commit fixes it. This Fixes #2619
-------------------------------------------------------------------
Tue Aug 27 11:35:17 CEST 2024 - Petr Gajdos <pgajdos@suse.cz>
- remove dependency on /usr/bin/python
-------------------------------------------------------------------
Sun Aug 25 01:26:45 CEST 2024 - Neal Gompa <ngompa@velocitylimitless.com>
- 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 <dcermak@suse.com>
-------------------------------------------------------------------
Sat Aug 24 13:13:18 CEST 2024 - Neal Gompa <ngompa@velocitylimitless.com>
- 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 13:05:52 CEST 2024 - Neal Gompa <ngompa@velocitylimitless.com>
- 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 15:51:17 CEST 2024 - Neal Gompa <ngompa@velocitylimitless.com>
- 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 21:13:08 CEST 2024 - Holden R. Fried <holdenrf2021@gmail.com>
- Add documentation for boxbuild tweaks
-------------------------------------------------------------------
Fri Aug 16 12:32:32 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 09:23:06 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 12:07:48 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 15:55:18 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.1.1 → 10.1.2
-------------------------------------------------------------------
Thu Aug 08 15:15:32 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 15:14:18 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 10:22:22 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 18:30:13 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 18:19:41 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 23:41:06 CEST 2024 - Dan Čermák <dcermak@suse.com>
- Use shutil.which for Path.which
-------------------------------------------------------------------
Tue Aug 06 23:38:44 CEST 2024 - Dan Čermák <dcermak@suse.com>
- 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 23:37:17 CEST 2024 - Dan Čermák <dcermak@suse.com>
- Replace Path.create implementation with pathlib builtin
-------------------------------------------------------------------
Tue Aug 06 12:07:33 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.1.0 → 10.1.1
-------------------------------------------------------------------
Mon Aug 05 18:02:34 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 09:55:53 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.0.28 → 10.1.0
-------------------------------------------------------------------
Mon Aug 05 09:47:53 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 09:47:12 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.0.27 → 10.0.28
-------------------------------------------------------------------
Sat Aug 03 14:13:07 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Update documentation
kiwi no longer uses debootstrap
-------------------------------------------------------------------
Fri Aug 02 20:59:19 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Fix test_process_result_bundle_as_rpm
-------------------------------------------------------------------
Fri Aug 02 18:02:25 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Fix Debian/Ubuntu integration tests
Remove package hacks for debootstrap, explicitly add
required packages and or configurations.
-------------------------------------------------------------------
Fri Aug 02 17:06:52 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Drop types-pkg_resources
Got removed from PyPI
-------------------------------------------------------------------
Wed Jul 31 16:57:30 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Fix test_process_result_bundle_as_rpm
os.path.basename was called on a MagicMock object which
sometimes confused pytest
-------------------------------------------------------------------
Wed Jul 31 12:09:20 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 18:16:54 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 12:50:54 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 09:45:37 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.0.26 → 10.0.27
-------------------------------------------------------------------
Tue Jul 30 08:16:41 CEST 2024 - Fabian Vogt <fvogt@suse.de>
- 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 19:20:23 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.0.25 → 10.0.26
-------------------------------------------------------------------
Fri Jul 19 09:49:01 CEST 2024 - Dmitri Popov <dpopov@suse.com>
- Revise scripts_testing.rst
-------------------------------------------------------------------
Fri Jul 19 09:39:48 CEST 2024 - Dmitri Popov <dpopov@suse.com>
- Revise schema_extensions.rst
-------------------------------------------------------------------
Wed Jul 17 15:58:23 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 15:48:52 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Add <file> 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 <file>
element which allows to do this. This Fixes #1953
-------------------------------------------------------------------
Sun Jul 14 11:17:33 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.0.24 → 10.0.25
-------------------------------------------------------------------
Fri Jul 12 12:58:24 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Fix mocking of test_process_result_bundle_as_rpm
-------------------------------------------------------------------
Fri Jul 12 12:43:23 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 10:18:24 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Allow to set custom ISO Application ID
Add new <type ... application_id="..."/> 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 09:43:09 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.0.23 → 10.0.24
-------------------------------------------------------------------
Thu Jul 11 16:47:22 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 14:33:16 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 16:58:57 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 16:32:30 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Add new eficsm type attribute
Allow to produce EFI/UEFI images without hybrid CSM
capabilities. This Fixes #2407
-------------------------------------------------------------------
Wed Jul 10 11:47:59 CEST 2024 - Dmitri Popov <dpopov@suse.com>
- kiwi_plugin_architecture.rst
-------------------------------------------------------------------
Wed Jul 10 11:42:36 CEST 2024 - Dmitri Popov <dpopov@suse.com>
- Revise kiwi_from_python.rst
-------------------------------------------------------------------
Wed Jul 10 11:26:45 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 09:40:49 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 09:17:49 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Supplements are not understood by Debian/Ubuntu
-------------------------------------------------------------------
Thu Jul 04 16:16:44 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 12:57:58 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.0.22 → 10.0.23
-------------------------------------------------------------------
Thu Jul 04 11:32:56 CEST 2024 - Neal Gompa <neal@gompa.dev>
- 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-<modulename>. Additionally, all other
Linux distributions prefer something similar in the form of
pythonX.Y-<modulename>.
This ensures we have those names so that distribution dependency
generation works as expected.
-------------------------------------------------------------------
Thu Jul 04 10:01:35 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Add support for arch selector on volumes
The optional <volume ... arch=""/> 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 14:47:27 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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
<oem-resize-once> configuration from the image description
will not be taken into account. This Fixes bsc#1224389
-------------------------------------------------------------------
Tue Jun 25 14:25:03 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 17:59:49 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 11:07:52 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 08:42:17 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.0.21 → 10.0.22
-------------------------------------------------------------------
Mon Jun 17 18:24:44 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 09:26:29 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 13:45:15 CEST 2024 - Pavel Zhukov <pavel@zhukoff.net>
- 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 14:37:01 CEST 2024 - Fabian Vogt <fvogt@suse.de>
- 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 16:13:37 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 10:36:59 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 09:50:02 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 14:24:07 CEST 2024 - Dmitri Popov <dpopov@suse.com>
- Revise users.rst
-------------------------------------------------------------------
Thu Jun 06 13:57:29 CEST 2024 - Dmitri Popov <dpopov@suse.com>
- REvise systemdeps.rst
-------------------------------------------------------------------
Thu Jun 06 13:42:57 CEST 2024 - Dmitri Popov <dpopov@suse.com>
- Revise shell_scripts.rst
-------------------------------------------------------------------
Thu Jun 06 12:32:07 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 12:12:45 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- 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 11:13:01 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
@ -173,6 +889,16 @@ Tue May 07 16:18:28 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.0.14 → 10.0.15
-------------------------------------------------------------------
Tue May 07 11:29:18 CEST 2024 - Dmitri Popov <dpopov@suse.com>
- REview runtime_configuration.rst
-------------------------------------------------------------------
Tue May 07 11:28:45 CEST 2024 - Dmitri Popov <dpopov@suse.com>
- Review repository_setup.rst
-------------------------------------------------------------------
Thu May 02 16:27:14 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
@ -383,6 +1109,21 @@ Thu Apr 18 12:46:20 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
Make sure etree.XSLTApplyError is a known error in the kiwi
scope and raise an appropriate exception
-------------------------------------------------------------------
Wed Apr 17 16:05:42 CEST 2024 - Dmitri Popov <dpopov@suse.com>
- Revise profiles.rst
-------------------------------------------------------------------
Wed Apr 17 15:32:04 CEST 2024 - Dmitri Popov <dpopov@suse.com>
- Revise packages.rst
-------------------------------------------------------------------
Wed Apr 17 15:09:39 CEST 2024 - Dmitri Popov <dpopov@suse.com>
- Revise customize_the_boot_process.rst
-------------------------------------------------------------------
Wed Apr 17 12:28:35 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
@ -493,6 +1234,11 @@ Wed Mar 27 17:42:26 CET 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
Make sure GUI is unique and typecode is set according to the
standard. This Fixes #2517
-------------------------------------------------------------------
Tue Mar 26 14:21:00 CET 2024 - Dmitri Popov <dpopov@suse.com>
- Revise customize_boot
-------------------------------------------------------------------
Mon Mar 25 12:26:24 CET 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>

View File

@ -32,6 +32,14 @@
%global python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%endif
%if %{undefined python3_version}
%global python3_version %(%{__python3} -Esc "import sys; sys.stdout.write('{0.major}.{0.minor}'.format(sys.version_info))")
%endif
%if %{undefined python3_version_nodots}
%global python3_version_nodots %(%{__python3} -Esc "import sys; sys.stdout.write('{0.major}{0.minor}'.format(sys.version_info))")
%endif
%if 0%{?debian} || 0%{?ubuntu}
%global is_deb 1
%global pygroup python
@ -44,7 +52,7 @@
%endif
Name: python-kiwi
Version: 10.0.21
Version: 10.1.4
Provides: kiwi-schema = 8.1
Release: 0
Url: https://github.com/OSInside/kiwi
@ -117,13 +125,11 @@ Provides: kiwi-image:tbz
# tools conditionally used by kiwi
%if 0%{?fedora} || 0%{?rhel} >= 8
Recommends: gnupg2
Recommends: debootstrap
Recommends: apt
Recommends: dpkg
%endif
%if 0%{?suse_version}
Recommends: gpg2
Recommends: debootstrap
Recommends: dpkg
%if 0%{?suse_version} >= 1650
Recommends: dnf
%endif
@ -150,7 +156,7 @@ Requires: zypper
Provides: kiwi-packagemanager:zypper
%endif
%if 0%{?debian} || 0%{?ubuntu}
Requires: debootstrap
Requires: apt
Requires: dpkg
Requires: gnupg
%endif
@ -326,6 +332,10 @@ Provides: kiwi-image:vmx
Requires: kiwi-systemdeps-filesystems = %{version}-%{release}
Requires: kiwi-systemdeps-bootloaders = %{version}-%{release}
Requires: kiwi-systemdeps-iso-media = %{version}-%{release}
%if 0%{?suse_version} >= 1650
Requires: binutils
Requires: glibc-gconv-modules-extra
%endif
%if 0%{?suse_version}
Requires: gptfdisk
%else
@ -390,12 +400,20 @@ leverage all functionality in KIWI.
%package -n python%{python3_pkgversion}-kiwi
Summary: KIWI - Appliance Builder Next Generation
Group: %{pygroup}
%if "%{python3_pkgversion}" == "3"
%if 0%{?suse_version}
Provides: python%{python3_version_nodots}-kiwi = %{version}-%{release}
%else
Provides: python%{python3_version}-kiwi = %{version}-%{release}
%endif
%endif
Obsoletes: python2-kiwi
Conflicts: python2-kiwi
Conflicts: kiwi-man-pages < %{version}
Requires: screen
Requires: file
Requires: sed
Requires: bash
Requires: python%{python3_pkgversion} >= 3.9
%if 0%{?ubuntu} || 0%{?debian}
Requires: python%{python3_pkgversion}-yaml
@ -638,6 +656,19 @@ Group: %{sysgroup}
%description -n kiwi-man-pages
Provides manual pages to describe the kiwi commands
%package -n kiwi-bash-completion
Summary: Bash Completion for kiwi-ng
Requires: bash-completion
Requires: python%{python3_pkgversion}-kiwi = %{version}
%if ! (0%{?debian} || 0%{?ubuntu})
Supplements: (%{name} and bash-completion)
%endif
BuildArch: noarch
%description -n kiwi-bash-completion
Bash command line completion support for python-kiwi - completion
of subcommands, parameters and keywords for the kiwi-ng command.
%prep
%setup -q -n kiwi-%{version}
@ -747,11 +778,13 @@ fi
%{_bindir}/kiwi-ng
%{_bindir}/kiwi-ng-3*
%{python3_sitelib}/kiwi*
%{_usr}/share/bash-completion/completions/kiwi-ng
%{_usr}/share/kiwi/xsl_to_v74/
%{_defaultdocdir}/python-kiwi/LICENSE
%{_defaultdocdir}/python-kiwi/README
%files -n kiwi-bash-completion
%{_usr}/share/bash-completion/completions/kiwi-ng
%files -n kiwi-man-pages
%config %_sysconfdir/kiwi.yml
%doc %{_mandir}/man8/*

BIN
python-kiwi.tar.gz (Stored with Git LFS)

Binary file not shown.