Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion mkosi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ KernelCommandLine=
root=dissect
mount.usr=dissect
rw
audit=0
systemd.image_policy=esp=unprotected:xbootldr=unprotected+unused+absent:usr=signed:root=encrypted+absent:swap=encrypted+unused+absent:home=unprotected+absent:=ignore
systemd.image_filter=usr=ParticleOS_*:usr-verity=ParticleOS_*:usr-verity-sig=ParticleOS_*:root=ParticleOS-*:swap=ParticleOS-*:home=ParticleOS-*
ipe.enforce=0
Expand Down
7 changes: 7 additions & 0 deletions mkosi.conf.d/audit.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# SPDX-License-Identifier: LGPL-2.1-or-later

[Match]
Profiles=!audit

[Runtime]
KernelCommandLineExtra=audit=0
2 changes: 2 additions & 0 deletions mkosi.extra/usr/lib/tmpfiles.d/etc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,5 @@ L? /etc/manpath.config
L? /etc/wpa_supplicant/wpa_supplicant.conf
# Make sure flatpak's XDG_DATA_DIR integration works
L? /etc/profile.d/flatpak.sh
# Required for audit profile
L? /etc/audit
9 changes: 9 additions & 0 deletions mkosi.profiles/audit/mkosi.conf.d/fedora/mkosi.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# SPDX-License-Identifier: LGPL-2.1-or-later

[Match]
Distribution=fedora

[Content]
Packages=
audit-rules
audit
1 change: 0 additions & 1 deletion mkosi.uki-profiles/10-live.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Cmdline=
systemd.journald.forward_to_console=1
systemd.journald.max_level_console=warning
rw
audit=0
systemd.image_policy=esp=unprotected:xbootldr=unprotected+unused+absent:usr=signed:=ignore
systemd.image_filter=usr=ParticleOS_*:usr-verity=ParticleOS_*:usr-verity-sig=ParticleOS_*
ipe.enforce=0
Expand Down
1 change: 0 additions & 1 deletion mkosi.uki-profiles/20-ipe.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Cmdline=
mount.usr=dissect
systemd.verity_usr_options=root-hash-signature=auto
rw
audit=0
systemd.image_policy=esp=unprotected:xbootldr=unprotected+unused+absent:usr=signed:root=encrypted+absent:swap=encrypted+unused+absent:home=unprotected+absent:=ignore
systemd.image_filter=usr=ParticleOS_*:usr-verity=ParticleOS_*:usr-verity-sig=ParticleOS_*:root=ParticleOS-*:swap=ParticleOS-*:home=ParticleOS-*
ipe.enforce=1
Expand Down
1 change: 0 additions & 1 deletion mkosi.uki-profiles/80-storagetm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Cmdline=
rd.systemd.unit=storage-target-mode.target
ip=any
ro
audit=0
systemd.image_policy=-
root=off
ipe.enforce=0
Expand Down
1 change: 0 additions & 1 deletion mkosi.uki-profiles/90-factory-reset.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Cmdline=
mount.usr=dissect
systemd.factory_reset=1
rw
audit=0
systemd.image_policy=esp=unprotected:xbootldr=unprotected+unused+absent:usr=signed:root=encrypted+absent:swap=encrypted+unused+absent:home=unprotected+absent:=ignore
systemd.image_filter=usr=ParticleOS_*:usr-verity=ParticleOS_*:usr-verity-sig=ParticleOS_*:root=ParticleOS-*:swap=ParticleOS-*:home=ParticleOS-*
ipe.enforce=0
Expand Down
1 change: 0 additions & 1 deletion mkosi.uki-profiles/91-factory-reset-with-tpm-clear.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Profile=
Cmdline=
rd.systemd.unit=factory-reset.target
ro
audit=0
systemd.image_policy=-
root=off
ipe.enforce=0
Expand Down
1 change: 0 additions & 1 deletion mkosi.uki-profiles/95-emergency.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Cmdline=
mount.usr=dissect
systemd.unit=emergency.target
rw
audit=0
systemd.image_policy=esp=unprotected:xbootldr=unprotected+unused+absent:usr=signed:root=encrypted+absent:swap=encrypted+unused+absent:home=unprotected+absent:=ignore
systemd.image_filter=usr=ParticleOS_*:usr-verity=ParticleOS_*:usr-verity-sig=ParticleOS_*:root=ParticleOS-*:swap=ParticleOS-*:home=ParticleOS-*
ipe.enforce=0
Expand Down
1 change: 0 additions & 1 deletion mkosi.uki-profiles/99-debug.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Cmdline=
systemd.log_level=debug
systemd.journald.forward_to_console=1
rw
audit=0
systemd.image_policy=esp=unprotected:xbootldr=unprotected+unused+absent:usr=signed:root=encrypted+absent:swap=encrypted+unused+absent:home=unprotected+absent:=ignore
systemd.image_filter=usr=ParticleOS_*:usr-verity=ParticleOS_*:usr-verity-sig=ParticleOS_*:root=ParticleOS-*:swap=ParticleOS-*:home=ParticleOS-*
ipe.enforce=0
Expand Down