File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,33 @@ To update the system after installation, you clone the ParticleOS repository
2222or your fork of it and run ` mkosi -ff sysupdate update --reboot ` which will
2323update the system using ` systemd-sysupdate ` and then reboot.
2424
25+ ## Building systemd from source
26+
27+ Sometimes ParticleOS adopts systemd features as soon as they get merged into
28+ systemd without waiting for an official release. As a result it's recommended to
29+ build systemd from source when building ParticleOS to make sure all required
30+ features are supported:
31+
32+ ``` sh
33+ git clone https://github.com/systemd/systemd
34+ cd systemd
35+ mkosi -t none
36+ ```
37+
38+ Then write the following to ` mkosi.local.conf ` in the ParticleOS repository to
39+ use the artifacts from the systemd repository built by mkosi in ParticleOS:
40+
41+ ``` conf
42+ [Content]
43+ PackageDirectories=../systemd/build/mkosi.builddir/%d~%r~%a
44+
45+ [Host]
46+ ExtraSearchPaths=../systemd/build/mkosi.builddir/%d~%r~%a
47+ ```
48+
49+ To build a newer systemd, run ` git pull ` in the systemd repository followed by
50+ ` mkosi -t none ` .
51+
2552## Installation
2653
2754Before installing ParticleOS, make sure that Secure Boot is in setup mode on the
You can’t perform that action at this time.
0 commit comments