From 61a8289a4c91e702a840f3c52a6460e15478a920 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Sep 27 2022 08:15:14 +0000 Subject: Quick note about kiwi plugin and upstream doc for koji/kiwi Signed-off-by: Fabian Arrotin --- diff --git a/docs/buildsys/koji-cbs-sigs.md b/docs/buildsys/koji-cbs-sigs.md index f807d8b..3afe0af 100644 --- a/docs/buildsys/koji-cbs-sigs.md +++ b/docs/buildsys/koji-cbs-sigs.md @@ -300,3 +300,17 @@ tag="automotive9s-packages-experimental-el9s-build" cbs edit-tag ${tag} --extra rpm.macro.dist='.el9iv' # confirm with `cbs taginfo $tag` ``` + +#### Media spins with Kiwi + +If SIGs are asking to be able to produce media with kiwi plugin, we have to ensure that there is at least one (or more) kojid builders which has/have the `kiwi` plugin enabled (through role). +Then at the SIGs tag level, we need to ensure that we add the [mandatory](https://docs.pagure.org/koji/plugins/?highlight=kiwi#image-builds-using-kiwi) `kiwi-build` group. (RPM packages list can vary depending on SIG needs but kiwi-cli and kiwi-systemdeps are mandatory) + +``` +build_tag="hyperscale9s-spin_media-main-el9s-build" +koji add-group ${build_tag} kiwi-build +koji add-group-pkg ${build_tag} kiwi-build kiwi-cli kiwi-systemdeps distribution-gpg-keys btrfs-progs +``` + +!!! warning + Worth knowing that some of these deps are satisfied *only* through Epel repository so it should first be enabled as external repo to the build tag, otherwise they'll not be installed in the buildroot