Commit Graph

899 Commits

Author SHA1 Message Date
Marcus Schäfer
7935bdc2ed
Bump version: 9.24.5 → 9.24.6 2021-11-12 23:11:19 +01:00
Marcus Schäfer
f0d31f95ed
Bump version: 9.24.4 → 9.24.5 2021-11-12 14:45:03 +01:00
Marcus Schäfer
9cb68abcea Fixed include processing
This commit fixes several issue connected with the use of
the <include> directive:

First and foremost the XSLT chain was broken in a way that
the include XSLT in combination with the PrettyPrinter XSLT
were called not in the chain of stylesheets but together.
This results in XML descriptions which duplicated the content
and went invalid

Another change is, when the include XSLT is called in the chain.
This commit moves it to become the very first processing
instruction such that the included data is part of all subsequent
XSLT stylesheets. This also allows to use older schema versions
in included XML data and they get automatically converted through
the chain of XSLT stylesheets.

Last change is the evaluation of the from= attribute value. This
value is now interpreted as an URI. Currently only local URIs are
supported. The reason to do this is because XSLT when processing
a document resolves relative paths according to the file path
of the master document. As kiwi does not change the original
content that path with will be a /var/tmp location if one of
the XSLT stylesheets were used. The documentation for this change
was updated as well
2021-11-12 07:46:52 -05:00
Marcus Schäfer
db9ad0d663
Bump version: 9.24.3 → 9.24.4 2021-11-11 15:11:20 +01:00
Marcus Schäfer
b373a8d16d Drop support for cdrtools
Tools like mkisofs, genisoimage and friends are all unmaintained
and have found their substitute in xorriso for quite some time.
This commit deletes the code from kiwi which supported creation
of ISO images using the obsolete cdrtools collection. In addition
all hack code associated with these tools like mbr insertion via
isohybrid and things like that got dropped as well.
This Fixes #1908
2021-11-11 06:43:56 -05:00
Marcus Schäfer
eb02adfcb2
Bump version: 9.24.2 → 9.24.3 2021-11-03 17:40:51 +01:00
Marcus Schäfer
94de1336d8
Support custom partitions
In addition to the volume volume management settings also
allow to setup low level table entries like in the following
example:

<partitions>
    <partition name="var" size="100" mountpoint="/var" filesystem="ext3"/>
</partitions>
2021-11-03 13:31:17 +01:00
Marcus Schäfer
090284db1c
Bump version: 9.24.1 → 9.24.2 2021-10-22 17:41:18 +02:00
Marcus Schäfer
d32661888b
Add support for custom result bundle naming
Allow to specify a bundle_format per <type> which is used
at the time of the result bundle creation to create image
output names matching the provided pattern.
This Fixes #1943
2021-10-21 11:13:49 +02:00
Marcus Schäfer
4467c1e4d9
Bump version: 9.24.0 → 9.24.1 2021-10-15 10:02:06 +02:00
Marcus Schäfer
9940caffde
Added documentation for kiwi stackbuild plugin
Restructure the documentation to put all plugin documentation
under its own category. Add a chapter about the stackbuild
plugin, it's concepts and use cases. This Fixes #1907
2021-10-08 18:07:20 +02:00
Marcus Schäfer
1f545b82c1
Bump version: 9.23.63 → 9.24.0 2021-10-07 09:54:22 +02:00
Marcus Schäfer
ef05ecc36e
Add support for toplevel include directive(s)
On the toplevel of an image description you can now
specify include directive(s) like in the following
example

<image ...>
    ...
    <include from="filename_a.xml"/>
    ...
    <include from="filename_b.xml"/>
</image>

At the place of their occurrence the include statement
will be replaced with the contents of the given filename.
The implementation is based on a XSLT stylesheet and
applies very early in the process. The stylesheet reads
the contents of the given file as XML document().
Thus only valid XML documents gets accepted by this
include concept. This Fixes #1929 and is related to
Issue #1918
2021-10-07 09:50:38 +02:00
Marcus Schäfer
8a5fdc0078
Merge pull request #1942 from OSInside/fix_pxe_docs_and_error_reporting
Fix pxe docs and error reporting
2021-10-07 09:45:04 +02:00
Marcus Schäfer
736887628e
Bump version: 9.23.62 → 9.23.63 2021-10-06 16:06:55 +02:00
Marcus Schäfer
d551e47647
Fixed legacy PXE documentation
The documentation for building a legacy pxe image was not
using the profiles (Flat or Compressed) as the actual image
description for this example requires it. This Fixes #1923
2021-10-06 14:38:25 +02:00
Marcus Schäfer
7e0927e8d5
Allow logfile option to log on stdout
The option setting '--logfile stdout' is now a special form
and logs the messages usually written to a file to stdout
instead. This is handy if all messages of the build are
requested but the --debug switch is not because it does more
than that, e.g calling scripts through debug'able screen
sessions
2021-10-05 17:25:25 +02:00
Marcus Schäfer
dc8af34d84
Bump version: 9.23.61 → 9.23.62 2021-09-23 16:56:32 +02:00
Marcus Schäfer
4b531c0c47
Bump version: 9.23.60 → 9.23.61 2021-09-23 15:35:35 +02:00
Marcus Schäfer
7fa6cda579
Run scripts via a screen session in debug mode
When creating a custom script it usually takes some iterations of
try and testing until a final stable state is reached. To support
developers with this task kiwi calls scripts associated with a
screen session. The connection to screen is only done if kiwi
is called with the --debug option.
2021-09-22 11:48:47 +02:00
Marcus Schäfer
765f509b4a
Bump version: 9.23.59 → 9.23.60 2021-09-21 18:47:59 +02:00
Marcus Schäfer
0174921669
Bump version: 9.23.58 → 9.23.59 2021-09-21 18:43:46 +02:00
Marcus Schäfer
16e5b2994f
Bump version: 9.23.57 → 9.23.58 2021-09-15 12:06:28 +02:00
Marcus Schäfer
d1f8789af4
Bump version: 9.23.56 → 9.23.57 2021-09-15 09:50:12 +02:00
Marcus Schäfer
58f5550768
Bump version: 9.23.55 → 9.23.56 2021-09-10 23:52:50 +02:00
Marcus Schäfer
fece3efa13
Bump version: 9.23.54 → 9.23.55 2021-09-09 10:00:04 +02:00
Marcus Schäfer
7616114348
Added support for building rpm package from bundle
With the new option --package-as-rpm it is possible to
call the kiwi result bundler such that the image build
results gets packaged into an rpm. I think this is a
handy feature to transport image builds via repositories
2021-09-08 16:25:32 +02:00
Marcus Schäfer
bea4f651d4
Bump version: 9.23.53 → 9.23.54 2021-09-07 18:02:22 +02:00
Marcus Schäfer
702326d848
Merge pull request #1903 from OSInside/allow-archive-target
Allow target dir for archive
2021-09-07 18:01:41 +02:00
Jesus Bermudez Velazquez
fd52237478
Allow target dir for archive
- Add the option to specify a target directory
  to unpack the archive
