mirror of
https://github.com/systemd/systemd.git
synced 2025-03-30 10:50:15 +03:00
mkosi: Enable Incremental= mode by default
Since mkosi is now smart enough to drop the caches when the list of packages changes, let's enable Incremental= mode by default to ensure a good experience for anyone new to hacking on systemd with mkosi.
This commit is contained in:
parent
69eeb6f15e
commit
2fe24cccde
@ -57,12 +57,7 @@ $ mkosi qemu
|
||||
```
|
||||
|
||||
Every time you rerun the `mkosi` command a fresh image is built, incorporating
|
||||
all current changes you made to the project tree. To save time when rebuilding,
|
||||
you can use mkosi's incremental mode (`-i`). This instructs mkosi to build a set
|
||||
of cache images that make future builds a lot faster. Note that the `-i` flag
|
||||
both instructs mkosi to build cached images if they don't exist yet and to use
|
||||
cached images if they already exist so make sure to always specify `-i` if you
|
||||
want mkosi to use the cached images.
|
||||
all current changes you made to the project tree.
|
||||
|
||||
If you want to do a local build without mkosi, most distributions also provide
|
||||
very simple and convenient ways to install all development packages necessary
|
||||
|
@ -12,6 +12,7 @@ BuildDirectory=mkosi.builddir
|
||||
CacheDirectory=mkosi.cache
|
||||
|
||||
[Host]
|
||||
Incremental=yes
|
||||
QemuMem=2G
|
||||
ExtraSearchPaths=build/
|
||||
# Make sure we don't trigger systemd-firstboot prompting for the root password.
|
||||
|
Loading…
x
Reference in New Issue
Block a user