From patchwork Tue Oct 4 11:46:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Henning Schild X-Patchwork-Id: 2159 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 04 Oct 2022 13:46:53 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wr1-f62.google.com (mail-wr1-f62.google.com [209.85.221.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 294Bkq2Z022970 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 4 Oct 2022 13:46:53 +0200 Received: by mail-wr1-f62.google.com with SMTP id e19-20020adfa453000000b0022e3608df56sf1716469wra.10; Tue, 04 Oct 2022 04:46:53 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1664884007; cv=pass; d=google.com; s=arc-20160816; b=Tb1/fZ+CuotACSze4x1lJYWv1DOYD0183e3CGmvZStVP64F+E5tm7QVHaq0gAuPwgm 7KHXxmKFt9TriXaywCt6QshEwRLzrHXfCE0fICOS/jdTDwiA62RdJp9aaUVs6+VsDN6F t+d6XcNMM+7QBZRCKzTUk0UR1hdNRAXglfIVC7p54C9nvu/t7bNqV7lDHgiRjC9l+8rl BlLesmKRgxmeZBlDTIiiExGrTPjW1INJyq2LTl73rqzLpZuP/1mWp1bqAfD30xQeCmPR D/3dKfozsXKUXa0POiez2CAZ/OXA4ObI1el3kd8MbD9rIb8kRcfzpBXbxbPT/s2TbnPC nAOQ== 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:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=XK8FUyoDO6MkLaOr9OIHwUD7ginMHJeQxgxtQN1GCK4=; b=KEn6RiTNO7z8NnfEW0JSG8eeDEhrod9pPLBJRk/m8ycNGwT1AYjuSQ6Vmti6b6S7k8 ur/J3Iqi+fDZFMzJsBERhORoFqnqQxFKqZw5AJ/fkm4kW11aVW3FgpvhYgBLW+w/bdn3 M2f1LN7VQMUzvY9BSUry1rtX7XRPEzgrJwQUmugHApmVlbfJf0rD8pGXy5XbTzaXh5a+ j90TqJhYr5uyNQMj/LSyYY4fJT1drHS3kFEk8cuQt2VdJWslYw68hqcBIrx7h749diIm 0erXYpWyIU+0J+BtqsUxWctAUtFvupY/CwFGZBfz37eyBwnwdPNf4s5weE6PEOb4KVwP 783g== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=vvi1dpS+; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of henning.schild@siemens.com designates 40.107.7.79 as permitted sender) smtp.mailfrom=henning.schild@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=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date; bh=XK8FUyoDO6MkLaOr9OIHwUD7ginMHJeQxgxtQN1GCK4=; b=qOqe/1mlAhdH1GAN4IX/cHv7ac5X9r/K5tzI86fOxuf8CTqjXBBXyu7aF4zECOWazG CXRuEijd6xPbvzzuhN5tPsKNU948OmWS43m+0iSPkZI9NHQ3Qk5f0By+SP5SCQr3OgLK njeH6vmDcoGpH1EiNsdh5/733XsDZ3DGG372EEBLcWTPG3DLiBAtPmlu5UJANviS+Jio g/K4QDsu8b/HCYXSf9IRu0ZJyPjo4Yy4jhl6a0gGCzbb3253qFr0HZdbEGhmRfgQ6TYy 8loStIlNIJNXPrN9eu6e9Y2dS3vfEeJ38wIsp5krdtsOLtPDJ71Vc48S9ujagzZS9X4/ ZIFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-gm-message-state:sender:from :to:cc:subject:date; bh=XK8FUyoDO6MkLaOr9OIHwUD7ginMHJeQxgxtQN1GCK4=; b=dmR4/feYUfc3nKSApm5+O1BZe+vz23P17LxgrfyD5bOZzoCt5LBh754W4vSYVnsVWd 7RGpKhjKE2rnpg7KclIHb4dyyCd86U3Q2nqvHZHEVs8JNh7YAfUCUN7CDZ56EeERKJuu S1bfMAoYg0mAcu/vYdXWxpvY6+saPRD0hnJJM7hPPCv/Xr2TP4k8Xtoi9EixwLqogNQF QMs8Mf+uRsXOmpuNEABdrlZ7bVt621ebTbUGfwy97xbnvG4XpxMPkFUvn5Vfastc84Yi LzgOikFXmVhfak6pFR0v6gXhHV7KFeIQa6xOLNdT2vTOq4AMNO2ceiuKxpU/SEDiaQKG QX5w== Sender: isar-users@googlegroups.com X-Gm-Message-State: ACrzQf0kBe+nTOn/kV7MEkGVRQumsvvrCJ9IUo4jX1Ue1Pqyi+UokcEP R2xquLQidmlYor9MFuHr484= X-Google-Smtp-Source: AMsMyM4qCfxY0/y1F3cRZdizFZhdQXLX9T616fr2d40mD6l2kIWgvBK6mBtRoQPGqqwhDlLHwORJ7w== X-Received: by 2002:adf:dbc3:0:b0:22a:d393:bd84 with SMTP id e3-20020adfdbc3000000b0022ad393bd84mr16023681wrj.626.1664884007349; Tue, 04 Oct 2022 04:46:47 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6000:388:b0:225:6559:3374 with SMTP id u8-20020a056000038800b0022565593374ls3977598wrf.2.-pod-prod-gmail; Tue, 04 Oct 2022 04:46:46 -0700 (PDT) X-Received: by 2002:adf:f410:0:b0:22e:3e12:237d with SMTP id g16-20020adff410000000b0022e3e12237dmr5760874wro.398.1664884006290; Tue, 04 Oct 2022 04:46:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1664884006; cv=pass; d=google.com; s=arc-20160816; b=hSVSsl9DYv89slX3cIeNW7OAJPONpQ5AXKGdeWpeoZcIYwqXbIZw3B+KWb1pEybP4b aUwnZFx7BZV21HbViFIxGV0bKuCGUkiXswQgQhlEM8nYPJF0WnxGwKg4SS68/nl4U0/Y Gg5TC8AniJOZUlnuJ9GTwtgpF8gRUBlfOFsk/drSYypgp0vI9lfJtmH0+h+jY9JqM2sn OhePtMJ3on8v+I/Is+W0TS5USHarjuo1U8QX2opAnnoLKIRDmwp2IXw/tHsOJT+27//W KhFyTSFKudDTJ3kM3EuOlgNuS7hSZTinlzJETSdZ/2t4Vba2quOJ2fGIIeG3jK0gfrDl wx4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=yPtBPrTjE8P9JFfKWTUkKAzmzQN4+szcyB8GjrT45Qk=; b=rt2RM5fjpN0xNC+eKcsq9aLpJtVmK+6ehTrgHO6oPkwkn2r7Us/6blwJyYm2uaYXn0 6WTKuTFLcozMItqxzgwWTGi1Yn3aSO9OXRpprl855CbYXZxnngiqnR0EHOdrTif3UJXE XGD0UYbi/rSzVgeBqN6d1n5Y6BQYggjOJnSqMD/IU7SVS4aCdVsw3KhYOo45TV043o0f DDqSqXqzgR9OUfu4tIeNZtWyCYXG+K0yM7TvsBG2FU8pbU7z5sQmP3Rb+BpbgCd0nRbU o4WFSlSAQxXHl9tb4IPS9/3VB0/NtD4ABtsZFtMmK3KJzCyYGG/IZ2GDMGkkkhDrW3Hn mqQw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=vvi1dpS+; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of henning.schild@siemens.com designates 40.107.7.79 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70079.outbound.protection.outlook.com. [40.107.7.79]) by gmr-mx.google.com with ESMTPS id bg6-20020a05600c3c8600b003b499f88f7esi415650wmb.1.2022.10.04.04.46.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Oct 2022 04:46:46 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 40.107.7.79 as permitted sender) client-ip=40.107.7.79; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MrSNqUWJtC6s5zvXaplNqdIIpEsJWkS+4CHMZzZPSGU1AFxqQ8PdUIGrxVGiJ/MgxCowKeTEMqzCrOvlFshScfz0UPe2FM49VE5KLXn4QKIxXngU4eeRI8qv/ngAmSLHVGwEAV7k0p/meVb4r0W27FGhOCNRDH/EEXa7aJK6SP6ZW1M3dXSveX9BorCAb9hEctPYbPYPUm+4L4d1eQ59d4xVpRfNAzjvTSQpl4lB0VobZSh+v+UMcHyL2ePVgu+09FBAZxDYZAl95Ni6bntjK66abf+sNW8uDLDTdzxIGbCpU2l464/kJYw9u8d+06Epav0P+k1pqxqkPBRc1jD0zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yPtBPrTjE8P9JFfKWTUkKAzmzQN4+szcyB8GjrT45Qk=; b=a5ZCfBrj8jN3oLkJE3KMf9I8Ej/3qO2ExxmO+oLE+MBaXs7cLd3mD7d/cXru0sC9rbuZdCZ7E0zbnbgfSKWTj1nYqzq7hPead/WTi7Fkrt3VpF34iMaYbj215cK0ow+JlAGMno2PXQG3sXeWSk+zuBm76+rtpC2b8jMHddbyDYgv0nlU2l5vp4ggssQR6TIHsEd57xPrnNsQfGQ6AQbttDBxzAdsrD/K8ouHg1q3x4cH3vpz/F01Ep/lXJ1pKNwT/bOs4C0LpjdbNbbwot1PMuL326BKWkR0ppwTy+3iwM5gGhSkCd34YgxchHm/8Ghk8D5s4jG2FHVXGCEB/6j14A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.74) smtp.rcpttodomain=googlegroups.com smtp.mailfrom=siemens.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=siemens.com; dkim=none (message not signed); arc=none Received: from GVX0EPF000013E0.SWEP280.PROD.OUTLOOK.COM (2603:10a6:144:1::8) by DBAPR10MB4025.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:1cd::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.24; Tue, 4 Oct 2022 11:46:41 +0000 Received: from HE1EUR01FT008.eop-EUR01.prod.protection.outlook.com (2a01:111:f400:7e1f::205) by GVX0EPF000013E0.outlook.office365.com (2603:1026:900:2::3) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.28 via Frontend Transport; Tue, 4 Oct 2022 11:46:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.74) smtp.mailfrom=siemens.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=siemens.com; Received-SPF: Pass (protection.outlook.com: domain of siemens.com designates 194.138.21.74 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.74; helo=hybrid.siemens.com; pr=C Received: from hybrid.siemens.com (194.138.21.74) by HE1EUR01FT008.mail.protection.outlook.com (10.152.1.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.17 via Frontend Transport; Tue, 4 Oct 2022 11:46:40 +0000 Received: from DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) by DEMCHDC8VQA.ad011.siemens.net (194.138.21.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.12; Tue, 4 Oct 2022 13:46:40 +0200 Received: from localhost.localdomain (167.87.50.107) by DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.12; Tue, 4 Oct 2022 13:46:40 +0200 From: Henning Schild To: CC: Felix Moessbauer , Jan Kiszka , Henning Schild Subject: [PATCH] image: remove / entry from fstab template Date: Tue, 4 Oct 2022 13:46:29 +0200 Message-ID: <20221004114629.27275-1-henning.schild@siemens.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Originating-IP: [167.87.50.107] X-ClientProxiedBy: DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) To DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1EUR01FT008:EE_|DBAPR10MB4025:EE_ X-MS-Office365-Filtering-Correlation-Id: c3893ead-b113-41b5-5222-08daa5fe1a76 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MfqeJyLmufZxNRLm9yDVFKajTbXbf0l4CeYWxPosiHRly5LB8r8tP4MCIBmv8RgQO5HEjEhjXZ2xu4wJm4LZWJzWaD8RaCZoN10WJkQ0Dx4IvBkW4ugX3atoAaDVXGpcEWp7Q2nRd45JPpgCZHWRiPG4zdnvvrOswDAvt0Ey7Io8uZnLMn21s/Rd4tPee93u+RYf+26xYu6rUjI3zUaqYCzQan58oQmK0KbUq8+WaMBEbv4LAg55xOh3fOwNKw23ZpNyb7w2EYBb7QJDEPMnVcrt705dSSt0h7iLKXyt4BQOtxP/r7OEU+ZVbcnR21ZjoZNgzhIWbtcCoKu3KX8uu5vL9F/R+HkWxjcP1RtCwF4cEaLDE9onVddv+WEWGBxTopg8pYJud3jen9M+zYjBM/DgHQ3XWrDUJsL59rs89YZMR29wuBL4kBJQ/x/ajSIgP9ds04oQ1xK8+aY+AD94vklljE6/Lwy4byjIW3HGKjcxQjMTTZ0ZAiDIG89ayqkzkccwa7GpQnrBnZ3MqzfgYmWFaSowrwhzAEd3ZNd9bKOyrAvXc4HIy7mBzWmX/nuDJFpWf3Otm9teJgaX8nSDggPZXBzKvZiKMz9pkBgTNbzmMLkCBNpmVh445qi9e6jyvRlFIvQAyBRf/Za63YTD/N/YGcpmIDUlCX75Txc2XhzPVJ6FdfmSiQwxtJXtHmhf5T1uhv5wBxRIDMbVF7SxVI7e1VH53Fqyrt1GU5B9CHwwDBHwVDj4idMgxrzNDrXrzvxtnSz00f62dfFos2OGsA== X-Forefront-Antispam-Report: CIP:194.138.21.74;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:hybrid.siemens.com;PTR:hybrid.siemens.com;CAT:NONE;SFS:(13230022)(4636009)(376002)(396003)(39860400002)(346002)(136003)(451199015)(40470700004)(46966006)(36840700001)(8676002)(70206006)(336012)(16526019)(47076005)(70586007)(4326008)(6666004)(6916009)(54906003)(26005)(107886003)(2616005)(956004)(186003)(1076003)(36756003)(316002)(5660300002)(356005)(8936002)(2906002)(7596003)(7636003)(82740400003)(44832011)(41300700001)(86362001)(82960400001)(40460700003)(40480700001)(83380400001)(36860700001)(82310400005)(478600001);DIR:OUT;SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2022 11:46:40.9334 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c3893ead-b113-41b5-5222-08daa5fe1a76 X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=38ae3bcd-9579-4fd4-adda-b42e1495d55a;Ip=[194.138.21.74];Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: HE1EUR01FT008.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR10MB4025 X-Original-Sender: henning.schild@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=vvi1dpS+; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of henning.schild@siemens.com designates 40.107.7.79 as permitted sender) smtp.mailfrom=henning.schild@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-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= An fstab entry for / should usually not be required. It just makes a rootfs less portable (USB vs. NFS, vs. SSD). The kernel is the one that should know which fs to mount and how. That is done via a bootloader. Should additional mount options be needed for a concrete image, an imager like wic might add an entry. i.e. for adding fspassno or x-systemd.growfs So to make the rootfs more generic and to allow imagers to add their individual / lines, instead of having to modify an existing one, remove the line from the template. Signed-off-by: Henning Schild --- meta/classes/image.bbclass | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index ccff81066178..d8d605d3af07 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -327,7 +327,6 @@ image_configure_fstab[weight] = "2" image_configure_fstab() { sudo tee '${IMAGE_ROOTFS}/etc/fstab' << EOF # Begin /etc/fstab -/dev/root / auto defaults 0 0 proc /proc proc nosuid,noexec,nodev 0 0 sysfs /sys sysfs nosuid,noexec,nodev 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0