]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Always pull in network-online.target
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 15 May 2023 12:09:08 +0000 (14:09 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 15 May 2023 13:41:53 +0000 (15:41 +0200)
Let's always pull this in so that we always activate
systemd-networkd-wait-online for extra coverage.

mkosi.conf.d/10-systemd.conf

index ec0f690d4e8e039d21f7d1b05b8fbf981f9dbeca..bc74113c778bef2ce456dcf8597a58f1198085ce 100644 (file)
@@ -36,3 +36,6 @@ KernelCommandLineExtra=systemd.crash_shell
                        SYSTEMD_SULOGIN_FORCE=1
                        # Make sure /sysroot is mounted rw in the initrd.
                        rw
+                       # Make sure we pull in network related units even if nothing else depends on the
+                       # network to be online.
+                       systemd.wants=network-online.target