public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] optee-client: Escape the escape sequence in tee-supplicant.service
@ 2023-07-17 11:24 Jan Kiszka
  2023-07-20 16:25 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2023-07-17 11:24 UTC (permalink / raw)
  To: isar-users; +Cc: Su, Bao Cheng (RC-CN DF FA R&D)

From: Jan Kiszka <jan.kiszka@siemens.com>

Resolves "Ignoring unknown escape sequences" warnings and ensure proper
module unloading.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 .../optee-client/files/debian/tee-supplicant.service            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/optee-client/files/debian/tee-supplicant.service b/meta/recipes-bsp/optee-client/files/debian/tee-supplicant.service
index 4508a142..f79e1984 100644
--- a/meta/recipes-bsp/optee-client/files/debian/tee-supplicant.service
+++ b/meta/recipes-bsp/optee-client/files/debian/tee-supplicant.service
@@ -14,7 +14,7 @@ RemainAfterExit=yes
 # Start if not already started by the initramfs hook
 ExecStart=/bin/sh -c '/usr/bin/pgrep tee-supplicant >/dev/null || /usr/sbin/tee-supplicant -d'
 ExecStop=/bin/sh -c '/usr/bin/findmnt /sys/firmware/efi/efivars >/dev/null && /usr/bin/umount /sys/firmware/efi/efivars || true'
-ExecStop=/bin/sh -c '/usr/sbin/modinfo -n tpm_ftpm_tee | /usr/bin/grep -E "\.ko$" >/dev/null && /usr/sbin/modprobe -r tpm_ftpm_tee || true'
+ExecStop=/bin/sh -c '/usr/sbin/modinfo -n tpm_ftpm_tee | /usr/bin/grep -E "\\.ko$" >/dev/null && /usr/sbin/modprobe -r tpm_ftpm_tee || true'
 ExecStop=/usr/bin/pkill tee-supplicant
 
 [Install]
-- 
2.35.3

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] optee-client: Escape the escape sequence in tee-supplicant.service
  2023-07-17 11:24 [PATCH] optee-client: Escape the escape sequence in tee-supplicant.service Jan Kiszka
@ 2023-07-20 16:25 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2023-07-20 16:25 UTC (permalink / raw)
  To: isar-users; +Cc: Su, Bao Cheng (RC-CN DF FA R&D)

On 17.07.23 13:24, 'Jan Kiszka' via isar-users wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> Resolves "Ignoring unknown escape sequences" warnings and ensure proper
> module unloading.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>  .../optee-client/files/debian/tee-supplicant.service            | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-bsp/optee-client/files/debian/tee-supplicant.service b/meta/recipes-bsp/optee-client/files/debian/tee-supplicant.service
> index 4508a142..f79e1984 100644
> --- a/meta/recipes-bsp/optee-client/files/debian/tee-supplicant.service
> +++ b/meta/recipes-bsp/optee-client/files/debian/tee-supplicant.service
> @@ -14,7 +14,7 @@ RemainAfterExit=yes
>  # Start if not already started by the initramfs hook
>  ExecStart=/bin/sh -c '/usr/bin/pgrep tee-supplicant >/dev/null || /usr/sbin/tee-supplicant -d'
>  ExecStop=/bin/sh -c '/usr/bin/findmnt /sys/firmware/efi/efivars >/dev/null && /usr/bin/umount /sys/firmware/efi/efivars || true'
> -ExecStop=/bin/sh -c '/usr/sbin/modinfo -n tpm_ftpm_tee | /usr/bin/grep -E "\.ko$" >/dev/null && /usr/sbin/modprobe -r tpm_ftpm_tee || true'
> +ExecStop=/bin/sh -c '/usr/sbin/modinfo -n tpm_ftpm_tee | /usr/bin/grep -E "\\.ko$" >/dev/null && /usr/sbin/modprobe -r tpm_ftpm_tee || true'
>  ExecStop=/usr/bin/pkill tee-supplicant
>  
>  [Install]

I probably have an even better solution than this, and I will re-post
all my OP-TEE fixes and cleanups as one series now. This became too messy.

Jan

-- 
Siemens AG, Technology
Linux Expert Center


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-20 16:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-17 11:24 [PATCH] optee-client: Escape the escape sequence in tee-supplicant.service Jan Kiszka
2023-07-20 16:25 ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox