From c2e3fe9168218cbb353494a8c9a7568d580a7c56 Mon Sep 17 00:00:00 2001 From: Trevor Woerner Date: Wed, 1 Aug 2018 19:15:32 -0400 Subject: tpm2: move configure option The --with-udevrulesdir configure option has been moved from tpm2-abrmd to tpm2-tss in the code, therefore move its associated EXTRA_OECONF to suit. Signed-off-by: Trevor Woerner --- meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd.inc | 1 - meta-tpm2/recipes-tpm/tpm2-tss/tpm2-tss.inc | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd.inc b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd.inc index 804ee19..1cf5379 100644 --- a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd.inc +++ b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd.inc @@ -33,7 +33,6 @@ USERADD_PARAM_${PN} = "--system -M -d /var/lib/tpm -s /bin/false -g tss tss" EXTRA_OECONF += "\ --with-systemdsystemunitdir=${systemd_system_unitdir} \ --with-systemdpresetdir=${systemd_unitdir}/system-preset \ - --with-udevrulesdir=${sysconfdir}/udev/rules.d \ " do_install_append() { diff --git a/meta-tpm2/recipes-tpm/tpm2-tss/tpm2-tss.inc b/meta-tpm2/recipes-tpm/tpm2-tss/tpm2-tss.inc index b03c152..e917b87 100644 --- a/meta-tpm2/recipes-tpm/tpm2-tss/tpm2-tss.inc +++ b/meta-tpm2/recipes-tpm/tpm2-tss/tpm2-tss.inc @@ -14,6 +14,10 @@ PROVIDES = "${PACKAGES}" inherit autotools pkgconfig +EXTRA_OECONF += " \ + --with-udevrulesdir=${sysconfdir}/udev/rules.d \ +" + PACKAGES = " \ libtss2-mu \ libtss2-mu-dev \ -- cgit v1.2.3-54-g00ecf