mirror of
https://github.com/systemd/systemd
synced 2024-10-04 15:21:01 +00:00
docs: Add note on packages produced by mkosi builds
This commit is contained in:
parent
5e485e1aa2
commit
9fede461ca
|
@ -88,6 +88,26 @@ and optionally restart the daemon(s) you're working on using
|
|||
`systemctl restart <units>` or `systemctl daemon-reexec` if you're working on pid1
|
||||
or `systemctl soft-reboot` to restart everything.
|
||||
|
||||
Aside from the image, the `mkosi.output` directory will also be populated with a
|
||||
set of distribution packages. Assuming you're running the same distribution and
|
||||
release as the mkosi image, you can install these rpms on your host or test
|
||||
system as well for any testing or debugging that cannot easily be performed in a
|
||||
VM or container.
|
||||
|
||||
By default, no debuginfo packages are produced. To produce debuginfo packages,
|
||||
run mkosi with the `WITH_DEBUG` environment variable set to `1`:
|
||||
|
||||
```sh
|
||||
$ mkosi -E WITH_DEBUG=1 -f
|
||||
```
|
||||
|
||||
or configure it in `mkosi.local.conf`:
|
||||
|
||||
```conf
|
||||
[Content]
|
||||
Environment=WITH_DEBUG=1
|
||||
```
|
||||
|
||||
Putting this all together, here's a series of commands for preparing a patch for systemd:
|
||||
|
||||
```sh
|
||||
|
|
Loading…
Reference in a new issue