chore(sb): use systemd kernel cmdline condition

This commit is contained in:
Lars Sjöström 2025-03-19 15:03:15 +01:00
parent 6819565d79
commit c748e17279
No known key found for this signature in database
4 changed files with 11 additions and 30 deletions
pkgs/rootfs

View file

@ -47,6 +47,8 @@ DefaultDependencies=false
After=sysroot-run.mount
Requires=sysroot-run.mount
Before=systemd-repart.service initrd.target shutdown.target sysinit.target
ConditionKernelCommandLine=patos.secureboot=true
ConditionPathExists=|!/sys/firmware/efi/efivars/PK-8be4df61-93ca-11d2-aa0d-00e098032b8c
[Service]
Type=oneshot