From 6c64d71334ab6bc9c1f9e6e66f8f692dd2af0943 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Wed, 23 Sep 2020 02:57:56 +0000 Subject: [PATCH] tpm2-abrmd: Remove obsolete setting regarding the Standard Output The Standard output type "syslog" is obsolete, causing a warning since systemd version 246 [1]. Please consider using "journal" or "journal+console" [1] https://github.com/systemd/systemd/blob/master/NEWS#L202 Signed-off-by: Mingli Yu --- ...setting-regarding-the-Standard-Outpu.patch | 39 +++++++++++++++++++ .../tpm2-abrmd/tpm2-abrmd_2.3.2.bb | 1 + 2 files changed, 40 insertions(+) create mode 100644 meta-tpm2/recipes-tpm/tpm2-abrmd/files/0001-Remove-obsolete-setting-regarding-the-Standard-Outpu.patch diff --git a/meta-tpm2/recipes-tpm/tpm2-abrmd/files/0001-Remove-obsolete-setting-regarding-the-Standard-Outpu.patch b/meta-tpm2/recipes-tpm/tpm2-abrmd/files/0001-Remove-obsolete-setting-regarding-the-Standard-Outpu.patch new file mode 100644 index 0000000..6263398 --- /dev/null +++ b/meta-tpm2/recipes-tpm/tpm2-abrmd/files/0001-Remove-obsolete-setting-regarding-the-Standard-Outpu.patch @@ -0,0 +1,39 @@ +From 488e72dccede7c509cd9cd1b9d4dd9806076b96e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?SZ=20Lin=20=28=E6=9E=97=E4=B8=8A=E6=99=BA=29?= + +Date: Thu, 27 Aug 2020 11:14:14 +0800 +Subject: [PATCH] Remove obsolete setting regarding the Standard Output +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The Standard output type "syslog" is obsolete, causing a warning since systemd +version 246 [1]. + +Please consider using "journal" or "journal+console" + +[1] https://github.com/systemd/systemd/blob/master/NEWS#L101 + +Upstream-Status: Backport + +Signed-off-by: SZ Lin (林上智) +Signed-off-by: Mingli Yu +--- + dist/tpm2-abrmd.service.in | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/dist/tpm2-abrmd.service.in b/dist/tpm2-abrmd.service.in +index c8a3420..5f70e57 100644 +--- a/dist/tpm2-abrmd.service.in ++++ b/dist/tpm2-abrmd.service.in +@@ -9,7 +9,6 @@ ConditionPathExistsGlob=/dev/tpm* + [Service] + Type=dbus + BusName=com.intel.tss2.Tabrmd +-StandardOutput=syslog + ExecStart=@SBINDIR@/tpm2-abrmd + User=tss + +-- +2.26.2 + diff --git a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_2.3.2.bb b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_2.3.2.bb index eadd0d2..b092549 100644 --- a/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_2.3.2.bb +++ b/meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_2.3.2.bb @@ -14,6 +14,7 @@ DEPENDS = "autoconf-archive dbus glib-2.0 tpm2-tss glib-2.0-native \ SRC_URI = "\ git://github.com/tpm2-software/tpm2-abrmd.git \ + file://0001-Remove-obsolete-setting-regarding-the-Standard-Outpu.patch \ file://tpm2-abrmd-init.sh \ file://tpm2-abrmd.default \ "