KEG(1)
π KEG(1) β keg, the Image Composition Tool π
bestie, welcome to the KEG(1) manual page for keg, aka the Image Composition Tool. It's giving useful Unix with a cute bow on top, and I'm obsessed. π
πΈ NAME πΈ
keg β Image Composition Tool. That's the name, periodt. π
β¨ SYNOPSIS β¨
keg [options] <source>
π¦ DESCRIPTION π¦
okay so keg is a tool that helps you create and manage image descriptions suitable for the KIWI appliance builder. Lowkey it can be used to manage a single image definition, but ngl the tool provides no considerable advantage in such a use case. The primary use case β the main character energy β is when you've got many image descriptions to manage, and those image descriptions have considerable overlap with respect to content and setup. π
keg requires source data called recipes, and those recipes provide all information necessary for keg to create KIWI image descriptions. For the full rundown, see Recipes basics. π
The recipes used for generating SUSE Public Cloud image descriptions can be found in the Public Cloud Keg Recipes repository. iykyk. β¨
π§ ARGUMENTS π§
sourceβ Path to image source underRECIPES_ROOT/images. This is the path bestie, don't skip it. π«Ά
π OPTIONS π
-r RECIPES_ROOT,--recipes-root=RECIPES_ROOTβ Root directory of keg recipes. Can be used more than once. Elements from later roots may overwrite earlier one. π-d DEST_DIR,--dest-dir=DEST_DIRβ Destination directory for generated description[default: .]. Slay, output goes here. π--disable-multibuildβ Option to disable creation of OBS_multibuildfile (for image definitions with multiple profiles).[default: false]--disable-root-tarβ Option to disable the creation ofroot.tar.gzin destination directory. If present, an overlay tree will be created instead.[default: false]--dump-dictβ Dump generated data dictionary tostdoutinstead of generating an image description. Useful for debugging. π₯-l,--list-recipesβ List available images that can be created with the current recipes.-f,--forceβ Force mode (ignore errors, overwrite files).--format-yamlβ Format/Update Keg written image description to installed KIWI schema and write the result description in YAML markup.- NOTE: Currently no translation of comment blocks from the Keg generated KIWI description to the YAML markup will be performed.
--format-xmlβ Format/Update Keg written image description to installed KIWI schema and write the result description in XML markup.- NOTE: Currently only top-level header comments from the Keg written image description will be preserved into the formatted/updated KIWI XML file. Inline comments will not be preserved.
-i IMAGE_VERSION,--image-version=IMAGE_VERSIONβ Set image version.-a ARCHβ Generate image description for architectureARCH(can be used multiple times).-s,--write-source-infoβ Write a file per profile containing a list of all used source locations. The files can be used to generate a change log from the recipes repository commit log. ποΈ-v,--verboseβ Enable verbose output.--versionβ Print version.
π EXAMPLE π
this is literally the example, bestie:
git clone https://github.com/SUSE-Enceladus/keg-recipes.git
keg --recipes-root keg-recipes --dest-dir leap_description leap/jeos/15.2
π AUTHOR π
public-cloud-dev@susecloud.net
π COPYRIGHT π
2022, SUSE - Public Cloud Team
and that's the whole page, bestie! This cutie is version 2.1.1, dated Jan 31, 2025 β mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: python313-kiwi-keg 2.1.1-bp160.1.9 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms