diff options
| author | Mingli Yu <mingli.yu@windriver.com> | 2020-09-23 02:57:56 +0000 |
|---|---|---|
| committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2020-09-23 12:57:44 +0800 |
| commit | 6c64d71334ab6bc9c1f9e6e66f8f692dd2af0943 (patch) | |
| tree | aa788953eb85f4b25d3dbdea01a5185d54c6d604 | |
| parent | 070f7359b59d153e77a19b987eec79322076bbce (diff) | |
| download | meta-secure-core-6c64d71334ab6bc9c1f9e6e66f8f692dd2af0943.tar.gz | |
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 <mingli.yu@windriver.com>
| -rw-r--r-- | meta-tpm2/recipes-tpm/tpm2-abrmd/files/0001-Remove-obsolete-setting-regarding-the-Standard-Outpu.patch | 39 | ||||
| -rw-r--r-- | meta-tpm2/recipes-tpm/tpm2-abrmd/tpm2-abrmd_2.3.2.bb | 1 |
2 files changed, 40 insertions, 0 deletions
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 @@ | |||
| 1 | From 488e72dccede7c509cd9cd1b9d4dd9806076b96e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?SZ=20Lin=20=28=E6=9E=97=E4=B8=8A=E6=99=BA=29?= | ||
| 3 | <szlin@debian.org> | ||
| 4 | Date: Thu, 27 Aug 2020 11:14:14 +0800 | ||
| 5 | Subject: [PATCH] Remove obsolete setting regarding the Standard Output | ||
| 6 | MIME-Version: 1.0 | ||
| 7 | Content-Type: text/plain; charset=UTF-8 | ||
| 8 | Content-Transfer-Encoding: 8bit | ||
| 9 | |||
| 10 | The Standard output type "syslog" is obsolete, causing a warning since systemd | ||
| 11 | version 246 [1]. | ||
| 12 | |||
| 13 | Please consider using "journal" or "journal+console" | ||
| 14 | |||
| 15 | [1] https://github.com/systemd/systemd/blob/master/NEWS#L101 | ||
| 16 | |||
| 17 | Upstream-Status: Backport | ||
| 18 | |||
| 19 | Signed-off-by: SZ Lin (林上智) <szlin@debian.org> | ||
| 20 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | ||
| 21 | --- | ||
| 22 | dist/tpm2-abrmd.service.in | 1 - | ||
| 23 | 1 file changed, 1 deletion(-) | ||
| 24 | |||
| 25 | diff --git a/dist/tpm2-abrmd.service.in b/dist/tpm2-abrmd.service.in | ||
| 26 | index c8a3420..5f70e57 100644 | ||
| 27 | --- a/dist/tpm2-abrmd.service.in | ||
| 28 | +++ b/dist/tpm2-abrmd.service.in | ||
| 29 | @@ -9,7 +9,6 @@ ConditionPathExistsGlob=/dev/tpm* | ||
| 30 | [Service] | ||
| 31 | Type=dbus | ||
| 32 | BusName=com.intel.tss2.Tabrmd | ||
| 33 | -StandardOutput=syslog | ||
| 34 | ExecStart=@SBINDIR@/tpm2-abrmd | ||
| 35 | User=tss | ||
| 36 | |||
| 37 | -- | ||
| 38 | 2.26.2 | ||
| 39 | |||
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 \ | |||
| 14 | 14 | ||
| 15 | SRC_URI = "\ | 15 | SRC_URI = "\ |
| 16 | git://github.com/tpm2-software/tpm2-abrmd.git \ | 16 | git://github.com/tpm2-software/tpm2-abrmd.git \ |
| 17 | file://0001-Remove-obsolete-setting-regarding-the-Standard-Outpu.patch \ | ||
| 17 | file://tpm2-abrmd-init.sh \ | 18 | file://tpm2-abrmd-init.sh \ |
| 18 | file://tpm2-abrmd.default \ | 19 | file://tpm2-abrmd.default \ |
| 19 | " | 20 | " |
