[v2,05/11] meta-isar: example-raw: Purge securetty from target image

Message ID 65e2d50e62e3482c7b0cdc473b5b76cba4d4e268.1602755020.git.jan.kiszka@siemens.com
State Superseded, archived
Headers show
Series Support for building TF-A and OP-TEE, add STM32MP15x board | expand

Commit Message

Jan Kiszka Oct. 15, 2020, 12:43 a.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

Needed for boards which were unsupported by Debian's login package.
Bullseye will drop this as well.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta-isar/recipes-app/example-raw/files/postinst | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta-isar/recipes-app/example-raw/files/postinst b/meta-isar/recipes-app/example-raw/files/postinst
index c32ba956..d25c251d 100644
--- a/meta-isar/recipes-app/example-raw/files/postinst
+++ b/meta-isar/recipes-app/example-raw/files/postinst
@@ -19,3 +19,6 @@  cp -RTn /etc/skel ~isar
 chown -R isar:isar ~isar
 
 echo "isar" > /etc/hostname
+
+# this helps with ttys not know to this file (removed upstream with bullseye)
+rm -f /etc/securetty