Commit Graph

1253 Commits

Author SHA1 Message Date
Marcus Schäfer
a46f26b385
Bump version: 10.2.20 → 10.2.21 2025-05-09 11:43:48 +02:00
Marcus Schäfer
3963e56c91
Add documentation for new attribute
Add details how to use the new overlayroot_readonly_filesystem attribute
2025-05-08 22:07:04 +02:00
Marcus Schäfer
dd9f991de6
Bump version: 10.2.19 → 10.2.20 2025-05-05 10:19:10 +02:00
Marcus Schäfer
a3d10cd6b0
Bump version: 10.2.18 → 10.2.19 2025-05-01 20:40:39 +02:00
Neal Gompa (ニール・ゴンパ)
34130b8ffa
Merge pull request #2797 from OSInside/support_gpt_on_s390
Add support for GPT targettype on s390
2025-04-30 06:52:10 -04:00
Marcus Schäfer
2111bb567d
Add support for GPT targettype on s390
Allow to build s390 images using GPT instead of the old DOS
partition table. zipl has added support to read from GPT.
This Fixes #2694
2025-04-30 12:34:27 +02:00
Marcus Schäfer
7bf437956d
Add --no-compress option to bundler
Allow to skip the compression for bundle files marked
to become compressed. This Fixes #2736
2025-04-30 12:12:51 +02:00
Marcus Schäfer
4ea1c2e7ea
Bump version: 10.2.17 → 10.2.18 2025-04-28 16:48:09 +02:00
Neal Gompa
15469e305f doc: overview: Add list of supported Linux distributions
These are the Linux distributions that are developed and actively
tested for with the latest kiwi releases.

