Commit Graph

1122 Commits

Author SHA1 Message Date
Marcus Schäfer
a6fdb31205
Fix typo in documentation main page
Superfluous format sequence
2024-04-09 14:13:08 +02:00
Marcus Schäfer
2bd0ebf6a5
Bump version: 10.0.10 → 10.0.11 2024-04-04 17:17:42 +02:00
Marcus Schäfer
3220e357d3
Add schema upgrade opportunity for old schemas
kiwi files using a schema version < 7.4 are no longer supported
by kiwi >= v10.x.x. Thus this commit provides the required
XSL stylesheets to upgrade older schemas to v74 such that they
can be consumed by the latest kiwi version. The needed xsltproc
instruction is placed on the main page of the documentation.
2024-04-04 16:52:25 +02:00
Marcus Schäfer
1da2886fd1
Delete kiwi compat mode
The compat mode allowed a kiwi v7 legacy argument translation
and is obsolete since a long time
2024-04-03 13:42:07 +02:00
Marcus Schäfer
965b33d549
Bump version: 10.0.9 → 10.0.10 2024-03-28 16:27:08 +01:00
Marcus Schäfer
d91c37c145
Bump version: 10.0.8 → 10.0.9 2024-03-27 17:44:16 +01:00
Marcus Schäfer
12ffb896df
Bump version: 10.0.7 → 10.0.8 2024-03-23 14:15:28 +01:00
Marcus Schäfer
f0c9eff953
Bump version: 10.0.6 → 10.0.7 2024-03-20 15:11:54 +01:00
Marcus Schäfer
61da7aeade
Add support for %v in bundle format
Allow a placeholder for the entire version text as
provided by the <version> section
2024-03-19 17:09:39 +01:00
Marcus Schäfer
88ccd4d1e9
Allow bundle format to be set on the commandline
The bundle format is usually specified as part of the image
description in the bundle_format attribute. This commit also
allows to specify/overwrite the bundle format in the kiwi
result bundle command via the new --bundle-format option.
This Fixes #2509
2024-03-19 15:50:23 +01:00
Marcus Schäfer
b29c7e04fe
Bump version: 10.0.5 → 10.0.6 2024-03-19 08:48:09 +01:00
Dmitri Popov
3b3ac7cb78
Revise system_update.rst 2024-03-14 11:57:55 +01:00
Dmitri Popov
492106f0b3
Revise system_prepare.rst 2024-03-14 11:57:54 +01:00
Dmitri Popov
a50fc0a6b5
Revise system_create.rst 2024-03-14 11:57:19 +01:00
Dmitri Popov
ee5de2c89f
Revise system_build.rst 2024-03-14 11:57:17 +01:00
Dmitri Popov
7098e4c374
Temp commit 2024-03-14 11:56:12 +01:00
Dmitri Popov
21084986e1
Revise image_size, kiwi 2024-03-14 11:56:12 +01:00
Dmitri Popov
dc49dfae9a
Revise image info 2024-03-14 11:56:12 +01:00
Marcus Schäfer
eeaeeecf9f
Bump version: 10.0.4 → 10.0.5 2024-03-13 15:09:21 +01:00
Marcus Schäfer
9570906753
Drop rpm-dir from allowed repository type
Using an arbitrary list of rpm packages as repository is a zypper
only feature, barely tested and from our pov not really needed
as a simple createrepo call turns any custom list of packages
into a clean rpm-md repo including metadata. This commit drops
rpm-dir from the list of allowed repository types and auto
converts those image descriptions which makes use of it. Please
note this does not prevent users from using flat package
directories with zypper, because the type argument in the
repository section is an optional attribute. In case there is
no type specification zypper auto-detects and handles the data
as it handles it. This Fixes #1926
2024-03-12 16:40:07 +01:00
Marcus Schäfer
0bdcf018be
Bump version: 10.0.3 → 10.0.4 2024-03-10 17:55:32 +01:00
Marcus Schäfer
583f3385df
Add support for BLS zipl
Add support for <bootloader name="zipl" .../> to support BLS
based zipl configuration. This Fixes #2481
2024-03-10 11:28:21 +01:00
Marcus Schäfer
c943aa15f6
Bump version: 10.0.2 → 10.0.3 2024-03-07 15:51:11 +01:00
Marcus Schäfer
bcb34b9604
Bump version: 10.0.1 → 10.0.2 2024-03-06 10:42:14 +01:00
Marcus Schäfer
d42d0b48b7
Bump version: 10.0.0 → 10.0.1 2024-03-06 10:23:43 +01:00
Neal Gompa
7125211f9b
Switch to Poetry and use pyproject.toml definitions
This allows kiwi to be built, developed, tested, and installed
through Poetry. This also raises the minimum Python version to 3.9.
2024-03-06 09:28:26 +01:00
Marcus Schäfer
7e97150cb5
Merge pull request #2498 from OSInside/revise-documentation
Building images revision
2024-03-04 17:04:46 +01:00
Dmitri Popov
23fad55142 Review Build WSL container 2024-03-01 12:08:25 +01:00
Dmitri Popov
1f18bf2238 Revise Build simple disk 2024-03-01 11:45:11 +01:00
Marcus Schäfer
fb360f6f96
Fix documentation preferlvm example
The custom volumes example shows a faulty XML description.
This Fixes #2483
2024-02-27 20:45:54 +01:00
Dmitri Popov
6faf743eb1 Build LiveISO review 2024-02-22 14:48:39 +01:00
Dmitri Popov
a7491a1858 Buil KIS review 2024-02-21 15:45:30 +01:00
Dmitri Popov
9b34d605f0 Build expandable disk review 2024-02-21 15:22:39 +01:00
Dmitri Popov
fd14f29b12 Build container image review 2024-02-21 11:52:22 +01:00
Marcus Schäfer
bb468e7f50
Allow terminal emulation setup from the cmdline
Using rd.kiwi.term will export the TERM variable into the initrd
environment. In case the default value for the terminal emulation
is not appropriate rd.kiwi.term can be used to overwrite the default.
The environment is also passed to the systemd unit which calls
dialog based programs in kiwi dracut code, such that the TERM
setting will be effective there too. For example:

    rd.kiwi.term=vt100

