]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Update to latest
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 29 Mar 2023 08:42:23 +0000 (10:42 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 29 Mar 2023 10:13:33 +0000 (11:13 +0100)
- ACLs are not set on generated directories anymore by default, so
we enable them explictly now so that when running unprivileged mkosi,
the user running mkosi can remove all generated files and directories.
- We don't explicitly set QemuHeadless= anymore as the option was removed
and made the default.
- We set the loglevel= kernel cmdline argument explicitly now as mkosi
doesn't set it by default anymore.

.github/workflows/mkosi.yml
mkosi.conf.d/10-systemd.conf

index a4a315bc236b651c2b444476d2176595f3ea5556..90c3d0782819378ec6f6483d43b3a437169967e6 100644 (file)
@@ -73,7 +73,7 @@ jobs:
 
     steps:
     - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
-    - uses: systemd/mkosi@c1f1e9ab2fe89f21ebdb4984b676f9a489081a64
+    - uses: systemd/mkosi@36638fb37e0ccbb97bbaa573d158dcea3a5f9bde
 
     - name: Configure
       run: |
index dbc50793a7a5aa824c638b0705b4d0551fda7318..0b364f49f299e9c54e73f42cffc5c8a4d801e65c 100644 (file)
@@ -65,7 +65,7 @@ BuildPackages=
         zstd
 
 [Host]
-QemuHeadless=yes
+Acl=yes
 Netdev=yes
 QemuMem=2G
 ExtraSearchPaths=build/
@@ -74,6 +74,8 @@ KernelCommandLineExtra=systemd.crash_shell
                        systemd.journald.forward_to_console
                        systemd.journald.max_level_console=warning
                        systemd.mask=auditd
+                       # Tell the kernel to only log warning and up to the console.
+                       loglevel=4
 
 [Validation]
 Password=