- Update doc for target dir attribute

This Fixes #1794
2021-09-07 15:13:24 +01:00
Marcus Schäfer
238355e1f3
Bump version: 9.23.52 → 9.23.53 2021-09-03 08:48:20 +02:00
Mexit
f287d2ed64
Improving text formatting 2021-08-31 01:29:40 +02:00
Mexit
8fc6697161 Added documentation for grub2 loopback ISO images 2021-08-31 00:21:45 +02:00
Marcus Schäfer
846e8af7f1
Bump version: 9.23.51 → 9.23.52 2021-08-27 15:33:57 +02:00
Marcus Schäfer
54b206efbc
Bump version: 9.23.50 → 9.23.51 2021-08-27 15:29:13 +02:00
Marcus Schäfer
76b3be874f
Bump version: 9.23.49 → 9.23.50 2021-08-10 15:13:50 +02:00
Marcus Schäfer
e3e0d888c8
Added support for repo customization script
repo files allows for several customization options
which could not be set by kiwi through the current
repository schema. As the options used do not follow
any standard and are not compatible between package
managers and distributions the only generic way to
handle this is through a script which is invoked
with the repo file as parameter for each file created
to describe a repo for the selected package manager.
This allows users to update/change the repo file content
on their individual needs. In the kiwi description the
path to the custom script can be specified as follows

    <repository ... customize="/path/to/custom_script">
        <source path="..."/>
    </repository>

This Fixes #1896
2021-08-10 10:10:01 +02:00
Marcus Schäfer
74c1315c55
Bump version: 9.23.48 → 9.23.49 2021-07-30 11:01:09 +02:00
Marcus Schäfer
462eeda6b9
Bump version: 9.23.47 → 9.23.48 2021-07-24 17:34:29 +02:00
Marcus Schäfer
ada94904e4
Bump version: 9.23.46 → 9.23.47 2021-07-24 11:08:41 +02:00
Marcus Schäfer
08de8807d6
Bump version: 9.23.45 → 9.23.46 2021-07-23 18:01:46 +02:00
Marcus Schäfer
fc2446dfea
Moving temp data handling to its own namespace
Moving use of mkdtemp, NamedTemporaryFile and TemporaryDirectory
into its own class called Temporary: By default all temporary
data is created below /var/tmp but can be changed via the
global commandline option --temp-dir. This Fixes #1870
2021-07-22 13:31:44 +02:00
Marcus Schäfer
bcd9f3dea5
Bump version: 9.23.44 → 9.23.45 2021-07-21 10:12:49 +02:00
Marcus Schäfer
2e8c7d0c2e
Added documentation for oem-skip-verify element 2021-07-14 18:17:06 +02:00
Marcus Schäfer
0178ec0d01
Bump version: 9.23.43 → 9.23.44 2021-07-14 10:42:07 +02:00
Marcus Schäfer
733c14ed77
Bump version: 9.23.42 → 9.23.43 2021-07-05 14:58:02 +02:00
Marcus Schäfer
c92c90449a
Bump version: 9.23.41 → 9.23.42 2021-07-02 14:25:15 +02:00
Marcus Schäfer
5a46a44afc
Bump version: 9.23.40 → 9.23.41 2021-06-30 15:15:58 +02:00
Marcus Schäfer
627d252b75
Bump version: 9.23.39 → 9.23.40 2021-06-29 17:51:37 +02:00
Marcus Schäfer
b30fe3addf
Make sure chat link points to Element not Riot
Riot has changed to Element. The index page on kiwi still
uses the old location. This updates the information how to
use the Matrix channel and the kiwi room name.
This Fixes #1854
2021-06-22 10:46:09 +02:00