This is related to bsc#1218095
2024-02-21 10:21:48 +01:00
Neal Gompa (ニール・ゴンパ)
67914acf4a
Merge pull request #2464 from OSInside/profile_extra
Add support for reading .profile.extra in initrd
2024-02-17 15:43:12 -05:00
Marcus Schäfer
df5c1e05c4
Fixed kis documentation
The procedure to run qemu with a filesystem image as disk
was not quite correct.
2024-02-15 10:08:01 +01:00
Marcus Schäfer
97aef9904b
Update documentation about partition clones
Using the root_clone attribute comes with some requirements
and consequences. This commit documents them
2024-02-14 15:42:39 +01:00
Fabian Vogt
765c5a5e28
Improve documentation generation
With Sphinx >= 6.0.0, jQuery is no longer included but the rtd theme's search
functionality needs it. The theme was changed to load sphinxcontrib-jquery
automatically with https://github.com/readthedocs/sphinx_rtd_theme/pull/1399,
but kiwi broke this fix by loading the theme in the wrong way.
Now that the theme is loaded properly, the search functionality also works
with newer versions of sphinx again and the version pinning can be lifted.
This Fixes: #2462
2024-02-14 15:18:56 +01:00
Fabian Vogt
8064538ebf
Allow specifying the filesystem for live image, also direct squashfs
Allow specifying the filesystem for live image, also direct squashfs

By setting <type image="iso" filesystem="FSTYPE" .../> it's now possible
to specify the filesystem used for live images. By using "squashfs", the
rootfs container is skipped entirely.
2024-02-14 12:51:58 +01:00
Marcus Schäfer
b085012679
Add support for reading .profile.extra in initrd
If there is the file /.profile.extra available in the
initrd, kiwi will import this additional environment file
after the import of the standard /.profile file.
This is related to bsc#1218095
2024-02-14 12:43:54 +01:00
Marcus Schäfer
18347989dd
Drop PDF build of the documentation
The kiwi.pdf file as provided in the kiwi-man-pages package
was never really used by our users but comes with a huge
dependency chain to LaTex. We provide the documentation
online as well as converted to DocBook from where all other
formats could be derived. Thus there is no need for us to
produce an extra PDF document which is imho never consulted.
In addition to this change also the contributing chapter has
been reworked. Due to recent changes and drop of obsolete
components from kiwi as well as the effort to move the development
setup to poetry, there is only one non python tool needed
for the development of kiwi. The check for this tool has been
moved into the Makefile and all other checks formerly done
in the helper/install_devel_packages script were deleted.
2024-02-11 15:11:39 +01:00
Marcus Schäfer
571cbe401e
Update documentation
Several examples still pointed to Leap 15.3 repos, but we are
at Leap 15.5. Thus this commit shifts towards Leap 15.5
2024-02-07 10:36:34 +01:00
Marcus Schäfer
379ccf2a82
Update documentation
drop documentation for isolinux in API and user docs
2024-01-26 21:25:37 +01:00
Dan Čermák
cd52492581
[docs] make copyright year dynamic 2024-01-19 14:12:15 +01:00
Marcus Schäfer
2ea8e1f30f
Delete clicfs from documentation API 2024-01-12 09:09:47 +01:00
Marcus Schäfer
cdbe5060ca
Move LoopDevice class to context manager
Change the LoopDevice class to be a context manager.
All code using LoopDevice was updated to the following
with statement:

with LoopDevice(...) as loop_provider:
    loop_provider.some_member()

This is related to Issue #2412
2024-01-11 19:18:01 +01:00
Marcus Schäfer
a96b106ebb
Bump version: 9.25.22 → 10.0.0 2024-01-09 15:36:13 +01:00
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