From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 09 Sep 2024 16:38:41 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f63.google.com (mail-wm1-f63.google.com [209.85.128.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 489EcfhD030301 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 9 Sep 2024 16:38:41 +0200 Received: by mail-wm1-f63.google.com with SMTP id 5b1f17b1804b1-42cb050acc3sf9887885e9.1 for ; Mon, 09 Sep 2024 07:38:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1725892716; cv=pass; d=google.com; s=arc-20240605; b=Ib2g11h4CNtB9Vg+6XjYD3CWZ2sVXvthaF/hhFtgEz8dq3L0JdFjkWU5p3uZkXXWnM KzKNALEr37iaXH60IDoMJkPIW+UishWwTyq039+CnNLOdgBe+uxhsOgvPgJ6BuvsaF5G +aNVeT//vd8GLyxrokJuVNRLBswWEVfGgfgnrXlTT5W7SNPzmxPH+lAh4eJQ7gnQqniA eyOuSVC8FEkdIgmS/QOi/ecb09HKUXuXh7J26Flhf5gmPxy3tnwtYTR9Z89mNQt3JOfy 1bN+p1bYuEG2vYg7EAzb7BrhSUTSrJjdmRTP/q0a07FAgZmTrTDNE2RjCk15n7VXlHTN 9dwg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id:sender:dkim-signature; bh=PPWDyP7qOI0dWYICo9L4tFJ916eAfVkZ4G+b3bQfq2M=; fh=ck72dogp5J2s77sHMgYlWkyzonVHc1IlTUjCL8kNo5M=; b=OvwVnriCAPvGD8IBMUv1nfXO2TumlNYEazj+yMaW6itpzU/WsHqAEGj1aNxwI/jZqh 01zfl2IBL/tsz1UYLZ+Kpvf1m/Ssd3Tz09zd2LCidZORTj8GxG4abgezr1OFurI7VW2L cAmV7CCTkyvQGeuBzP5v1yal121CiY4i/PbwrDxLMsxJX21IduvVNo/Md+izTLX7oLC5 SR8bF0Qe2my/JEtJDQh08Bnqo7igQJwWSSDkG62/oV8w6TGEBipNBtC9E4ok7MuhyyRE SySCOo9xHuvnjyFN7WqMZgerY1VrtBmSIvPvFX5WZkE1gJDCqIQJfOiRqdCQJsFOM1oP QMFg==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1725892716; x=1726497516; darn=ilbers.de; 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:user-agent:content-transfer-encoding :references:in-reply-to:date:to:from:subject:message-id:sender:from :to:cc:subject:date:message-id:reply-to; bh=PPWDyP7qOI0dWYICo9L4tFJ916eAfVkZ4G+b3bQfq2M=; b=eHcIp0j4HRqc+nBLJkrx66lUjZMF/tHjHgmyDGu7vkAw1BHIVUBF1KCNaIyoDyWm0x o7DAdTOlDFqIEDfD9EgZcSpTJFlW3mDY9RbORoEimeXgtX+OnnTr1sk+yy7PO8gdl5DS h7NokNtXNznbUZs7eYkMW7DgdL9Ne3udG/Ggl93zq6O0cS0my3SIRMQoN+w92bcNEdg2 Nit/cqDKnAGy025V04E9oG7lEJozBEqaNFs+wQdsQ7TowL7KfisDmfa04N7wY7eheZQB rjlCTLCbkAUQ8ehcPxbWPuTaXWXCCGuGgPcNl+JnJvyjT2rqTnpoxxknaNWKD8iafTTy bF8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725892716; x=1726497516; 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 :user-agent:content-transfer-encoding:references:in-reply-to:date:to :from:subject:message-id:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=PPWDyP7qOI0dWYICo9L4tFJ916eAfVkZ4G+b3bQfq2M=; b=m6ntruvIvdtXUr7VASyQFDb8A87hd2KteBbKoazDoSxMvyrRe55y1Evmu0/dC58M86 JEjSBgugid+Ze4vNIgADrRctM1Ne0kmQILCCeA62IDoA01r2PF0HOeLhJ+ql4tcpWxBw y70JRUfI5IE2J53f1nmfdtrMDzKhGFJz4cpKfzqTk40D2jRaJyGZOi33fIQ8YKfSPfDZ XvTU4lIw+KS3QhXv07yrU+baQyUP7xVOyJve7i/VWN7yDkbUgPkA/vINE2s0Fm9Jv90c 9IbfRMWhk4+uzrsKgnUDoKV6g2D81BfQ9FtuWwnscDDFTGr2zHhjMRB+dP9qE/JFAHdL 9m3A== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVfs4nQOz9OW0wCcVKYJxiaQkZh9HLuEzo8zbZazWQgqzNvVK1R6pTUBz75i/ytewCXx8gQ@ilbers.de X-Gm-Message-State: AOJu0YyLMRWWI/tXFcQknsmzUpH0zMs6i492Qpm3WmtpeDMVdK6vPJbq hKLwE9m3p/vj4XBA8wTeFHEfQ6wV6ch+ltaAE8NYeaMkXZ6GBmIf X-Google-Smtp-Source: AGHT+IHfJMuS4vQdomXHQWBKus/54K3OxahQreZ8s2iqTj8tVha2369uJTKI9tppd5tfR+buYfJX1g== X-Received: by 2002:a05:600c:450e:b0:42c:bd5a:9471 with SMTP id 5b1f17b1804b1-42cbd5a9745mr1175205e9.16.1725892715044; Mon, 09 Sep 2024 07:38:35 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:4c19:b0:42c:ad31:3843 with SMTP id 5b1f17b1804b1-42cad313a3dls7495085e9.0.-pod-prod-00-eu; Mon, 09 Sep 2024 07:38:32 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUc4QO7pa6Q4ymNwUvYyorWWXLj0KKkOU6K6Ldvh275MhZIXcdmGToX+OcQQKAsjEFXi+c469pCD54g@googlegroups.com X-Received: by 2002:a05:600c:1c0a:b0:42c:ba81:117c with SMTP id 5b1f17b1804b1-42cba8112d2mr13039155e9.6.1725892712297; Mon, 09 Sep 2024 07:38:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725892712; cv=none; d=google.com; s=arc-20240605; b=EearQnH3IA6ExjqQMxjhuxfPio0TX6C5FjYhjgZ3hu0e6bXwhfGq5ICNTDw9aCQ0To Xua28bbQJkKXTFtXlHIs2zxw/w5DXy8hQCl9ziLLP151nauEPYRu7aq0HOl64dFIAKHk Z0cwGuKyAYqY3+rPUhXW43OKO07HhfaJllw0Tkfdlb7yw+zy5KiRCBrBHoUS6HtpgY9k dq+K5Vo5F/6D+hE+vdHOr+TgexY3JfSiLSLUXFNTfmCszQcpShTnu2+IZaeCPYg7wJ3k B5uICa0oGDn58MUwdFtW7AzkQ1QNgKnpnY6lbYM3zqx3zSM3VpMO+Sn0AJYRSvUNkSen hDFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=kJmK+V9ASbyXEm8wBg2q62J9D60b+WGjGBQT5H2xs5U=; fh=BSPqGArB6tTDqZiGP6bWbwR/OT+7QmHvthjvMivxaWQ=; b=AdD0m8L9WZ7AfKurC0BoCl4nXywDyTvd2zchKNFDon9FBNsYk1B+xTxIjILJXXtKri IqN+rO94zC42DQ4Impk/FJpKiNrJqXkKxzoPWGmmReyX5SCyThFOQgv7i6tmWos0CiXy Nm8LTBN7A8Y9nqcx5cVYWBAtXKgyY5klcjzXWTTv+kmGsdzdiZsmfmoDpbwRfugVu1Aq gxL1sEqVTXZM3o7rZykSkocmy6EjiSDfJCuTBtLtQt1TZp+4UV+4AK3ysUKKfp12QSPO I3DvrF82jBtXbjXKaqA9bLjCeWVQh1kw8CD/z5R2yMQGIDFvTkuDyY5s9I1S1A3wLzm9 8S2A==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-42cb03deb61si2381595e9.0.2024.09.09.07.38.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Sep 2024 07:38:32 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 489EcTpq030293 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 9 Sep 2024 16:38:31 +0200 Message-ID: Subject: Re: [PATCH] meta: Add option to specify additional dependencies for package expand-on-first-boot in case an encrypted disk has to be resized From: Uladzimir Bely To: alexander.heinisch@siemens.com, isar-users@googlegroups.com Date: Mon, 09 Sep 2024 17:38:29 +0300 In-Reply-To: <20240905072114.4838-1-alexander.heinisch@siemens.com> References: <20240905072114.4838-1-alexander.heinisch@siemens.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.3 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 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,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,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-Original-Sender: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de 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-TUID: 13OBBqSEDsN0 On Thu, 2024-09-05 at 09:21 +0200, alexander.heinisch via isar-users wrote: > From: Alexander Heinisch >=20 > Although, disk encryption itself is not handled in isar (as of now), > downstream projects > using disk encryption break this package. To mitigate this, we added > an additional variable > to specify debian packages to be installed, when disk encryption is > used. Depending on the > specific implementation (tpm, password prompt, ...) downstream > projects can set the dependencies > needed for their strategy to handle the resize. >=20 > Note: We decided against fixing this by bbappending in downstream > packages, because we believe > this approach scales better and is also easier to maintain. >=20 > Signed-off-by: Alexander Heinisch > --- > =C2=A0.../expand-on-first-boot_1.5.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 | 14 > +++++++++++++- > =C2=A01 file changed, 13 insertions(+), 1 deletion(-) >=20 > diff --git a/meta/recipes-support/expand-on-first-boot/expand-on- > first-boot_1.5.bb b/meta/recipes-support/expand-on-first-boot/expand- > on-first-boot_1.5.bb > index 1b5b066b..ebb22c84 100644 > --- a/meta/recipes-support/expand-on-first-boot/expand-on-first- > boot_1.5.bb > +++ b/meta/recipes-support/expand-on-first-boot/expand-on-first- > boot_1.5.bb > @@ -10,7 +10,19 @@ inherit dpkg-raw > =C2=A0DESCRIPTION =3D "This service grows the last partition to the full > medium during first boot" > =C2=A0MAINTAINER =3D "isar-users " > =C2=A0 > -DEBIAN_DEPENDS =3D "systemd, sed, grep, coreutils, mount, e2fsprogs, > fdisk (>=3D2.29.2-3) | util-linux (<2.29.2-3), util-linux" > +# Additional packages that are needed to resize the disk if it is > encrypted. > +ADDITIONAL_DISK_ENCRYPTION_PACKAGES ?=3D "" > +DEBIAN_DEPENDS =3D " \ > +=C2=A0=C2=A0=C2=A0 systemd, \ > +=C2=A0=C2=A0=C2=A0 sed, \ > +=C2=A0=C2=A0=C2=A0 grep, \ > +=C2=A0=C2=A0=C2=A0 coreutils, \ > +=C2=A0=C2=A0=C2=A0 mount, \ > +=C2=A0=C2=A0=C2=A0 e2fsprogs, \ > +=C2=A0=C2=A0=C2=A0 fdisk (>=3D2.29.2-3) | util-linux (<2.29.2-3), \ > +=C2=A0=C2=A0=C2=A0 util-linux, \ > +=C2=A0=C2=A0=C2=A0 ${ADDITIONAL_DISK_ENCRYPTION_PACKAGES} \ > +=C2=A0=C2=A0=C2=A0 " > =C2=A0 > =C2=A0SRC_URI =3D " \ > =C2=A0=C2=A0=C2=A0=C2=A0 file://expand-on-first-boot.service=C2=A0\ > --=20 > 2.43.0 >=20 Applied to next, thanks. --=20 Best regards, Uladzimir. --=20 You received this message because you are subscribed to the Google Groups "= isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/= isar-users/d73ddf9f0ff45623d9cfb8564b371297a4f289e3.camel%40ilbers.de.