summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-07-29 15:40:48 +0200
committerGitHub <noreply@github.com>2024-07-29 15:40:48 +0200
commit7fe0ea2eadc5ea38529453d5811112e473b744bd (patch)
tree392dc8b384c5ada65a6a0654e09285f5a08531fd /docs
parentpo: Translated using Weblate (Slovenian) (diff)
parentdocs: Simplify hacking instructions a bit (diff)
downloadsystemd-7fe0ea2eadc5ea38529453d5811112e473b744bd.tar.xz
systemd-7fe0ea2eadc5ea38529453d5811112e473b744bd.zip
Merge pull request #33857 from DaanDeMeyer/mkosi
Two small improvements
Diffstat (limited to 'docs')
-rw-r--r--docs/HACKING.md19
1 files changed, 4 insertions, 15 deletions
diff --git a/docs/HACKING.md b/docs/HACKING.md
index 2e964f4178..b17875f62c 100644
--- a/docs/HACKING.md
+++ b/docs/HACKING.md
@@ -63,21 +63,10 @@ ToolsTree=default
```
Every time you rerun the `mkosi` command a fresh image is built, incorporating
-all current changes you made to the project tree. To avoid having to build a new
-image all the time when iterating on a patch, add the following to
-`mkosi.local.conf`:
-
-```conf
-[Host]
-RuntimeBuildSources=yes
-```
-
-After enabling this setting, the source and build directories will be mounted to
-`/work/src` and `/work/build` respectively when booting the image as a container
-or virtual machine. To build the latest changes and re-install after booting the
-image, run one of the following commands in another terminal on your host (
-choose the right one depending on the distribution of the container or virtual
-machine):
+all current changes you made to the project tree. To build the latest changes
+and re-install after booting the image, run one of the following commands in
+another terminal on your host (choose the right one depending on the
+distribution of the container or virtual machine):
```sh
mkosi -t none && mkosi ssh dnf upgrade --disablerepo="*" "/work/build/*.rpm" # CentOS/Fedora