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, 02 Dec 2024 10:19:16 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f60.google.com (mail-wm1-f60.google.com [209.85.128.60]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4B29JGlA008900 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 2 Dec 2024 10:19:16 +0100 Received: by mail-wm1-f60.google.com with SMTP id 5b1f17b1804b1-4349fd2965fsf38181495e9.1 for ; Mon, 02 Dec 2024 01:19:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1733131150; cv=pass; d=google.com; s=arc-20240605; b=E4nya9GI12d4qgWIRP+SMYixUtzRSa1gx8zLPQewbgo2AVIwlmqOccJ7coqq5tqFC0 lC+X3BKJ5Fzk6BP9H0qY2JE1j4rbmPR++91pffcI7TPSplqq1Wx5UqrDVqpISBhiPc7J e+mQP7A7YRXFBc5dTfqjmhj+HyZqHEWnoREktZ8HgKU7rggYN71+SNTHGH3cM7kkyqxm g/K6rcGjuxWQwpk6c+LwEkqwskIzFFRAQ3wd9CW5qQf/o8Zo3TNua4nl5bHfR+wOYiTZ p4t91iLBgMsjIFPNj8L0Z/RG4lh7C84hDvHxBfIyWw6w8qNNYbaDzbddorP7E7RCZixN YmmQ== 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=LCu3+iwWRfXvxVSPJlLYVOaQSVqjndRvJ0cBD93hnqw=; fh=2GrwAwsYe3EQhgkfPypS2BZIdL4DD40Aepz5fd2BGkc=; b=ak+mE215ZO7mnVOmh6rOSim9lwnDK/VJoIhiqD0u9X1DQSvBDWQCYCix0MKLFeHPRE TyQpL/ii/chqke8WSak82ZQ8XcDFgdh7iHbnZt0f96t4x8jyvmwRb2DgiqHR7wGvoIs3 IY30Q1RVK11n5Yaw2V7FMRWzFpaTjvaFiuiRJc4N7nrJUUAwLC6bzP7ac7wWy9MaeKDx G3zciJDMbnuYmofuxrUXqpTsJ7f4VP6loCH/4ExFttdKM3P4dpS9CMC9jN6viakSleRP o+Du2GJb/EYNfvzfK78BIJyruLgNc5zkVdzCWh/H5mlpo6ixCQQC7wnicYt88GiVY9nn HgdQ==; 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=1733131150; x=1733735950; 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=LCu3+iwWRfXvxVSPJlLYVOaQSVqjndRvJ0cBD93hnqw=; b=pxnAajGxy+2yOZAoew2bbS0GYdjFk75+ng11DRQrRNlvoDvp/hraCeEO7p1ugjtVdB kZJyDHfqu81C56eFg51n9yoAWcNdwtvTHpriuWCqMoa5dAXeERlMnanMWHObdkC7TE6w lagIYL8BDr825qYtxGWxKGNeL9117VYwogf8l9/5MUiS3514IxHM3zASLCeL1tsI7GNn wCXM7EUjT6hD1shh99da4GUQDrR/KcbdpcPPi7oWMJ+yb1nhdNzNgCRbAcRG+EYhbjsj /Gb8Ai3yWWJmlbHEt0dHJgwtQxQHwK1AP3uY/IVFJNS2kjpwGoAi04QrfeVtNnyrHA4b GGwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733131150; x=1733735950; 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=LCu3+iwWRfXvxVSPJlLYVOaQSVqjndRvJ0cBD93hnqw=; b=tXLy9HHbhLMDSO8VG6pZBnR6TOKSNW4/Tvb/WcIvnXq4P+/5lAgDatzGhb3teRiYaN dY2RwxZDHD2kFfKOk343bfQ2u26HqA3hcn1EegHKymFiqJ3pY0jZ7jp2lVaDDscxQXD7 Kt3n4eKP9EWttPC875leT3MXn5isx75nnJOlyIxm62wbwgmW3QgGKwieJPzpAQ8pfuvp GDGO4q2gK5LeOlwJ/6aqj2FSm8IuT9ewGHkIVKBp/OtZ++di6fNtZ262nD4BwM2sTRg4 ridPiTne07v7i3ILzcKK7B2HSFU9Qa4pETzZoad/DKDur8z5g36jCMzoHF/Ct21JRtGs dGkw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCX+VQFdVeto4wrziE4LmF0R8OMSynLGntk1q/alEbckxq2hJ8PZK/X0s6X8BZvmwoOQVGtn@ilbers.de X-Gm-Message-State: AOJu0YxVdgHdbE1NJuyZUL5JpuFH+vjta00XGSkZwuTNx7a8Aevvx9Af ZPnBRa22q+AllFzWMmHWAQX0v64XeqnX+s+vuC91udmxbgVIk+Tr X-Google-Smtp-Source: AGHT+IEFor1fKOz2RTl18omkqjiJQzUSD5QAT34wvMSwJIjzbwWFTl15HxoenedV8meU6QjPVaguDQ== X-Received: by 2002:a05:600c:4f46:b0:431:5c7b:e939 with SMTP id 5b1f17b1804b1-434a9dcf264mr250405455e9.18.1733131148416; Mon, 02 Dec 2024 01:19:08 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:190c:b0:434:a059:b74e with SMTP id 5b1f17b1804b1-434afce9494ls12096855e9.2.-pod-prod-05-eu; Mon, 02 Dec 2024 01:19:06 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCU0qs3lIIkAzxDwZQGhPmzYHjH8Vz/7/w40IPDEdJG/nNZCT9oAYNuB1h4mE96KRdWzHAViwaiesdl4@googlegroups.com X-Received: by 2002:a05:600c:4f85:b0:431:4f29:9539 with SMTP id 5b1f17b1804b1-434a9dfbb05mr214228055e9.32.1733131145729; Mon, 02 Dec 2024 01:19:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733131145; cv=none; d=google.com; s=arc-20240605; b=aY6ddvms7IhAKPW0c8SAQdvElA844u6dvOx/RnjhbNJ3dzvK6+sgHdOS5wArz6EU8Z uMY3Xigkv7bT2t97cWmTrc2XlTg5tEQuDZiWjgCfk3E/q3EdxRw8ObqUagPYepSJEVs8 rryM8VHUZXkPbtCxi3qoflAboOYZaJsgha2XJGLm6ktJz34sV8O9rdnB1RL5Ll+RKpuh /M1RNgW7Co2WcYxv+02toeQBscRlcCQ8tWENJr6ddBExrX1x3z8auSaw9ZB1ErVyGYAE pSPPN6LHiGSBNDus53toeiWMXCGzvI76/Fh8YouPAfcuxq2LBkBKoOZAzMbP1OdhwivZ xtww== 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=Zi7I8hDWNEWr6Eb3cxy9C2nGPqT7d9T8bBd/1xVWwX4=; fh=IxbeHM4vWxalf1XNf2rnGcQL+r1v0Lr0C6ICsGNNkYw=; b=AbI7GnIDdDv+TPeK+HSnt8uek9pbefCR90Mv0oh1KF33dzG+LOW/XWKanueCHcIwwZ kg3nO051lx6qODTvt/Q3J2Rx7mkxzSD2wFX5Z4xoJCeZ52CeKYGenx72PhoUA44H0JQN aNIh6qgdhOAFG8vb3w+8nVb4scu57i5N4A8iWsghxHCvZ1p+K+2OhFB3qvrG93bcYT/b 9CYtohaZjhdrWTEu0dx0R4Cwn49hpyDpHDeRXXzEd3ohHJZ5R3+vKESfvNzWenM33vw5 TUZpFVjjnJk5Hy36F3hn4UL+6ATJBUr+utjRE2rra471qJRJuhuIGa5jhKm+IkDm5sRT eLrA==; 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-434aa7e5f2fsi1880625e9.1.2024.12.02.01.19.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Dec 2024 01:19:05 -0800 (PST) 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 4B29J35E008886 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 2 Dec 2024 10:19:04 +0100 Message-ID: <44af7bf245f7b0dcfae71d00bc118db5b82806e4.camel@ilbers.de> Subject: Re: [PATCH v5 0/7] Simplify writing initramfs hooks From: Uladzimir Bely To: Jan Kiszka , isar-users Date: Mon, 02 Dec 2024 12:19:03 +0300 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.1 (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_DNSWL_BLOCKED,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: XitJjTob9Ltf On Wed, 2024-11-20 at 18:02 +0100, 'Jan Kiszka' via isar-users wrote: > Changes in v5: > =C2=A0- permit completely self-provided boot scripts as well > =C2=A0=C2=A0 (now fully tested against an isar-cip-core port) >=20 > Changes in v4: > =C2=A0- add forgotten header to boot scripts > =C2=A0=C2=A0 (this part was apparently only build-tested so far...) >=20 > Changes in v3: > =C2=A0- fix DEBIAN_DEPENDS for initramfs-tee-supplicant-hook > =C2=A0- use .=3D for extending DEBIAN_DEPENDS >=20 > Changes in v2: > =C2=A0- add commit message to patch 1 >=20 > Specifically while looking at the initramfs recipes we have in > isar-cip-core, it felt like it's time to simplify their creation and > offload the developers from all the related boilerplate bits. But the > benefit can also be observed with the initramfs recipes in isar > itself. >=20 > Jan >=20 > Jan Kiszka (7): > =C2=A0 initramfs-hook: Add infrastructure to ease writing hooks > =C2=A0 doc: Describe initramfs customizations > =C2=A0 isar-initramfs: Add initramfs-fsck-hook-ext4 > =C2=A0 initramfs-isar-example-hook: Convert recipe over to new hook.inc > =C2=A0 initramfs-fsck-ext4-hook: Convert to hook.inc and improve > =C2=A0 initramfs-tee-ftpm-hook: Convert to hook.inc > =C2=A0 initramfs-tee-supplicant-hook: Convert to hook.inc >=20 > =C2=A0doc/user_manual.md=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=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 58 +++++++++++++ > =C2=A0.../images/isar-initramfs.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 3 += - > =C2=A0.../initramfs-example/files/example.hook=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 | 21 ----- > =C2=A0.../initramfs-example/files/example.script=C2=A0=C2=A0=C2=A0 | 23 -= ----- > =C2=A0.../initramfs-example/files/local-top=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 |=C2=A0 3 + > =C2=A0....bb =3D> initramfs-isar-example-hook_0.1.bb} | 21 ++--- > =C2=A0.../files/initramfs-fsck-hook-ext4.triggers=C2=A0=C2=A0 |=C2=A0 0 > =C2=A0.../initramfs-fsck-ext4-hook_0.3.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 14 ++++ > =C2=A0.../initramfs-hook/files/hook-header.tmpl=C2=A0=C2=A0=C2=A0=C2=A0 |= 39 +++++++++ > =C2=A0.../initramfs-hook/files/script-header.tmpl=C2=A0=C2=A0 | 26 ++++++ > =C2=A0.../recipes-initramfs/initramfs-hook/hook.inc | 81 > +++++++++++++++++++ > =C2=A0.../files/{tee-ftpm.script =3D> local-top}=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 | 18 +---- > =C2=A0.../files/tee-ftpm.hook=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=C2= =A0=C2=A0=C2=A0 | 28 ------- > =C2=A0.../initramfs-tee-ftpm-hook_0.1.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 27 ------- > =C2=A0.../initramfs-tee-ftpm-hook_0.2.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 15 ++++ > =C2=A0.../{tee-supplicant.script =3D> local-top}=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 | 18 +---- > =C2=A0.../files/tee-supplicant.hook=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 | 36 --------- > =C2=A0.../initramfs-tee-supplicant-hook_0.1.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 | 27 ------- > =C2=A0.../initramfs-tee-supplicant-hook_0.2.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 | 16 ++++ > =C2=A0.../files/initramfs.fsck.ext4.hook=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 39 --------- > =C2=A0.../initramfs-fsck-hook-ext4_0.2.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 18 ----- > =C2=A021 files changed, 263 insertions(+), 268 deletions(-) > =C2=A0delete mode 100644 meta-isar/recipes-initramfs/initramfs- > example/files/example.hook > =C2=A0delete mode 100644 meta-isar/recipes-initramfs/initramfs- > example/files/example.script > =C2=A0create mode 100644 meta-isar/recipes-initramfs/initramfs- > example/files/local-top > =C2=A0rename meta-isar/recipes-initramfs/initramfs-example/{initramfs- > example.bb =3D> initramfs-isar-example-hook_0.1.bb} (63%) > =C2=A0rename meta/{recipes-support =3D> recipes-initramfs}/initramfs-fsck= - > hook/files/initramfs-fsck-hook-ext4.triggers (100%) > =C2=A0create mode 100644 meta/recipes-initramfs/initramfs-fsck- > hook/initramfs-fsck-ext4-hook_0.3.bb > =C2=A0create mode 100644 meta/recipes-initramfs/initramfs-hook/files/hook= - > header.tmpl > =C2=A0create mode 100644 meta/recipes-initramfs/initramfs- > hook/files/script-header.tmpl > =C2=A0create mode 100644 meta/recipes-initramfs/initramfs-hook/hook.inc > =C2=A0rename meta/recipes-initramfs/initramfs-tee-ftpm-hook/files/{tee- > ftpm.script =3D> local-top} (75%) > =C2=A0delete mode 100644 meta/recipes-initramfs/initramfs-tee-ftpm- > hook/files/tee-ftpm.hook > =C2=A0delete mode 100644 meta/recipes-initramfs/initramfs-tee-ftpm- > hook/initramfs-tee-ftpm-hook_0.1.bb > =C2=A0create mode 100644 meta/recipes-initramfs/initramfs-tee-ftpm- > hook/initramfs-tee-ftpm-hook_0.2.bb > =C2=A0rename meta/recipes-initramfs/initramfs-tee-supplicant- > hook/files/{tee-supplicant.script =3D> local-top} (68%) > =C2=A0delete mode 100644 meta/recipes-initramfs/initramfs-tee-supplicant- > hook/files/tee-supplicant.hook > =C2=A0delete mode 100644 meta/recipes-initramfs/initramfs-tee-supplicant- > hook/initramfs-tee-supplicant-hook_0.1.bb > =C2=A0create mode 100644 meta/recipes-initramfs/initramfs-tee-supplicant- > hook/initramfs-tee-supplicant-hook_0.2.bb > =C2=A0delete mode 100644 meta/recipes-support/initramfs-fsck- > hook/files/initramfs.fsck.ext4.hook > =C2=A0delete mode 100644 meta/recipes-support/initramfs-fsck- > hook/initramfs-fsck-hook-ext4_0.2.bb >=20 > --=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 visit https://groups.google.com/d/msgid/isar-users/= 44af7bf245f7b0dcfae71d00bc118db5b82806e4.camel%40ilbers.de.