Commit Graph

6316 Commits

Author SHA1 Message Date
Marcus Schäfer
170c3f100b
Fix doc: Booting a Live ISO Images from Grub2
The chapter described the setup of a menu entry for grub
to loop boot a kiwi live ISO. The information was outdated
and did not longer apply to the current state of the art.
This commit updates the documentation to be correct again.
2026-01-28 14:29:30 +01:00
Marcus Schäfer
f3c2d9425e
Bump version: 10.2.38 → 10.2.39 2026-01-28 13:17:35 +01:00
Neal Gompa (ニール・ゴンパ)
ff02a18bb4
Merge pull request #2939 from Vogtinator/livenoluks
Fix booting non-encrypted live images
2026-01-28 11:09:40 +01:00
Fabian Vogt
9b81a9ccfc Fix booting non-encrypted live images
activate_luks returned true if the passed blockdev was not luks.
2026-01-28 10:20:59 +01:00
Dan Čermák
d1ce885ee0
Merge pull request #2938 from OSInside/fix_pytest_6_type_hint_issue
Fix pytest type hint issue
2026-01-27 12:14:14 +01:00
Marcus Schäfer
0cbdf2099e
Fix pytest type hint issue
Running on pytest < 7 causes an AttributeError:
module 'pytest' has no attribute 'Config'. Quoting
the type hint argument to be a string and accessing
the elements of pytestconfig via getattr() and a
default value workarounds the issue for older pytest
versions
2026-01-27 12:01:58 +01:00
Marcus Schäfer
824f5bc5bf
Bump version: 10.2.37 → 10.2.38 2026-01-26 17:23:38 +01:00
Neal Gompa (ニール・ゴンパ)
6100ea00ba
Merge pull request #2937 from OSInside/fix_s390_unit_test
Fix s390 unit test
2026-01-26 08:50:40 -05:00
Marcus Schäfer
40f8da5f5b
Fix platform mock for kis builder unit testing 2026-01-26 14:14:13 +01:00
Marcus Schäfer
b522bae980
Fix s390 unit test
Forgot to mock the architecture properly. This commit fixes it
2026-01-26 13:10:08 +01:00
Marcus Schäfer
620e258b50
Bump version: 10.2.36 → 10.2.37 2026-01-26 12:08:10 +01:00
Neal Gompa (ニール・ゴンパ)
356821cc8c
Merge pull request #2936 from OSInside/dnf4-binary-name
Identify the correct binary for DNF4
2026-01-26 06:07:15 -05:00
Marcus Schäfer
039240cbb2
Move fedora arm build test to dnf5 2026-01-26 12:02:59 +01:00
Marcus Schäfer
617c29d5d4
Explicitly list dnf as a package to help OBS
If not mentioned explicitly OBS does not place it into
the repositories to build the image from
2026-01-26 11:52:49 +01:00
Marcus Schäfer
e8c14507d5
Move fedora container build test to dnf5 2026-01-26 11:42:04 +01:00
Marcus Schäfer
7552b33433
Move remaining fedora build tests to dnf5 2026-01-26 11:00:21 +01:00
Neal Gompa (ニール・ゴンパ)
163f7a4f9a
Merge pull request #2932 from OSInside/support_grub_env_variable_setup
Allow to setup the environment blob for grub
2026-01-26 04:46:29 -05:00
Neal Gompa
1a8bf27ead Reapply "Set CentOS 9 integration tests to use dnf4 explicitly"
This reverts commit 31a0171bbb.
2026-01-23 10:22:51 -05:00
Neal Gompa
830398422b Reapply "Set CentOS 10 integration tests to use dnf4 explicitly"
This reverts commit 9fe29d9925.
2026-01-23 10:22:51 -05:00
Neal Gompa
46b041d112 Identify the correct binary for DNF4
This is pretty much the same solution we used back when we supported
YUM and had to deal with yum vs yum-deprecated.
2026-01-23 10:22:51 -05:00
Neal Gompa
31a0171bbb Revert "Set CentOS 9 integration tests to use dnf4 explicitly"
This causes the environment to not have /usr/bin/dnf.

This reverts commit b2c4760e2f.
2026-01-23 09:21:39 -05:00
Neal Gompa
9fe29d9925 Revert "Set CentOS 10 integration tests to use dnf4 explicitly"
This causes the environment to not have /usr/bin/dnf.

This reverts commit df77cba989.
2026-01-23 09:21:20 -05:00
Neal Gompa
b2c4760e2f Set CentOS 9 integration tests to use dnf4 explicitly 2026-01-23 09:19:02 -05:00
Neal Gompa
df77cba989 Set CentOS 10 integration tests to use dnf4 explicitly
Also, fix the description of the tests to state it's for CentOS 10.
2026-01-23 09:18:07 -05:00
Neal Gompa
38c1070383 Revert "Switch centos v10 integration tests to dnf5"
DNF5 does not exist in CentOS 10 yet.

This reverts commit a722acedc5.
2026-01-23 09:17:08 -05:00
Marcus Schäfer
a722acedc5
Switch centos v10 integration tests to dnf5 2026-01-23 12:09:04 +01:00
Marcus Schäfer
53c2b0b2af
Fix agama integration test
Service agama-proxy-setup no longer exists
2026-01-23 09:53:07 +01:00
Marcus Schäfer
4448735bd4
Fix fedora integration test build
Explicitly add shadow package
2026-01-22 18:28:59 +01:00
Marcus Schäfer
83137abef6
Fix fedora integration test build
Explicitly add shadow package
2026-01-22 17:31:01 +01:00
Marcus Schäfer
186c5bb4fa
Allow to setup the environment blob for grub
Added new <environment> section to the existing <bootloadersettings>
section which allows to specify environment variables for setting
up an environment blob for the selected loader. With this commit
we add support for grub by using grub2-editenv. Other loaders
do not yet have an implementation or does not support environment
blobs. Settings will be ignored for unsupported loaders.
This Fixes #2922

