From patchwork Thu Nov 7 06:31:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 13865879 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8889DD5AE67 for ; Thu, 7 Nov 2024 06:31:52 +0000 (UTC) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.82]) by mx.groups.io with SMTP id smtpd.web10.66430.1730961101838217087 for ; Wed, 06 Nov 2024 22:31:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@siemens.com header.s=selector2 header.b=gxdChkjk; spf=pass (domain: siemens.com, ip: 40.107.21.82, mailfrom: jan.kiszka@siemens.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yUGAJVcqlswyy32n250HUknpENou+hSnRlJm0kxYruwYa1PFZzIXgiRCnW+Kj7N/NeRj2/NPfW7wNVxgSAE4kA6zAqP+gAry7F1khAXxz9DHhj6VkdCYx5taw/i8r0ubgxvJZwx5iY5JOqSKTGW3e2GlMuPqGV15pDKbcshIAXPHbg9TJvszxsuTLkomq7U9mh5NWUwfw6vCwF/R3uieVgWqqs6vHL66Oo1fyH6oSuYfnlro9EASqp38MF/FYPuhT/WxupEfYepK+0HHOnhALCj90ZSLBQwgLgM31Gdpci5JMuqdfHQcVMnfZO9Z6QlWOz0jGuqVu/Hc59c+1AKXSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=i78c6PQIpHRyNFxlf5UxX6eicEOTQj9XF9n+Rzm/XF8=; b=AK8+PRl97X0oK1k6CY4GDwZzmf/bsF9a57XQLTTRUpYlMXtkq9u2uSLCVmE6277gBlGA9p3+ATYq4l4EUeJKvia/NN9zfKpYtVYtqNgJ+S3AQPGjL2XnVFop1wPNtTUvG5BIXNghpERUoZvXoaYqwFkhHP8DjQsJmcV6ellMyi6+ik3XJ6MOX+nD6vbVTPV64qOhfCoH1u8epjNG/3PgLy+oZ6qWRf65Db74fEOrKwS4/fzo7kHcbQK7zSWuBMC4K/AEC9yMmrBgCn/8oaLX9bwCEM6uUq2AeIOYOFHcXfCP/Eiwi+4aRkLqXiyLGilI0EJKKSH5A94WINi/VeHiYA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i78c6PQIpHRyNFxlf5UxX6eicEOTQj9XF9n+Rzm/XF8=; b=gxdChkjkRjHXHs6tMPV25U4C0FbuX7rfd3r09xEUGwQQpr/zHLieRRgu3ga3lAaSKcKvlIalhFvC4bO0v7FNZz6KvSorooJrSFpCwW7aSUnVOzXFtFXGIUF6RbA6wl3omSoTciRx3ZxRZxlTnb1Ek+KLz0Bc68/grdT4xrii2TcxChdb2oUa6QunPjJVTHZTRrMJkTD10wPYewLfIaraGsdtHOYYRztuEL9w9o6rE91JgoY5VeSsQCWCabZAA5eVPQPMDRXO2c2fgHAUIjnNI/ZVZiO2uRwYNHTfR8AC2xSyTxoVlSKcIt0GrW8H8LsAfwDRXShfMDVlqoejbZjl9Q== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com; Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) by DB9PR10MB5138.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:331::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.21; Thu, 7 Nov 2024 06:31:36 +0000 Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::8fe1:7e71:cf4a:7408]) by AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::8fe1:7e71:cf4a:7408%5]) with mapi id 15.20.8137.018; Thu, 7 Nov 2024 06:31:35 +0000 Message-ID: Date: Thu, 7 Nov 2024 07:31:34 +0100 User-Agent: Mozilla Thunderbird Subject: [isar-cip-core][PATCH v3 6/6] kas: Add option for selecting read-only rootfs type From: Jan Kiszka To: cip-dev@lists.cip-project.org References: <12bc32044317b4afd31a97d5eb14c38b997a89be.1730829273.git.jan.kiszka@siemens.com> Content-Language: en-US Autocrypt: addr=jan.kiszka@siemens.com; keydata= xsFNBGZY+hkBEACkdtFD81AUVtTVX+UEiUFs7ZQPQsdFpzVmr6R3D059f+lzr4Mlg6KKAcNZ uNUqthIkgLGWzKugodvkcCK8Wbyw+1vxcl4Lw56WezLsOTfu7oi7Z0vp1XkrLcM0tofTbClW xMA964mgUlBT2m/J/ybZd945D0wU57k/smGzDAxkpJgHBrYE/iJWcu46jkGZaLjK4xcMoBWB I6hW9Njxx3Ek0fpLO3876bszc8KjcHOulKreK+ezyJ01Hvbx85s68XWN6N2ulLGtk7E/sXlb 79hylHy5QuU9mZdsRjjRGJb0H9Buzfuz0XrcwOTMJq7e7fbN0QakjivAXsmXim+s5dlKlZjr L3ILWte4ah7cGgqc06nFb5jOhnGnZwnKJlpuod3pc/BFaFGtVHvyoRgxJ9tmDZnjzMfu8YrA +MVv6muwbHnEAeh/f8e9O+oeouqTBzgcaWTq81IyS56/UD6U5GHet9Pz1MB15nnzVcyZXIoC roIhgCUk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C+zm0j03iPI6gi8YeCn9b4F8sLpB lBdlqo9BB+uqoM6F8zMfIfDsqjB0r/q7WeJaI8NKfFwNOGPuo93N+WUyBi2yYCXMOgBUifm0 T6Hbf3SHQpbA56wcKPWJqAC2iFaxNDowcJij9LtEqOlToCMtDBekDwchRvqrWN1mDXLg+av8 qH4kDzsqKX8zzTzfAWFxrkXA/kFpR3JsMzNmvextkN2kOLCCHkym0zz5Y3vxaYtbXG2wTrqJ 8WpkWIE8STUhQa9AkezgucXN7r6uSrzW8IQXxBInZwFIyBgM0f/fzyNqzThFT15QMrYUqhhW ZffO4PeNJOUYfXdH13A6rbU0y6xE7Okuoa01EqNi9yqyLA8gPgg/DhOpGtK8KokCsdYsTbk= In-Reply-To: <12bc32044317b4afd31a97d5eb14c38b997a89be.1730829273.git.jan.kiszka@siemens.com> X-ClientProxiedBy: FR0P281CA0212.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:ac::11) To AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR10MB6181:EE_|DB9PR10MB5138:EE_ X-MS-Office365-Filtering-Correlation-Id: 9820bd71-5dae-42a6-95b1-08dcfef5d400 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?q?6OBecvaGLe+WtqEbOxq9PfxnQ7B8Q0A?= =?utf-8?q?iKFH3pGxHmHHgh22DQ2J5vSw2DiWPzGD/TkxbaB8G/pz+BplmcgDmPpkvOE82IEFu?= =?utf-8?q?TsR5oF46n5bCgczoskGlpiDYMl8PfGdYNtBseIyJgCeifh1B7AUZs/kJyXTtTAafq?= =?utf-8?q?VSNjgIyzr8ozaeWlvLcXRgyXYTjorb55vVcF+zGfquMqBX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utf-8?q?zvbkz5xk/esKX4A2xgo/SLrJQbBHLK2yLHBgXUjMCFTxkCfvZhviq9QcfMf/fxydk?= =?utf-8?q?TgzssgKQIvEyPQKiCD+9F59X7iAdM9156x5hsZxjOXqeYDuYYEHDfgKLpDySd/Xr6?= =?utf-8?q?6pIgmTlY9yu8OHIr57UhKk8pvjH+i7E7sD6s/cMJ7tLiyfaRz3twAYav3OsY9e0ne?= =?utf-8?q?91WDcQgYAfZZy?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(376014)(366016)(1800799024);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?zSzNerq0JLCabxxuNaKEFY8gToX/?= =?utf-8?q?oZ/8NMH9xNwX4T5y9YWbEt5HdeYzd/aDQz+qsX25JxjUSWVN4LV5sILRZafAuDBPn?= =?utf-8?q?dLfJUMURsjofAffkCMCMe81ywlAhb6qPZ5CXUAuuQiSxOBLVLkqkpsVuM/jOXO5XX?= =?utf-8?q?l2VMYJIol1O/HIQPLhPQKhgI72G8FntM1xHI9YPH0Qc2A6n2ddg0eXU7IeEMWC1vi?= =?utf-8?q?RmBimvjfMOSuOj21Qam4t1XcMa6/yG1qTR5w2d1+obHWys9WuV0gf44M5Ao9WCSxb?= =?utf-8?q?eLrpY8nt7Kattmgs0JbgirNpBBw2jwISEJsfnUM6GH2vVTE5To9+NsRvNHA6Demnu?= =?utf-8?q?p22hfoc+qEijx00dq8mZ0EiEoNLEPeB/12Z32MISmeQ0ZL/5dqhkSVGY6HRryjW/O?= =?utf-8?q?Gt2RjcfURbIBV3uxXd6e/VtfNrWadjxsa6cMhCW2rVE+jbzVSTGnAKjXg0awdan6x?= =?utf-8?q?tU/uJ39BxDWeHWyQ9nu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y3bBiaZzFd9MKn1g9UY+Xwmsmtt7?= =?utf-8?q?g1sgbFzq9XfKPnRWS9oonVO4ML4bEI69fX3IYoO5mmhddkPY8KM0KJcCgyKcAPjQn?= =?utf-8?q?3S+OE9kndyeScD1gOZD4LCdzeyNNKk+CumoyYRtdrOOLvh9srWcF0DWP04MnpXVu7?= =?utf-8?q?k7mnxzKsjJjV?= X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9820bd71-5dae-42a6-95b1-08dcfef5d400 X-MS-Exchange-CrossTenant-AuthSource: AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2024 06:31:35.9169 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9VGsPMDpWSwZaEf7UN5w29vt2lfRT2wE03EZ9qm9o1MkIdHKJUn38C1yzGZhuiu99kYs+fdD//RrFy2WQ0jm+w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR10MB5138 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 07 Nov 2024 06:31:52 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/17195 From: Jan Kiszka This allows to select EROFS as alternative to squashfs. The option is limited to 6.1 kernels, older ones will no longer be enabled. Debian buster lacked the required erofs-utils package, and bullseye seems to generate filesystems that are not detected by kernel 6.1. Therefore, limit support to bookworm+. Signed-off-by: Jan Kiszka --- Changes in v3: - exclude buster and bullseye Kconfig | 16 ++++++++++++++++ kas/opt/erofs.yml | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 kas/opt/erofs.yml diff --git a/Kconfig b/Kconfig index 8062cdb7..d10ae917 100644 --- a/Kconfig +++ b/Kconfig @@ -198,6 +198,22 @@ config IMAGE_DELTA_SWUPDATE endchoice +choice + prompt "Read-only rootfs type" + +config IMAGE_RO_ROOTFS_SQUASHFS + bool "Squashfs" + +config IMAGE_RO_ROOTFS_EROFS + bool "EROFS" + depends on KERNEL_6_1 && !DEBIAN_BUSTER && !DEBIAN_BULLSEYE + +endchoice + +config KAS_INCLUDE_EROFS + string + default "kas/opt/erofs.yml" if IMAGE_RO_ROOTFS_EROFS + config IMAGE_SECURE_BOOT bool "Secure boot support" depends on TARGET_QEMU_AMD64 || TARGET_QEMU_ARM64 || TARGET_QEMU_ARM || TARGET_X86_UEFI diff --git a/kas/opt/erofs.yml b/kas/opt/erofs.yml new file mode 100644 index 00000000..7c44f5b8 --- /dev/null +++ b/kas/opt/erofs.yml @@ -0,0 +1,16 @@ +# +# CIP Core, generic profile +# +# Copyright (c) Siemens AG, 2024 +# +# Authors: +# Jan Kiszka +# +# SPDX-License-Identifier: MIT + +header: + version: 14 + +local_conf_header: + erofs: | + RO_ROOTFS_TYPE = "erofs"