Commit Graph

1055 Commits

Author SHA1 Message Date
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
Marcus Schäfer
3cccace616
Fixed rd.root.overlay.readonly handling
Fix the option implementation to actually do what it is supposed
to do, boot the system in fll read-only mode. In addition a new
parameter named rd.root.overlay.temporary has been introduced
which allows to boot up in read-write mode but the write area
is a tmpfs. Thus persistency only during runtime. Updated the
documentation accordingly
2023-03-08 13:51:02 +01:00
Robert Schweikert
ef35bef97b
Support new bootloadersettings section
Allow to specify an optional <bootloadersettings> element
inside of the <bootloader> section. The information is used to
specify custom arguments for the tools called in a bootloader
setup procedure, e.g shim-install, grub-install or grub-mkconfig.
kiwi does not judge on the given parameters and if the provided
data is effectively used depends on the individual bootloader
implementation. In this commit the data will be effectively
handled if bootloader="grub2" is configured. More precisely
the custom additions to support SUSE's TPM model with grub2
can be configured as follows:

<bootloadersettings>
    <shimoption name="--suse-enable-tpm"/>
    <installoption name="--suse-enable-tpm"/>
    <configoption name="--set-trusted-boot"/>
</bootloadersettings>

This Fixes #2224
2023-02-22 23:27:19 +01:00
Marcus Schäfer
2081fa46a4
Bump version: 9.24.56 → 9.24.57 2023-02-10 08:43:21 +01:00
Marcus Schäfer
41a0616cd1
Allow to specify fixed size for the root partition
So far the last partition (typically root) in the partition table
takes all the rest space of the partition table in the image file.
At deployment/boot time users had several options to let that
partition grow to a custom size. However, during build time of the
image it was not possible to specify a specific fixed size for the
root partition as we don't wanted to produce gaps of unpartitioned
space in the image file. It has turned out that there is hardware
available which requires a partition to be an exact multiple of
some blocksize. As kiwi supports size constraints for all other
partitions but not for root this commit now allows for it. The
oem-systemsize element is now also taken into account at build
time of the image if the oem-resize which would do that at
deployment/boot time is switched off like the following example
shows:

```xml
<oemconfig>
    <!-- set root partition to 2048MB -->
    <oem-systemsize>2048</oem-systemsize>
    <oem-resize>false</oem-resize>
</oemconfig>
```

This Fixes #2203
2023-01-05 13:20:56 +01:00
Marcus Schäfer
2d627170df
Remove Fedora PPC build test from index
The integration test unfortunately never got tested anywhere
is outdated and I have no PPC hardware here to run any tests.
Let's add a real test if there is demand for it
2023-01-04 12:47:40 +01:00
Marcus Schäfer
131a99b808
Bump version: 9.24.55 → 9.24.56 2022-12-20 18:29:33 +01:00
Marcus Schäfer
4d6b841243
Bump version: 9.24.54 → 9.24.55 2022-12-18 20:33:54 +01:00
Marcus Schäfer
bbbfdce1e9
Allow to pass credentials as file reference 2022-12-14 16:58:43 +01:00
Marcus Schäfer
80fffdecc2
Support repo URI's with credentials on cmdline
Specifying a repository as part of the image description
allows for credentials via the username and password attributes.
Howver, repositories can also be specified on the commandline
via the --set-repo / --add-repo options. The options on the
commandline did not allow to specify credentials so far.
This commit adds the commandline options --set-repo-credentials
and --add-repo-credentials to support them
2022-12-14 16:58:43 +01:00
Marcus Schäfer
6ad17ca723
Bump version: 9.24.53 → 9.24.54 2022-12-11 20:17:23 +01:00
Marcus Schäfer
8b493d15f3
Bump version: 9.24.52 → 9.24.53 2022-12-11 19:59:49 +01:00
Marcus Schäfer
dc34b5ee84
Fixed typo in documentation
Capitalize at the start of a sentence.
This Fixes #2216
2022-12-09 15:33:51 +01:00
Marcus Schäfer
cb16c1e953
Bump version: 9.24.51 → 9.24.52 2022-12-01 09:49:49 +01:00
Marcus Schäfer
45e4dd2330
Bump version: 9.24.50 → 9.24.51 2022-11-29 17:12:59 +01:00