diff mbox series

[2/2] systemd: add fido to PACKAGECONFIG option

Message ID 20241220085700.228006-2-mikko.rapeli@linaro.org
State New
Headers show
Series [1/2] systemd: add apparmor PACKAGECONFIG support | expand

Commit Message

Mikko Rapeli Dec. 20, 2024, 8:57 a.m. UTC
To enable FIDO support.

meta-security can provide libfido2 but it depends on udev
which creates a dependency loop between systemd (provider of udev)
and libfido2 which is currently unresolved. systemd recipe
could split udev to a separate recipe to solve this, or libfido2
could be compiled in systemd source tree after udev but before
rest of systemd.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
 meta/recipes-core/systemd/systemd_256.9.bb | 1 +
 1 file changed, 1 insertion(+)

Comments

Mikko Rapeli Dec. 20, 2024, 9:09 a.m. UTC | #1
Hi,

On Fri, Dec 20, 2024 at 10:57:00AM +0200, Mikko Rapeli wrote:
> To enable FIDO support.
> 
> meta-security can provide libfido2 but it depends on udev

Typos here: meta-oe has libfido2, not meta-security. Also in subject.

Will send a v2.

Cheers,

-Mikko
diff mbox series

Patch

diff --git a/meta/recipes-core/systemd/systemd_256.9.bb b/meta/recipes-core/systemd/systemd_256.9.bb
index c047964953..b5e3e85a38 100644
--- a/meta/recipes-core/systemd/systemd_256.9.bb
+++ b/meta/recipes-core/systemd/systemd_256.9.bb
@@ -150,6 +150,7 @@  PACKAGECONFIG[default-compression-zstd] = "-Dzstd=true -Ddefault-compression=zst
 PACKAGECONFIG[dbus] = "-Ddbus=enabled,-Ddbus=disabled,dbus"
 PACKAGECONFIG[efi] = "-Defi=true -Dbootloader=enabled,-Defi=false -Dbootloader=disabled,python3-pyelftools-native"
 PACKAGECONFIG[elfutils] = "-Delfutils=enabled,-Delfutils=disabled,elfutils,,libelf libdw"
+PACKAGECONFIG[fido] = "-Dlibfido2=enabled,-Dlibfido2=disabled,libfido2"
 PACKAGECONFIG[firstboot] = "-Dfirstboot=true,-Dfirstboot=false"
 PACKAGECONFIG[repart] = "-Drepart=enabled,-Drepart=disabled"
 PACKAGECONFIG[homed] = "-Dhomed=enabled,-Dhomed=disabled"