mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bruno Thomsen <bruno.thomsen@gmail.com>
To: ptxdist@pengutronix.de
Cc: Bruno Thomsen <bruno.thomsen@gmail.com>
Subject: [ptxdist] [PATCH] tpm2-abrmd: change host dependencies based on INITMETHOD
Date: Wed,  3 Aug 2022 06:56:55 +0200	[thread overview]
Message-ID: <20220803045655.4095-1-bruno.thomsen@gmail.com> (raw)

dbus-glib is a deprecated D-Bus binding for GLib.
https://gitlab.freedesktop.org/dbus/dbus-glib/-/blob/master/README

Only use HOST_DBUS_GLIB with BBINIT to avoid pulling in a deprecated
component in systemd based image.
Doing a total clean and prepare/compile of this package in a systemd
based image provides all needed dependencies. And tpm2-abrmd.service
is running just fine.

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
 rules/tpm2-abrmd.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/tpm2-abrmd.in b/rules/tpm2-abrmd.in
index 1ab0a6a7fe0e..fda6e746432b 100644
--- a/rules/tpm2-abrmd.in
+++ b/rules/tpm2-abrmd.in
@@ -6,7 +6,7 @@ config TPM2_ABRMD
 	select DBUS
 	select GLIB
 	select TPM2_TSS
-	select HOST_DBUS_GLIB
+	select HOST_DBUS_GLIB		if INITMETHOD_BBINIT
 	prompt "tpm2-abrmd"
 	help
 	  TPM2 Access Broker & Resource Management Daemon implementing

base-commit: faf247a8448d4d9caae487beb54d285ac3a6a1b8
-- 
2.37.1




             reply	other threads:[~2022-08-03  4:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03  4:56 Bruno Thomsen [this message]
2022-08-04 15:23 ` Michael Olbrich
2022-08-05 19:53   ` Bruno Thomsen
2022-08-09  7:11     ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220803045655.4095-1-bruno.thomsen@gmail.com \
    --to=bruno.thomsen@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox