diff options
author | Erik Skultety <eskultet@redhat.com> | 2022-07-14 08:58:18 +0200 |
---|---|---|
committer | Erik Skultety <eskultet@redhat.com> | 2022-07-14 15:14:19 +0200 |
commit | e5ee3b0f04642c0d1b0571c13187bf56d09bd897 (patch) | |
tree | 8a90c6bc368ed68d08229c447847dc6696875033 /docs | |
parent | 5c3c7eacd9750ad8b3b3fd00f721761e0d8d0858 (diff) | |
download | libvirt-ci-e5ee3b0f04642c0d1b0571c13187bf56d09bd897.zip libvirt-ci-e5ee3b0f04642c0d1b0571c13187bf56d09bd897.tar.gz libvirt-ci-e5ee3b0f04642c0d1b0571c13187bf56d09bd897.tar.bz2 |
README: Move 'Adding a new target OS' to a standalone RST document
The next commit will expand and detail the process of adding both a new
OS platform as well as a new package mapping.
Signed-off-by: Erik Skultety <eskultet@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/platforms_and_mappings.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/platforms_and_mappings.rst b/docs/platforms_and_mappings.rst new file mode 100644 index 0000000..fa834d8 --- /dev/null +++ b/docs/platforms_and_mappings.rst @@ -0,0 +1,15 @@ +Adding a new target OS +====================== + +If you want to contribute a new target OS to lcitool, you'll have to create +a directory with the corresponding name under the +``lcitool/ansible/group_vars`` and place a YAML configuration of +the target OS inside. The structure of the configuration file should correspond +with the other targets, so please follow them by example. +Unless your desired target OS uses a packaging format which lcitool can't work +with yet, you're basically done, just record the OS name in the +``lcitool/ansible/vars/mappings.yml`` file in the commentary +section at the beginning of the file - again, follow the existing entries by +example. However, if you're introducing a new packaging format, you'll have to +update **all** the mappings in the file so that lcitool knows what the name of +a specific package is on your target OS. |