This should offer greater clarity about what we're able to support
as an upstream project.
2025-04-27 12:04:27 -04:00
Marcus Schäfer
bea7599dc8
Fix broken doc link
Rephrase chapter pointing to a documentation side at VMware.
They are constantly changing their documentation URLs that
I'm tired of fixing this. This Fixes #2782
2025-04-25 09:22:13 +02:00
Marcus Schäfer
ff0f885ad0
Bump version: 10.2.16 → 10.2.17 2025-04-22 16:03:39 +02:00
Marcus Schäfer
10c15bb92b
Merge pull request #2771 from OSInside/allow_ramdisk_size_as_oem_option
Added <oem-ramdisk-size> element
2025-04-10 11:30:36 +02:00
Marcus Schäfer
313f296587
Added <oem-ramdisk-size> element
So far it was only possible to specify the size of the ramdisk
via the kernel commandline option: ramdisk_size. In a remote
deployment it was therefore required to carry this size as a
mandatory information to the deployment server. With this commit
we allow to specify the size for the ramdisk to be configured as
part of the image configuration which makes this information
also available inside of the initrd. If provided the ramdisk_size
kernel commandline option still takes precedence over the
<oem-ramdisk-size> setting to avoid any behavior change and to
still allow dynamic overrides of the ramdisk size.
2025-04-09 18:17:32 +02:00
Marcus Schäfer
2f92bdf067
Prevent loading unused data in oem deployment
In case rd.kiwi.ramdisk is used as part of a remote deployment
setup, it's not needed to load the system kernel and initrd
because it's not used as kexec is not called with the system
deployed into memory. For ramdisk deployments the system is
booted using the currently active kernel and initrd and as
such we can avoid loading an extra kernel and initrd for
booting the system via kexec.
2025-04-09 17:04:48 +02:00
Marcus Schäfer
72f2237bde
Update documentation
Add information about new apk (Alpine) support
2025-04-01 15:10:12 +02:00
Marcus Schäfer
5af510aacf
Bump version: 10.2.15 → 10.2.16 2025-03-25 13:13:00 +01:00
Marcus Schäfer
48d3ccfd05
Support sourcetype setting on the commandline
Allow to specifiy the sourcetype(metalink|baseurl|mirrorlist)
also on the commandline via --set-repo/--add-repo options. So
far this was only possible as part of the kiwi description file
2025-03-25 11:35:09 +01:00
Marcus Schäfer
807aa36eca
Bump version: 10.2.14 → 10.2.15 2025-03-25 08:40:22 +01:00
Marcus Schäfer
d84c39f5c1
Bump version: 10.2.13 → 10.2.14 2025-03-25 08:30:11 +01:00
Marcus Schäfer
15a187aae7
Merge pull request #2745 from OSInside/reencrypt_wipe_insecure_passphrase
Add rd.kiwi.oem.luks.reencrypt_randompass
2025-03-25 08:29:30 +01:00
Marcus Schäfer
fdfa3b7494
Support arch attribute for <users> section
Allow to setup users per arch. This Fixes #2737
2025-03-24 15:06:02 +01:00
Marcus Schäfer
15470b5337
Make integration tests to build outside of OBS
Update and extend all integration tests such that they also
build outside of the Open Build Service. Along with the changes
on the descriptions a simple build-tests.sh script was added
to drive the build process. The build is based on the kiwi
boxbuild plugin in container mode to build the tests
from a given build-tests directory. A new chapter to document
how to Build the Build Tests is also provided and referenced
on the github main page.
2025-03-09 20:14:46 +01:00
Marcus Schäfer
88930d3f3d
Add rd.kiwi.oem.luks.reencrypt_randompass
For OEM LUKS2 encrypted disk images in combination
with rd.kiwi.oem.luks.reencrypt. Reset insecure built time
passphrase with a random onetime passphrase
2025-03-03 12:55:17 +01:00
Marcus Schäfer
03b05601f7
Bump version: 10.2.12 → 10.2.13 2025-03-03 09:40:13 +01:00
Marcus Schäfer
fdcc309e15
Bump version: 10.2.11 → 10.2.12 2025-02-26 17:39:37 +01:00
Marcus Schäfer
207ad8203d
Bump version: 10.2.10 → 10.2.11 2025-02-16 17:41:04 +01:00
Marcus Schäfer
8f3fa76343
Update box plugin documentation
Add chapter about new container build feature. The
box plugin can now also run the build in containers
2025-02-16 17:21:14 +01:00
Marcus Schäfer
236381191e
Bump version: 10.2.9 → 10.2.10 2025-02-09 20:16:13 +01:00
Marcus Schäfer
d3f25324f9
Bump version: 10.2.8 → 10.2.9 2025-02-01 23:13:22 +01:00
Marcus Schäfer
04d05f80d0
Merge pull request #2727 from OSInside/allow_dialog_timeout
Add rd.kiwi.dialog.timeout option
2025-01-31 17:25:48 +01:00
Marcus Schäfer
c90c1c11c3
Add rd.kiwi.dialog.timeout option
Allow to configure the timeout value for dialogs displayed
by the kiwi dracut code. By default the timeout is set to
60 seconds. With the special value "off" the dialog will
never timeout. This Fixes #2718
2025-01-30 22:39:12 +01:00
Marcus Schäfer
60becf931f
Improve unit test for archive target_dir
Add a test case with absolute path in the target_dir
to make sure we never unpack the archive to the host
system. The actual issue was resolved together with
the implementation in #1953 and commit
78238a993c
This Fixes #2701
2025-01-30 21:26:00 +01:00
Marcus Schäfer
6b59804ebf
Bump version: 10.2.7 → 10.2.8 2025-01-27 11:47:55 +01:00
Marcus Schäfer
a2c4b9cddd
Merge pull request #2713 from OSInside/duplicate_deployment_detection
Added disk validation for duplicate installs
2025-01-27 11:47:26 +01:00
Marcus Schäfer
c9beec2ea7
Fix documentation regarding URI styles
In reference to commit 760a65558f
the support for iso:// URI types was dropped some time ago.
However, the documentation was not properly updated. This
commit fixes it
2025-01-22 10:38:09 +01:00
Marcus Schäfer
0eb2d2713e
Added disk validation for duplicate installs
Installing the same image to different storage disks on the
same machine creates device conflicts with unexpected side
effects. This commit adds a validation based on the PTUUID
of the disk image to check if another device on the system
has the same ID and if yes, does not allow to install the
image again including a message which device takes the same
identifier. This references bsc#1228741
2025-01-20 18:13:02 +01:00
Marcus Schäfer
35af7b1d3b
Fixed documentation for signing key attribute
The source locator name for local files was incorrect
2025-01-20 09:16:14 +01:00
Marcus Schäfer
cf1f137d47
Bump version: 10.2.6 → 10.2.7 2025-01-18 17:58:02 +01:00
Marcus Schäfer
0486fad9eb
Update documentation
Added a new troubleshooting chapter as subsection to
the Build Host Constraints named Package Manager Behavior.
It serves the purpose to describe options for the customer
to change the default package manager behavior which
we from the kiwi side do not influence intentionally.
This is a followup change to bsc#1235448
2025-01-18 17:53:07 +01:00
Marcus Schäfer
8949fce5e1
Drop still present tox artifacts
There were still some left over tox files and the
documentation contribution chapter was also wrong at
several places
2025-01-14 10:52:43 +01:00
Marcus Schäfer
2edcfed120
Rename btrfs_root_is_snapshot
Rename btrfs_root_is_snapshot to btrfs_root_is_snapper_snapshot.
This happens in preparation for the changes suggested in #2697
where we want to get rid of snapper specific btrfs code which
will be available in snapper natively soon. To make sure a btrfs
layout specific to snapper(and SUSE), the implicitly used attribute
named btrfs_root_is_snapshot now becomes explicit and its new
name will indicate that snapper sits behind it. Along with the
rename a XSLT stylesheet to automatically convert the old name
into the new name for schema v8.3 will be performed.
2025-01-13 10:22:55 +01:00
Marcus Schäfer
719686d3c1
Bump version: 10.2.5 → 10.2.6 2025-01-13 09:25:29 +01:00
Marcus Schäfer
2252087593
Added LUKS reencryption support
Added rd.kiwi.oem.luks.reencrypt boot option consumed by the
kiwi-repart dracut module. For OEM LUKS2 encrypted disk images.
If set, reencrypts the disk prior an eventual resize and therefore
creates a new key pool and master key. The reencryption is advisable
if the image binary is not protected. With access to the image
binary it's possible to extract the luks header which then allows to
decrypt the data unless it was reencrypted. The reencryption process
only runs if the checksum of the luks header still matches the one
from the original disk image. Be aware that the reencryption will
ask for the passphrase if the image has been built with an initial
luks passphrase.
2025-01-10 15:12:24 +01:00
Marcus Schäfer
0109686c8f
Fix documentation for repo, package gpg settings
In contrast to the documentation, kiwi sets default values
for any gpg setting if not explicitly specified differently.
We want to avoid to inherit a behavior from how the distribution
packages the package manager. This commit fixes the documentation
to be in line with the implementation
2024-12-20 21:59:38 +01:00
Marcus Schäfer
d4d39e481a
Drop insecure and unsupported md5 digest
Decommission the Checksum.md5() method and move all places
in code to sha256(). The md5 digest is considered insecure
and has also been removed from hashlib as a supported digest.
This Fixes #2696
2024-12-19 11:26:07 +01:00
Marcus Schäfer
f32190ff21
Bump version: 10.2.4 → 10.2.5 2024-12-19 10:35:24 +01:00
Marcus Schäfer
5ebf22e772
Bump version: 10.2.3 → 10.2.4 2024-12-14 20:59:03 +01:00
Adam Williamson
75c9939f84 xorriso: respect efiparttable and gpt_hybrid_mbr
This should make the xorriso-based ISO build path respect the
'efiparttable' and 'gpt_hybrid_mbr' settings when building a
UEFI-compatible image, making it write a GPT disk label by default
instead of an MBR (msdos) one. If it's building an image that is not
UEFI-compatible it will always write an MBR label, regardless of
this setting.

