From patchwork Mon Oct 12 22:50:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 137 Return-Path: Delivered-To: ilbers.mnt@gmail.com Received: by 2002:a4a:e04f:0:0:0:0:0 with SMTP id v15csp2229851oos; Tue, 13 Oct 2020 00:50:33 -0700 (PDT) X-Received: by 2002:a2e:985a:: with SMTP id e26mr9044415ljj.393.1602575432956; Tue, 13 Oct 2020 00:50:32 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1602575432; cv=pass; d=google.com; s=arc-20160816; b=iWjhSyYK0VM5OkaAT5Y7CVdG7s1jHoGzAyhNqJPQK75YkiOPHYZ1gdvBovAQ8kIdK/ 8G0AytqmgYefl9ifEiOdPbAMOkRAPgiPwz1WnMVSkfdPwLevcqcqlDY5eDQVkngTKMnH KOMnlyxMTqLhVTKXdmfvN9+e4UKM0N3bBcR08chYeILCsM4ILIAK3rOQIhGdeaeNCX59 hUB3Ve5a2bdqeEG66pIIwkoiyYdKRqCv2WCkMIH1+Ekcjc/n43W2NRmBWMicCdOyvGWk ebtYOfjQpGZ328mwZ2iNvJmewb8ODLl4++9hi2kn6+CHjrc1dYZ71zzlU7iGZWRTiYyq hHpQ== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:dkim-signature; bh=K7jcnXGzhEGa8smuYv0QvuOrs0R3UDAI3NG/p/PEMKc=; b=Ccl1oJJZthVV/myR3WR7/M7Zro1jXX0sXAt/iCTzunxs6KQcIT8YTaMPYxKubjiE3D hI7XDWeNMKkTzRbEjshZWjPWFPACfF/F6886hdUeE0gqwJcdX7VUlH3j/OjFo16xZgHv CWzrnl52RHjx10aNwYtQHjJaWCZzxfhW67wXhlREP0SUT3KPRJImCdbX6XTSCu1FkurU 1Zj51eIK3UIxdzWM0H93TlcfPCJT7dJDqwLksWT9lVEeZ9jBd4Y/Zy+jwnVupweoBU7i SwEycYROLq7MHqzc6KhzvaVIfY4GGz5swDBHk0Bs/bjQwnQ7UXrMPNx1Wvba365MAiWi 1XwQ== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@googlegroups.com header.s=20161025 header.b=GyYihvpG; arc=pass (i=2 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of isar-users+bncbcji7smnv4nbbsfysx6akgqeherxbiq@googlegroups.com designates 209.85.220.55 as permitted sender) smtp.mailfrom=isar-users+bncBCJI7SMNV4NBBSFYSX6AKGQEHERXBIQ@googlegroups.com; dmarc=fail (p=NONE sp=NONE dis=NONE arc=pass) header.from=siemens.com Received: from mail-sor-f55.google.com (mail-sor-f55.google.com. [209.85.220.55]) by mx.google.com with SMTPS id f29sor3485746lfj.180.2020.10.13.00.50.32 (Google Transport Security); Tue, 13 Oct 2020 00:50:32 -0700 (PDT) Received-SPF: pass (google.com: domain of isar-users+bncbcji7smnv4nbbsfysx6akgqeherxbiq@googlegroups.com designates 209.85.220.55 as permitted sender) client-ip=209.85.220.55; Authentication-Results: mx.google.com; dkim=pass header.i=@googlegroups.com header.s=20161025 header.b=GyYihvpG; arc=pass (i=2 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of isar-users+bncbcji7smnv4nbbsfysx6akgqeherxbiq@googlegroups.com designates 209.85.220.55 as permitted sender) smtp.mailfrom=isar-users+bncBCJI7SMNV4NBBSFYSX6AKGQEHERXBIQ@googlegroups.com; dmarc=fail (p=NONE sp=NONE dis=NONE arc=pass) header.from=siemens.com ARC-Seal: i=2; a=rsa-sha256; t=1602575432; cv=pass; d=google.com; s=arc-20160816; b=bX8AuaJD0ttvdEYnl0lYbYxj/xEGFVk4x+CFnR4SLGFblI0u7y+RyhG/t8pT4QVwUm V9GinG+8OgsLUTNRSsXAG83TmfgMG6301kC7Ylu/Q/j+EeztKVV5uH3bk7DQ2wTIL5Mk A4Ns9+73fHwo6F66+Kcc85RmLZuhI5VInhPTN8vwr///JBnRsz0fEGG7Subfd+TKRfdn kyJLOKXrKNtGquJvKgP4RajeNkL8ltqwvh8OpRBM9LZoIQ8mWg9u41PQo7AUQTjE4DkZ Oih8xrLTRGomZM16ReC8+H/0202cBH6bYypc2iugTVD6Fz35LD5bz5BAiHTU7jLwEpIg fDSg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:dkim-signature; bh=K7jcnXGzhEGa8smuYv0QvuOrs0R3UDAI3NG/p/PEMKc=; b=gHauvwqxaTKxAbGMeCwcCNl8Y1f6FpBjyXi9G3X808N9ccvB3dEFleBG9f2h8p0SVD seRORNu2aQyJ5+HjxIQ767L9I+g90+Eb34h2YUh1VKSGoKZ8AlWbdW9FvhKiDESMb6lG D4DVUYNB/Dobe/+3SpFqVMTuU+/AlsQXa5oNQH0kAtAQjx998gX2QVb9Hh6vMFnxIzUX ZCMpafC7Tscl96xCbuD8AElcPiCO7S7P4iWA5mTePRSKVrii1+Zqct84pOu90iqI/E4M 332kf5r0t9X4F3ENbEY95MdCymYqI2a8zPyrsPJchA/et7Rm6WToklHDkE2AsuvuG7SY J8ZQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=K7jcnXGzhEGa8smuYv0QvuOrs0R3UDAI3NG/p/PEMKc=; b=GyYihvpGC1UFLWkGKZCl///NRkULs8+D7zLIsVW8mPFlO6QwU9agrXUbSagoq7VMiA 2ZKp8YYdtIhgS07lRR2P1HTKRCF1fMXSnsBkgn4DegcDUUKP5Msal3wHp/u53llSHXZd qC3NjcK/Og0P6KFtC7SspWm3p0kQyPX+ttGqcJ/ErEVO4B3K4LNqXGSfgXqJZgvL7rZ9 VLp8KvW/9RP8sUsR5wT2zPZckBiX5NXIDo8ETLzzSHSgljIVP7WQBPBDtc+Fr+wmuYxA LdKgUX/BXhUJL/TaeIOQclzESo/WN4Ix0oZxGgGGSRQqnAvsPpwFuPFmdJy/10jCOzEU copA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=K7jcnXGzhEGa8smuYv0QvuOrs0R3UDAI3NG/p/PEMKc=; b=qgdOT9QlPz6lJYiGA+76C1rQOwESmhnmBwKu0Ub62szi1gFXfxhVFjo5WgIRBZE3Bm EGLdmm3lC9yqm4Ki6mkByT9Zm9nUTzStojemp/xu5WGONAaoF0bJ0u3t/LdXuNVPx6/R krzrkR1cqQD8Xj6DqIfGRqbe9cMI6mT9+P6H2eRAKNjba6k/VgfO0hrhQE3mpaPti08F Zoav/N0SKmIoR7jvHVVdqea4QAk2KOm4o29GPJL1bNrJrYP5czgV3jUdAGHmjCeR2wSO 7WZRop4sNAYaYnPFZ0CawZytnZGmiPUH8CY3HtGwlySrAtcCyAF5svaAu/jW0NsPT7U5 +XmQ== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOAM5321GTzEdmNT/pMGJ6kHOrDdAWAFHzuaxcW3sKnESnNo7KhpnQEN D9UOQqXANeK0sRhVDSsegbo= X-Google-Smtp-Source: ABdhPJyt97imJO5gVCuUcdDQW19O6kZ4/QRUDEd8cFhUQzvkMfKlBKRO0eF4RGY9LgODtxniR1v01Q== X-Received: by 2002:a19:ad0a:: with SMTP id t10mr2857501lfc.324.1602575432608; Tue, 13 Oct 2020 00:50:32 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:a556:: with SMTP id e22ls3231031ljn.9.gmail; Tue, 13 Oct 2020 00:50:31 -0700 (PDT) X-Received: by 2002:a2e:a174:: with SMTP id u20mr12867504ljl.101.1602575431424; Tue, 13 Oct 2020 00:50:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602575431; cv=none; d=google.com; s=arc-20160816; b=Jinjf2rfhF/5v8/bCannpjhW13dU8QuGuRrmybDwvhWXfcqCJiEy8haGlRHe/3vwUj psEuhqOHcKHSuI46t6Og3etxFj6KBB641Tjbsncu3l0J+EGGls+U/0djN0htCVf29cJt kuKGPxig/B0WbiWz+AbMsIHJ0UXqh0L98cUkwdP0TEVqsRRk06eiWaZ5MMLY7XtbgKFU KO7DbP/9gJNVKgGJGCgD06X3G3hUalGoksVkw8XQ7yGo5jHBYFt/sr9CH+2i4zd9VbuI cTI2k15VL1/d9z059/N6mxGgkNyXgQRGwFfVqLT68Ox0f71kltK504UM3MfzwIPdL0d5 dfYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=1yQ+ju0wRGfxASrBEStp5cQLET6ogbUxbozzcUPsWU0=; b=L2+W5cONkLFJ4v1dTTFoiQo5hNQckUO5mUZTGqdF7Eswvm0l1El/zKlAdT2gZ4nsD0 3IyQAN+7OYPnmGO+RqINkt44oXV8x6TDf0vDLrqWvu+GovCrgloDD5++HCzvAHz3pLPv nWveF18eIfwhZaLE+sihbgledxYfP/QkrRwAjEpyuV7MEGCEnjt2FAKDHZMxjerjRANL EByPFF9+Yh/VASV5pMLHY/0N/OA/h+MiZwyT5VLx9CLwlMIRAPxS/PbDFD0t5qQVlChN 8YRNDDcI1Ab8FUuCh3fsynT7ZSI6H82wp4zEp4VGIDE8pLU9uWMsDDiKhTxsD1N8ZyCG jgtA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id i16si199862ljj.3.2020.10.13.00.50.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Oct 2020 00:50:31 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 09D7oU0a013694 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 13 Oct 2020 09:50:30 +0200 Received: from md1f2u6c.ad001.siemens.net ([167.87.21.249]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 09D7oTav020807 for ; Tue, 13 Oct 2020 09:50:30 +0200 From: Jan Kiszka To: isar-users Subject: [PATCH 05/11] meta-isar: example-raw: Purge securetty from target image Date: Tue, 13 Oct 2020 09:50:22 +0200 Message-Id: <65e2d50e62e3482c7b0cdc473b5b76cba4d4e268.1602575428.git.jan.kiszka@siemens.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 X-Original-Sender: jan.kiszka@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1680422136943897223?= X-GMAIL-MSGID: =?utf-8?q?1680422136943897223?= From: Jan Kiszka Needed for boards which were unsupported by Debian's login package. Bullseye will drop this as well. Signed-off-by: Jan Kiszka --- meta-isar/recipes-app/example-raw/files/postinst | 3 +++ 1 file changed, 3 insertions(+) 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