Commit Graph

6137 Commits

Author SHA1 Message Date
Marcus Schäfer
e911bd6861
Fix dracut code to be POSIX compliant
The redirect type "< <(...)" is not POSIX complians and leads
to a syntax error in dracut which calls bash as "sh" leading
it to be restricted to POSIX only
2025-07-18 10:35:32 +02:00
Marcus Schäfer
6ecd63948d
Fix centos/test-image-live-disk-v10
There is no package named iprutils
2025-07-16 16:10:07 +02:00
Marcus Schäfer
72725c87b7
Fix centos/test-image-live-disk-v10
Update package names
2025-07-16 16:04:15 +02:00
Marcus Schäfer
8700cd68fa
Added centos/test-image-live-disk-v10 build test 2025-07-16 15:59:23 +02:00
Marcus Schäfer
96750733f3
Fix tumbleweed/test-image-gce integration test
Drop obsolete growpart
2025-07-16 11:07:05 +02:00
Robert Schneider
3b40799020
Followup fix to support older apt versions for bootstrap
There are apt versions that do not create missing state files.
Make sure the intermediate bootstrap state file is created in
any case. This Fixes #2857
2025-07-16 10:54:54 +02:00
Marcus Schäfer
2668fc25a6
Fixed integration test builds
Next round of fixes for integration tests. Missing
or wrong service activations
2025-07-16 10:36:41 +02:00
Marcus Schäfer
6b2e8fa144
Fix arm/tumbleweed/test-image-rpi
Fix snapper setup for this integration test
2025-07-16 10:22:11 +02:00
Marcus Schäfer
d8c3426060
Fixed test-image-live-disk
Added missing openssh-server package
2025-07-15 16:28:45 +02:00
Marcus Schäfer
8fca4243ba
Fixed test-image-azure
Add missing python-azure-agent-config-default package
2025-07-15 15:54:51 +02:00
Marcus Schäfer
25da1bae4e
Fixed debian integration test builds
secure shell service is named ssh and not sshd there
2025-07-15 15:50:10 +02:00
Marcus Schäfer
7e0ae4f18c
Fixed integration test builds
Second round of fixes for integration tests. Again errors
now became visible due to the refactoring of the script code
2025-07-15 15:37:10 +02:00
Marcus Schäfer
3ae74dc30e
Fixed integration test builds
Errors from scripts were no longer ignored due to the last
cleanup of the integration test script code. This commit
fixes the now exposed build errors
2025-07-15 15:03:59 +02:00
Neal Gompa (ニール・ゴンパ)
b0137bc38b
Merge pull request #2856 from OSInside/cleanup_integration_tests
Cleanup integration tests config.sh script code
2025-07-15 07:57:40 -04:00
Neal Gompa (ニール・ゴンパ)
cedd7a8358
Merge pull request #2859 from OSInside/fix_runtime_check
Fix check_target_dir_on_unsupported_filesystem
2025-07-15 07:57:16 -04:00
Marcus Schäfer
5061f907c1
Fix check_target_dir_on_unsupported_filesystem
Find the first existing path in the target path and
check the filesystem capabilities for this path.
This Fixes #2858
2025-07-15 12:12:39 +02:00
Marcus Schäfer
75f2138f19
Merge pull request #2855 from andreabolognani/riscv64
defaults: Add patterns for shim/grub2 on riscv64
2025-07-15 11:06:35 +02:00
Andrea Bolognani
612c5840f1 defaults: Add patterns for shim/grub2 on riscv64
A recent commit changed the way these are looked up and
accidentally broke image building on riscv64, with

  KiwiBootLoaderGrubSecureBootError: Signed grub2 efi loader not found

now being raised for kiwi recipes that worked just fine
before that moment.

Fixes: 197572378c
Thanks: David Abdurachmanov <davidlt@rivosinc.com>
Thanks: Marcus Schäfer <marcus.schaefer@gmail.com>
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-07-15 10:13:45 +02:00
Marcus Schäfer
47d9a6d477
Cleanup integration tests config.sh script code
Add script code to shellcheck and fix all reported issues.
Get rid of suseXX and baseXX methods as much as possible.
Add set -ex for all script code. Do not allow any script
code to fail.
2025-07-14 18:24:23 +02:00
Neal Gompa (ニール・ゴンパ)
49ba8a9ccd
Merge pull request #2852 from OSInside/add_slfo_integration_test
Add SLFO integration test
2025-07-14 12:00:34 -04:00
Marcus Schäfer
eefb0daf15
Add SLFO test-image-disk-simple integration test
Add simple disk test and allow for testing the new
transparent container idea for the aws toolchain. also
add SLFO builds to the helper script
2025-07-14 14:37:38 +02:00
Neal Gompa (ニール・ゴンパ)
a53c495595
Merge pull request #2851 from OSInside/fix_disk_has_unallocated_space_check
Fixed check for unallocated space on disk
2025-07-09 09:43:09 -04:00
Marcus Schäfer
b40829db88
Fixed check for unallocated space on disk
So far the check for unallocated space was only working for GPT
and there it was also not really stable. The check was based on
verifying if the backup GPT table is really at the end of the
disk. Depending on which tool was used to dump the image on the
target this "mistake" often got corrected by the tools that
dumped the image. In this case the check no longer worked.
This commit improves the check by another test which looks
for the real free bytes on disk compared to the current
partition geometry.
2025-07-09 15:39:07 +02:00
Marcus Schäfer
356a7b7cc7
Move to neutral directory for calling osc
When calling the helper/build_status.sh script to get an
overview about the results of the integration tests, there
is a stupid new behavior from the osc tool that it assumes
a package name according to the name of the directory you
are in probably connected to the fact that the data in this
directory is a git checkout or some other strange assumption.
This commit moves to a neutral directory where none of the
osc internal assumptions applies and it just does what it
should do... showing results of the given project.
2025-07-09 12:50:06 +02:00
Marcus Schäfer
dd05ad2af5
Bump version: 10.2.26 → 10.2.27 2025-07-09 11:26:31 +02:00
Marcus Schäfer
7b39c1a6fe
Merge pull request #2850 from OSInside/device_persistency_selectable_for_install_media
Add rd.kiwi.install.devicepersistency
2025-07-09 11:25:09 +02:00
Neal Gompa (ニール・ゴンパ)
3fb15c53bf
Merge pull request #2847 from OSInside/custom_filesystem_uuid
Seed filesystem UUIDs with SOURCE_DATE_EPOCH + offset
2025-07-08 10:47:03 -04:00
Marcus Schäfer
f9fb77e93e
Add global option --setenv
Allow to set environment variables in the caller environment
via the commandline, e.g --setenv SOURCE_DATE_EPOCH=42
2025-07-08 16:37:38 +02:00
Marcus Schäfer
8038ccfbef
Seed filesystem UUIDs with SOURCE_DATE_EPOCH
For reproducible builds the calculation of the filesystem UUID
should be persistent with each rebuild of the image. To achieve
this the UUID is calculated using the SOURCE_DATE_EPOCH from
the environment plus a char-number representation of the filesystem
label name as random seed. In kiwi every filesystem is created
with a label, thus only in case there is no SOURCE_DATE_EPOCH
available we continue to create the UUID as random data.
This Fixes #2761
2025-07-08 16:37:38 +02:00
Marcus Schäfer
d3283644aa
Add label attribute for <partition> section
Allow to specify a filesystem label as part of a <partition>
definition. So far the label was set by the name of the
partition. With the new label attribute, a filesystem label
different from the partition name can be set. This commit
also updates/fixes the documentation in this regard.
2025-07-08 16:37:38 +02:00
Marcus Schäfer
25d54fdd33
Improve log message in SystemIdentifier
Add some scope information such that we know from where
this log information originates from.
2025-07-08 16:37:38 +02:00
Gavin Lambert
ca746a3cbe
Fix regression in get_partition_node_name
backwards compat for lsblk before 2.38
if START column not supported, fall back to default sort
2025-07-08 16:06:26 +02:00
Marcus Schäfer
282a4e1491
Add rd.kiwi.install.devicepersistency
Allow to specify which type of persistent device name should
be used to build up the list of installation disk devices.
For example rd.kiwi.install.devicepersistency=by-path would
use the by-path representations for the available disk
devices. The default (by-id) stays untouched. In case an
invalid or not present device representation is selected, kiwi
falls back to the non persistent unix node names.
2025-07-07 16:45:40 +02:00
Marcus Schäfer
09e49ad68d
Update test-image-disk
Add NetworkManager for better remote debugging capabilities
2025-07-04 16:15:45 +02:00
Marcus Schäfer
804beab07c
Merge pull request #2846 from bmwiedemann/rbmbrid
Make mbr-id deterministic
2025-07-02 09:47:39 +02:00
Bernhard M. Wiedemann
66a0a4c3d5 Make mbr-id deterministic
Log the value of SDE so it is available to review,
even if the build system does not tell about it.

