Skip to content

Commit

Permalink
podvm-mkosi: document how customize packages
Browse files Browse the repository at this point in the history
Adding a way to extend the set of installed packages locally, whitout
having to edit source controlled files.

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
  • Loading branch information
katexochen committed Oct 13, 2023
1 parent 4bf9f1d commit a957505
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions podvm-mkosi/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ mkosi.workspace/*
uplosi.conf.d
uplosi.conf
resources/binaries-tree
mkosi.presets/**/*-extra.conf
11 changes: 11 additions & 0 deletions podvm-mkosi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ You can easily place additional files in `resources/binaries-tree` after it has
binaries build step. Notice that systemd units need to be enabled in the presets and links in the tree
won't be copied into the image.

If you want to add additional packages to the image, you can define `mkosi.presets/system/mkosi.conf.d/fedora-extra.conf`:

```ini
[Match]
Distribution=fedora

[Content]
Packages=
cowsay
```

## Limitations

The following limitations apply to these images. Notice that the limitations are intentional to
Expand Down

0 comments on commit a957505

Please sign in to comment.