kiwi-el8/test/data/example_this_path_config.xml
Marcus Schäfer e0f47f49cf
Allow repo path relative to the image description
This commit adds a new URI type called this://... The
this:// part will be resolved into the absolute path to
the image description. A source path like the following:

    <source path="this://my_repo"/>

is resolved to

    <source path="dir:///path/to/image/description/my_repo"/>

This change provides the requested opportunity to reference
repos provided as part of the image description and
Fixes #1964
2021-11-25 13:13:52 +01:00

23 lines
650 B
XML

<?xml version="1.0" encoding="utf-8"?>
<image schemaversion="7.4" name="JeOS">
<description type="system">
<author>Marcus Schäfer</author>
<contact>ms@suse.com</contact>
<specification>
Test this path source in repo
</specification>
</description>
<preferences>
<version>1.1.1</version>
<packagemanager>zypper</packagemanager>
<type image="oem" filesystem="ext3" firmware="efi"/>
</preferences>
<repository>
<source path="this://my_repo"/>
</repository>
<packages type="bootstrap">
<package name="filesystem"/>
</packages>
</image>