Commit Graph

1069 Commits

Author SHA1 Message Date
Marcus Schäfer
6de387477a
Bump version: 9.25.21 → 9.25.22 2024-01-09 15:19:30 +01:00
Marcus Schäfer
c6d8235fa6
Fixed grub terminal setup
The grub terminal setup is divided into the setting for the output
and the input console. For both settings different parameters exists.
So far kiwi did not differentiate between the two parts of the
console setup and that could lead to a wrong setting if only one
value is provided in kiwi's console= attribute which lead to the
grub setting, GRUB_TERMINAL=value. If value is set to e.g gfxterm
grub takes this for both input and output and it's obviously
wrong for the input. To make this less error prune the kiwi code
changes with this commit to set GRUB_TERMINAL_INPUT and
GRUB_TERMINAL_OUTPUT rather than GRUB_TERMINAL and also runs sanity
checks on the provided values if they are applicable. The information
for setting up the console in the schema stays untouched though.
That's because it's used for all bootloaders and also because grub
supports multiple values for the console in/out setting in one
GRUB_TERMINAL variable even though kiwi does no longer use it.
To make this clear for the users also the documentation for the
console attribute setup has been updated. If we want to wish two
distinct attributes for input and output console settings a schema
change and also differentiation between bootloaders is needed and
that I only see for the kiwi-10 branch if at all. This Fixes #2419
2024-01-08 18:02:27 +01:00
Marcus Schäfer
80a2f3bcf6
Bump version: 9.25.20 → 9.25.21 2023-12-17 20:35:36 +01:00
Marcus Schäfer
5b39a26116
Bump version: 9.25.19 → 9.25.20 2023-12-17 19:59:46 +01:00
Marcus Schäfer
39fde530f6
Bump version: 9.25.18 → 9.25.19 2023-11-28 08:54:36 +01:00
Marcus Schäfer
d4316b3893
Merge pull request #2398 from OSInside/support_install_disk_overwrite_per_cmdline
Support install disk overwrite per cmdline
2023-11-28 08:50:14 +01:00
Alexandre Esse
6ff4f3f471
Fix typo in workflow overview doc section 2023-11-23 18:54:26 +01:00
Marcus Schäfer
9d8c14bcda
Add missing documentation for oem-unattended-id 2023-11-23 12:31:17 +01:00
Marcus Schäfer
21ea2243dd
Allow install disk overwrite from cmdline
Add rd.kiwi.oem.installdevice=DEVICE. Configures the disk device
that should be used in an OEM installation. This overwrites any
other oem device setting, e.g device filter or maxdisk and just
continues the installation on the given device. However, the
device must exist and must be a block special.
This Fixes jira#PED-7180
2023-11-23 12:31:09 +01:00
Marcus Schäfer
ea466ed0ac
Bump version: 9.25.17 → 9.25.18 2023-11-05 10:04:33 +01:00
Marcus Schäfer
232b691374
Bump version: 9.25.16 → 9.25.17 2023-10-17 09:30:49 +02:00
Marcus Schäfer
2d74d849a5
Bump version: 9.25.15 → 9.25.16 2023-10-16 15:27:24 +02:00
Marcus Schäfer
a2dad893fc
Fixed doc search field
The search in the documentation is broken with the rtd
schema and latest sphinx. Stick with sphinx 5.0.0 for the
moment which fixes the issue
2023-10-16 15:26:25 +02:00
Marcus Schäfer
0c08386e02
Bump version: 9.25.14 → 9.25.15 2023-10-16 14:16:45 +02:00
Marcus Schäfer
b452ecffac
Bump version: 9.25.13 → 9.25.14 2023-10-08 18:20:13 +02:00
Marcus Schäfer
a9573231f7
Fix documentation for btrfs_set_default_volume
The behavior documentation regarding the fstab entry when
using the btrfs_set_default_volume attribute was wrong.
This commit fixes the docs to match the code. Related
to Issue #2366
2023-09-13 14:34:31 +02:00
Radoslav Kolev
e707bc3e5e
Fix typo in 'image results' doc section 2023-09-13 09:30:06 +03:00
Marcus Schäfer
8580b2006b
Fixed root entry in fstab for btrfs layout
A root (/) entry in fstab for btrfs is only required if no
default volume is configured. This commit adapts the code
path which adds an fstab entry for (/) to be effective only
if btrfs_set_default_volume is set to false.