Co-authored-by: Rhys Oxenham <rhys.oxenham@suse.com>
2026-01-22 16:05:21 +01:00
Marcus Schäfer
d43c53d2a7
Add staging box build to build_status helper 2026-01-22 16:05:21 +01:00
Marcus Schäfer
e797c1136f
Add missing base class method
The BootLoaderInstallBase class was missing the default
implementation for the set_disk_password API
2026-01-22 16:05:21 +01:00
Neal Gompa (ニール・ゴンパ)
137777a84f
Merge pull request #2934 from Conan-Kudo/rejigger-dnf-support
package/spec: Reorganize supported DNF variants in packaging
2026-01-22 04:38:27 -05:00
Neal Gompa
a9ebd4615f package/spec: Reorganize supported DNF variants in packaging
DNF5 has replaced DNF4 and MicroDNF since Fedora Linux 41, and this
replacement will take effect with CentOS Stream/RHEL 11 onward.

Furthermore, openSUSE Tumbleweed is switching to DNF5 for its support
of DNF, so switch things so that DNF5 is available for openSUSE.
2026-01-21 09:25:29 -05:00
Neal Gompa (ニール・ゴンパ)
bef163d8b2
Merge pull request #2933 from OSInside/ovf_via_open_vmdk
Move OVA support to open-vmdk
2026-01-21 08:38:21 -05:00
Marcus Schäfer
4a259aaaea
Move OVA support to open-vmdk
Finally this commit drops the use of the VMware ovftool
and moves to the real opensource alternative open-vmdk
This Fixes #2292
2026-01-21 11:45:04 +01:00
Neal Gompa (ニール・ゴンパ)
af810cacc3
Merge pull request #2931 from OSInside/conditional_setup_for_btrfs_relative_path
Set btrfs_relative_path conditional
2026-01-14 19:26:10 -05:00
Marcus Schäfer
9608445540
Set btrfs_relative_path conditional
The early boot script and also the ISO template should only
set this option if the conditions to set it are met. Conditions
for this option are if btrfs is in use and a default subvolume
and/or a snapper based snapshot is requested by the image
description. This Fixes #2919
2026-01-13 18:04:31 +01:00
Marcus Schäfer
28c98f58f6
Merge pull request #2930 from OSInside/fix_ramdisk_generator
Fixed ramdisk sysroot generator
2026-01-12 11:56:41 +01:00
Marcus Schäfer
75e4eba104
Fixed ramdisk sysroot generator
Do not use a custom _dev name and stick with the UUID representation
of the disk image in RAM after deployment. Former versions of udev
did not create a by-uuid device representation which now seems to
have changed. This then leads to the device name RamDisk_rootfs
not being created the and respective .device unit times out.
In addition the timer unit for the standard device representation
changed to infinity. This fixes bsc#1254116
2026-01-09 12:12:07 +01:00
Marcus Schäfer
6674171c60
Fix integration tests
Tests using btrfs snapshots with snapper has to
install snapper
2026-01-07 15:36:26 +01:00
Marcus Schäfer
3d1c2b0717
Bump version: 10.2.35 → 10.2.36 2026-01-07 15:12:41 +01:00
Neal Gompa (ニール・ゴンパ)
8f9bfcf69e
Merge pull request #2929 from OSInside/fix_ca_dist_naming
Update CA target distribution name
2026-01-07 08:59:59 -05:00
Marcus Schäfer
4129dbbf1f
Update CA target distribution name
Instead of rhel better name it redhat
2026-01-07 14:51:10 +01:00
Neal Gompa (ニール・ゴンパ)
2fc91ae417
Merge pull request #2697 from davidcassany/adapt_to_latest_snapper
Adapt to latest snapper
2026-01-07 07:48:06 -05:00
Marcus Schäfer
62e7cc8c0a
Bump version: 10.2.34 → 10.2.35 2026-01-07 10:45:16 +01:00
Marcus Schäfer
df12edb6e6
Merge pull request #2913 from rdoxenham/ca-certificates
Adding support for Custom CA Certificates during system build
2026-01-07 10:44:41 +01:00
Rhys Oxenham
88107398f5
Adding support for import of custom certificates
This commit adds support for providing custom CA certificates
during the build process. It allows a user to specify one ore
more CA file(s) via the new <certificates> section and/or
via the command line. The certificate files will be imported
directly after the image bootstrap has finished (where the
required CA update tools are available), but before any
further packages are retrieved, solving for situations where
the chroot environment needs certificates, e.g. when there's
a proxy server in the build environment.

Co-authored-by: Marcus Schaefer <marcus.schaefer@gmail.com>
2026-01-06 17:01:36 +01:00
David Cassany
9bd8fdcbb9
Refactor snapshots logic in a new SnapshotManager factory
This commit introduces the SnapshotManager factory to abstract Snapper
specific logic into its own class.

It also updates unit tests to reach full coverage. It essentially
adds a new snapper unit tests suite and it refactors the volume manager
tests suite.

Signed-off-by: David Cassany <dcassany@suse.com>
2026-01-05 17:02:17 +01:00
David Cassany
7c7e4a5e85
Use a NamedTuple for chroot bind mounts
Signed-off-by: David Cassany <dcassany@suse.com>
2026-01-05 17:02:17 +01:00