docs: Make mkosi install instructions generic

This commit is contained in:
Daan De Meyer
2021-10-27 12:08:59 +01:00
parent b43ed972e0
commit 4c71f971c1

View File

@@ -87,11 +87,12 @@ $ makepkg -seoc
```
Putting this all together, here's a series of commands for preparing a patch
for systemd (this example is for Fedora):
for systemd:
```sh
# Install build dependencies (see above)
$ sudo dnf install mkosi # install tool to quickly build images
# Install a recent version of mkosi (either via your distro's package manager if
# available there or from the github repository otherwise)
$ git clone https://github.com/systemd/systemd.git
$ cd systemd
$ git checkout -b <BRANCH> # where BRANCH is the name of the branch