Additionally, the documentation around btrfs_set_default_volume
was clarified to describe the behavior the switch triggers.

This Fixes #2366
2023-09-12 20:03:30 -04:00
Leif Liddy
6c12fae9a2
add info on none console type 2023-08-26 16:59:34 +02:00
Marcus Schäfer
ca3ad266e0
Bump version: 9.25.12 → 9.25.13 2023-08-24 09:33:45 +02:00
Tom Schraitle
cc19c236aa
Add some hints about KIWI extensions and dependencies for SLE (#2348)
SUSE Linux Enterprise Server (SLES) has KIWI as a package.
However, some KIWI plugins and their dependencies can
be unavailable.

This commit introduces a new section which deals with this
aspect.

Fixes bsc#1209302
2023-08-15 06:33:19 -04:00
Marcus Schäfer
fa0b516b91
Bump version: 9.25.11 → 9.25.12 2023-08-09 22:39:20 +02:00
Marcus Schäfer
d68a0027d6
Bump version: 9.25.10 → 9.25.11 2023-08-01 14:30:07 +02:00
Marcus Schäfer
bced159afb
Bump version: 9.25.9 → 9.25.10 2023-07-31 21:30:10 +02:00
Marcus Schäfer
40a98a3fa9
Bump version: 9.25.8 → 9.25.9 2023-07-31 21:22:58 +02:00
Marcus Schäfer
be3888c245
Bump version: 9.25.7 → 9.25.8 2023-07-31 21:18:03 +02:00
Marcus Schäfer
bd39c6860e
Bump version: 9.25.6 → 9.25.7 2023-07-31 17:44:06 +02:00
Marcus Schäfer
253e645f56
Bump version: 9.25.5 → 9.25.6 2023-07-31 17:32:50 +02:00
Marcus Schäfer
a31ef6a144
add btrfs_set_default_volume attribute
By default kiwi runs btrfs set-default on the volume that is
considered the default volume according to the btrfs settings
and defaults. btrfs_set_default_volume="false" allows
to deactivate this action. Along with the change also the
misleading name of the btrfs_create_toplevel_subvolume has
been changed to root_is_subvolume
2023-07-27 16:18:23 +02:00
Marcus Schäfer
1844e80fbf
Add btrfs_create_toplevel_subvolume attribute
Allow to explicitly select if a toplevel subvolume should
be created or not. To avoid a behavior change, kiwi will
create a toplevel based btrfs structure if this attribute
is not specified. However, a deprecation message to inform
about future behavior change will be printed. This is
related to Issue #2316
2023-07-26 09:21:09 +02:00
Marcus Schäfer
91c4c439e4
Update contributing chapter
Fix and update the information how to contribute. Due to
the latest changes in tox.ini some requirements regarding
the tox and python versions came up. This commit updates
the docs in this regard
2023-07-24 17:56:09 +02:00
Marcus Schäfer
82688c5433
Bump version: 9.25.4 → 9.25.5 2023-07-10 16:56:35 +02:00
Marcus Schäfer
fc8a84ae93
Bump version: 9.25.3 → 9.25.4 2023-07-10 15:41:35 +02:00
slowpeek
000b710b46 Improve loopback.cfg example
submenu+source should be preferred over menuentry+configfile:

- submenu creates a new context, menuentry does not. As a result, changes made
to vars inside menuentry's braces pollute the current scope. In this particular
case what is notably wrong is root=loop happens in the current scope. If we
activate the "Boot from openSUSE ISO" menu entry and then press Esc to return
back to explore other menu entries, $root would still be set to 'loop'. Instead
of manually saving and restoring $root value it is better to wrap the whole
thing in a new context with submenu

- configfile is not just 'source in a new context', it has as least one side
effect. For details look for grub_err_printed_errors usage in [1] and [2] in
grub sources

[1] grub-core/normal/menu.c
[2] grub-core/normal/menu_entry.c
2023-07-08 15:38:35 +03:00
Marcus Schäfer
16a703cd98
Bump version: 9.25.2 → 9.25.3 2023-07-07 08:49:47 +02:00
Marcus Schäfer
22d800adb2
Bump version: 9.25.1 → 9.25.2 2023-06-16 18:31:03 +02:00
Marcus Schäfer
f331ea9abf
Bump version: 9.25.0 → 9.25.1 2023-06-16 08:48:14 +02:00
Marcus Schäfer
35df39d44d
Bump version: 9.24.61 → 9.25.0 2023-06-14 19:00:47 +02:00
Marcus Schäfer
ae6effd5de
Change package manager dnf to dnf4
With dnf5 there is a successor for dnf but there will also
be a transition period where there will be both, the former
dnf and the new dnf5 available. For a clear distinction
between the two we got the recommendation from the RedHat
team to support both in different namespaces. This commit
now implements a backward compatible change for kiwi which
includes the following modifications:

* XSL stylesheet for automatic schema transformation from

  <packagemanager>dnf</packagemanager> to
  <packagemanager>dnf4</packagemanager>

* Code copy of dnf API interface from

  PackageManagerDnf -> PackageManagerDnf4
  RepositoryDnf -> RepositoryDnf4

* Deprecation of former Dnf API interface

The code change here will force developers to adapt
their code if they used RepositoryDnf / PackageManagerDnf
classes in their python code. After this change developers
will be dropped into a raise condition which exits kiwi
at the time of the call. Related to Issue #2300
and Issue #2262
2023-06-12 17:44:06 +02:00
Marcus Schäfer
e8bb1cd04b
Add support for dnf5 package manager
dnf5 is the next generation of the dnf package manager.
dnf5 is not a drop in replacement to dnf which is the reason
why this commit adds a new interface class for package and
repository management under a new name: dnf5. Beginning with
Fedora >= 39 dnf5 will be the standard. Thus the requirements
on the packaging level were adapted too.
This Fixes #2300
This Fixes #2262
2023-06-12 13:58:36 +02:00
glaubway
f5c2b3281f
make alias unique in any cases 2023-06-10 17:22:47 +03:00
Hans-Peter Jansen
b79e91816f Documentation: clearify dnf based collection selectors
With 89b5a6f526, the selection of collections was changed to allow
group IDs only for dnf based package installers.
2023-05-25 16:42:38 +02:00
Marcus Schäfer
876bb4ca11
Bump version: 9.24.60 → 9.24.61 2023-05-24 09:38:40 +02:00
Marcus Schäfer
d6b1761d1e
Bump version: 9.24.59 → 9.24.60 2023-05-06 20:40:11 +02:00
Marcus Schäfer
60d9c077a6
Split container systemdeps in OCI and WSL 2023-04-21 21:32:21 +02:00
Marcus Schäfer
31563ac3fe
Bump version: 9.24.58 → 9.24.59 2023-04-13 18:33:10 +02:00
Marcus Schäfer
ec940f4984
Bump version: 9.24.57 → 9.24.58 2023-03-28 10:04:32 +02:00
Marcus Schäfer
c304e557b0
Merge pull request #2253 from OSInside/fix_selection_of_write_partition
Fix evaluation of write partition and parameters for overlayroot setup
2023-03-25 01:00:51 +01:00
Marcus Schäfer
05f83e545b
Add support for config-host-overlay.sh script 2023-03-16 17:14:13 +01:00
Marcus Schäfer
41875f57ea
Add support for creating delta containers
Add new attribute delta_root="true|false" which in combination with
derived_from="OCI-base-image" allows to create a delta root tree
only containing the differences between the OCI-base-image and the
actions taken by the kiwi prepare step. Based on the delta root tree
the subsequent image creation process starts. Such an incomplete
root tree is only useful under certain circumstances which is also
the reason why the feature is only available to the oci and docker
image types.
2023-03-16 17:06:15 +01:00