Update the tests to cover the new code-path.

Co-Authored-By: Marcus Schäfer <marcus.schaefer@gmail.com>
2025-07-02 08:49:43 +02:00
Marcus Schäfer
9a5a788860
Merge pull request #2845 from bmwiedemann/reproducibledracut
Ensure dracut initrd is reproducible
2025-07-01 15:49:29 +02:00
Bernhard M. Wiedemann
4640c183ea Ensure dracut initrd is reproducible
This helps a bit with issue #2358

Add reproducible flag for UKI too

Update tests accordingly

Co-Authored-By: Marcus Schäfer <marcus.schaefer@gmail.com>
2025-07-01 11:31:16 +02:00
Marcus Schäfer
ae1328d3c0
Merge pull request #2844 from aale24/verity_runtime_options
Add kernel parameter support for dm-verity options
2025-06-27 14:58:15 +02:00
Marcus Schäfer
4f510e39a7
Bump version: 10.2.25 → 10.2.26 2025-06-27 11:19:27 +02:00
Neal Gompa (ニール・ゴンパ)
09f6076473
Merge pull request #2843 from OSInside/fix_suse_arm_shim
Fix shim lookup for arm on SUSE
2025-06-27 05:12:52 -04:00
Marcus Schäfer
272245b490
Fix shim lookup for arm on SUSE
Add missing search path for shim binary on arm based SUSE
systems. Also update the tumbleweed/test-image-live-disk
integration test for arm to build with secure boot enabled
to actually test a secure boot enabled ISO build.
This Fixes #2842
2025-06-27 11:08:44 +02:00
Alejandro Perez Pestana
2006b4c9fe
Add kernel parameter support for dm-verity options
Implement rd.kiwi.verity_options= parameter to allow runtime customization of veritysetup options

Closes #2837
2025-06-27 09:07:30 +00:00
Marcus Schäfer
f9312b95c1
Merge pull request #2840 from OSInside/add-container-snap
Add support for container-snap as a container-image engine
2025-06-26 11:08:50 +02:00
Dan Čermák
5372049c29
Add container_import template test 2025-06-25 16:03:09 +02:00
Dan Čermák
01ef41f3b1
Add support for container-snap as a container-image engine
With this commit, we can now pre-load images using container-snap directly
during the kiwi image build
2025-06-25 16:03:08 +02:00
Marcus Schäfer
d59309cc5b
Bump version: 10.2.24 → 10.2.25 2025-06-25 14:21:01 +02:00
Neal Gompa (ニール・ゴンパ)
a98ccc07dc
Merge pull request #2841 from OSInside/fix_get_partition_node_name
Fixed get_partition_node_name
2025-06-25 06:24:43 -04:00
Marcus Schäfer
7794a2fb72
Merge pull request #2838 from OSInside/fix_root_reference_in_snapshot_root
Fix mount system for root_is_snapper_snapshot
2025-06-25 10:35:45 +02:00
Neal Gompa (ニール・ゴンパ)
1c3e764307
Merge pull request #2839 from OSInside/fix_error_output
Fix logging of stderr data in command calls
2025-06-25 03:50:52 -04:00