If 'gpt_hybrid_mbr' is set, xorriso will write an Ubuntu-style
MBR/GPT hybrid partition table, where the MBR partition table
includes a partition with type 00 and the bootable flag, as well
as the partition with type ee required by the UEFI spec. This
mildly violates the UEFI spec but may make the image bootable on
native BIOS or CSM firmwares which refuse to boot from a disk with
no partition marked 'bootable' in the MBR. If 'gpt_hybrid_mbr' is
not set, xorriso will write a strictly UEFI-spec compliant label,
with just the 'protective MBR' required by the UEFI spec (no
bootable partition) and the correct GPT partition table. Note
this is somewhat different from what gpt_hybrid_mbr does for
disk images.

Also, we now pass -compliance no_emul_toc when building ISOs, as
recommended by upstream in
https://lists.gnu.org/archive/html/bug-xorriso/2024-11/msg00012.html
This tool is generally always going to be building ISOs intended
for write-once use, not multi-session use (and which are rarely,
these days, written to physical discs at all anyway).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-13 11:13:27 -08:00
Marcus Schäfer
479021dc34
Bump version: 10.2.2 → 10.2.3 2024-12-03 14:58:40 +01:00
Marcus Schäfer
e73d627c4b
Fix broken links in the documentation 2024-12-02 14:57:30 +01:00