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; Wed, 26 Nov 2025 10:47:43 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f58.google.com (mail-lf1-f58.google.com [209.85.167.58]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AQ9lgBJ010814 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 26 Nov 2025 10:47:42 +0100 Received: by mail-lf1-f58.google.com with SMTP id 2adb3069b0e04-5957d86f7f9sf7670407e87.2 for ; Wed, 26 Nov 2025 01:47:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1764150456; cv=pass; d=google.com; s=arc-20240605; b=jifFRy1G0VkozN4jMhehSrHVzPkjGuEHDoe07n5/mcKKb2V3YoB9pVU/Uh1STQFkwl AwvPnVTe+pv3KoJV5QNvm0vf4fecJXu7P5q9+/Ebv2Y58D7dcYluPuizp12zv6joqlC8 VUj4j1PkzGpwyzLxWJboN+oH3UtXfUPFCJku3Sw264QGCefj/xR31aGH+L2ttRsKu9Jc kU5obt6qcDWXoxt6d5AMzRf9S8tGzrtG5jUrH/FORVvIKBGk4e+pdQpuqnStD8PRBER3 cuORTW+/MSi77YA+v3O7r6xObAHtre75tA1YfLx91h2Fj4awD4mygCNiTYsJ5NbWTHPO mNNw== 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:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=LlT419mnY2Z/hinajhDww+XJ+fTp3dVh1F418YdKDzo=; fh=ss6zW0TR+GED9HhzCKSHQRZ22HsbVP5qhC7EsG4v4Ro=; b=fEpN8D1D34jkKl79vvjfW/ReKORmS2RGEbrimAmBX9MCRAJ0BmVAbbZHP4aJvk3ULX JLFlAcYX9NXVDoOV0H4mMwzvU28kXKooqfKyAaYn4n7ahqOz4d5awAlGiQfdig5ES7dZ NQlyifRBeeyUOkdmHXSbu9T3geB2Mg/CZth5qp4bFHscfWuICDIgK6m9UaS2zcElz7cF cNK3+ofyMA1h/kmdDqMtAv4DE/kgvrUzePqUJVogUW5b4+w7nmGpS35IpMzZDGgB3LZs q2SNHdJXJ6x0vB5Ncr18DHZDPhB6r+yCqGBe2g0Y5qmcLb7o48wpA85x5L3HaWKwzBU+ cSvg==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1764150456; x=1764755256; 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:in-reply-to:from:content-language:references:to :subject:user-agent:mime-version:date:message-id:sender:from:to:cc :subject:date:message-id:reply-to; bh=LlT419mnY2Z/hinajhDww+XJ+fTp3dVh1F418YdKDzo=; b=ZbfH1LfNIseinOQU+R+ejAuLe8WPoo1r6CCQ5vQF2mfICd8VRPJ9Py9z15sTzwlBcr tvqd4n/5AmTc3Wy9DkuKsleLoVPM4QREtBh0r/CIYmv+2b7CZjGlc5gDKoQ7O7nUg2AI 1LVsgrENqNvBvV27EqwCcH4m1bvLZv2+F/FzU6OJgGcxEQFUusOVbJKXWT9u4vYrU8yH PdHhRK6EuhepDxxjnpCVuFSUYP41/6jzK84CiD8HSK1d9NLHRCmiu0e/tFePRfKSmv0g F2dvQolq3mtlo0gJeet7GsscneeEBQmySeBeezL4Mad7fgsoqQGwckI9pS+otb8QCRA7 tEsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764150456; x=1764755256; 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:in-reply-to :from:content-language:references:to:subject:user-agent:mime-version :date:message-id:x-beenthere:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=LlT419mnY2Z/hinajhDww+XJ+fTp3dVh1F418YdKDzo=; b=OVnwuNb+OsKRKc7RBqb3DZSmYyrnJHlRxusp5X0RnY6NklzvVEqS9lIOHoGAWv1dYj nse0xXMxt9FdfYydMl8YUtygazlBW+j5VdRY4brrYOUnZy9QwoRa1pHXtDGZuWxA8VLc cHks2KZUiUDNxKFSzpBe4S16qmzEr64X3eN4NvwAx5wp/y7E+b/DpdcZxUtYcuJrKo7V +xmINRJxzRv+o0Bj9ulDH9ZK3GIIplpd9KAOUiDHkjq9s+yOs57tq9TR07C+qTTv+quH O7k4CZ70FdvSzRXCkB3SKSXcl/aR4g+xLbWGlyHUz5MKBmB6R+EHSVDSAUcwbjgY6fh2 DlFw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCXCc/dxKvWKYFranvBW6LNABrHEkXjHhcU4gxr00mFuunri1H89d+drXbNe5aqZNHadOuth@ilbers.de X-Gm-Message-State: AOJu0Yx6n9ftKqmhMLU46Yfz052cNr7BSHJZo/tYBNiLQ/XM+sU2We3c rMi6eY1P4P+OiBp3Oae0yC5fmfWhf/2xhy6+NQK9x+WjxbPpSwYYlIls X-Google-Smtp-Source: AGHT+IFoPFUmWcnWJQs6T6hdmB/mCGHCr5Wkaiy9al2n/zGjBxpTfKn7GAxVt2pUik40p6tmTXJccg== X-Received: by 2002:a05:6512:ad4:b0:577:318a:a1c6 with SMTP id 2adb3069b0e04-596a3edaaa0mr6462530e87.23.1764150456386; Wed, 26 Nov 2025 01:47:36 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+ZI8gl5/YjnmJ5lmX6WhlhFFP7Q2JCqBQbbB5FrOkz3Lw==" Received: by 2002:ac2:4bc6:0:b0:596:b659:d7 with SMTP id 2adb3069b0e04-596b6590152ls415232e87.1.-pod-prod-06-eu; Wed, 26 Nov 2025 01:47:33 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXf42vjhJ7P44oUzM6hiTRZWZZZo5k0sehw2GO929x+V2YHjWFR7JtC0efaZnMYBRrEYp+QNvlm+xh8@googlegroups.com X-Received: by 2002:a2e:3c04:0:b0:372:8d61:c26f with SMTP id 38308e7fff4ca-37cd9194b4amr42033091fa.11.1764150453574; Wed, 26 Nov 2025 01:47:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1764150453; cv=none; d=google.com; s=arc-20240605; b=Touj5Rl0MO5ttJw2NL2K+3QwpBnQ5XCWbBvVA8mGDMW/Uc3gcrBRoR/YBGTOi2bVui OwJSxj2YGBH1KHon4TBY8KXdwWrCpvSuT1IM+AGsWzqymd/7bx8ZzZ2xb0jERYxX1Z00 1wGX4axJF5HaZpTLypFHQBhgtUNh5BMbxjMRPBTS0hYS1bTvv8dS3o7cPk8p00+rv79i SQWyholFaaUlKGhmXXC4QSjg8DJ7Woq1s8muxFUD2PFp86oW0QTpItfLEMR5isE5vdqy EDwyGl7wAW5ZMelOehrv+EOMaChls1+3xv7WpkjBKORYQAnC6Y5teCoyO9CZU1N4w/WL hwJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=b6fqH+WZLLTmBBlL5DOfm2LzWfxBhFpO84bvmwJWqrU=; fh=7U9bt5EkCry67sG+Cc4EVPhGY4cTcCSQUazzVQY1X7A=; b=WmiGcVsrFrOy6zOasMfHvEIkOeZ3i7XlNBDhdAB1j1IvxVqnbGuwaPIQl/1IXRXjNw 56yuaSp0iE6CUHGGDtgyABwXhjNRUDvjQk28HhbJuq9h3yLa1+g8Flz/ktER6QhI2AOA w/ZdPlAwOmDQHA6NB601TaVve+rPcDj31gq3ld7FNnd0oiPgaMee821kt5vw9D6bU6m8 qTawenUiGV33N/7F+Km57DgQW0aZtxgogU35EOfj0cREolti2K5hcdXcy++rNCd4LaTG 67UBs9s++XB7v0X0FcTSJk1byxuN6NNPlc3pcvQ/wfvY1b/VWYRN1qgHBs6lWiRXFfBB c2ng==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 38308e7fff4ca-37cc6b4244fsi2250831fa.4.2025.11.26.01.47.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Nov 2025 01:47:33 -0800 (PST) Received-SPF: pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [192.168.178.117] ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 5AQ9lWcA010808 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Nov 2025 10:47:32 +0100 Message-ID: <4daab9f7-d3a6-469c-9891-a1dd7372f223@ilbers.de> Date: Wed, 26 Nov 2025 10:47:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] bootimg-efi-isar: Add payload source_params To: Quirin Gylstorff , isar-users@googlegroups.com References: <20251120101510.2530415-1-Quirin.Gylstorff@siemens.com> Content-Language: en-US From: Zhihang Wei In-Reply-To: <20251120101510.2530415-1-Quirin.Gylstorff@siemens.com> Content-Type: text/plain; charset="UTF-8"; format=flowed 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: wzh@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@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: XcCBQ4jNXqeJ Both were applied to next, thanks. On 11/20/25 11:12, 'Quirin Gylstorff' via isar-users wrote: > From: Quirin Gylstorff > > This allows to add additional payload to the boot-img partition. > e.g. Additional efi scripts for updating the BIOS. > > Signed-off-by: Quirin Gylstorff > --- > .../lib/wic/plugins/source/bootimg-efi-isar.py | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py b/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py > index 446398d0..661dcbb4 100644 > --- a/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py > +++ b/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py > @@ -298,6 +298,19 @@ class BootimgEFIPlugin(SourcePlugin): > else: > cls.install_task.append((src, dst)) > > + @staticmethod > + def _install_payload(source_params, iso_dir): > + """ > + Copies contents of payload directory (as specified in 'payload_dir' param) into iso_dir > + """ > + > + if source_params.get('payload_dir'): > + payload_dir = source_params['payload_dir'] > + > + logger.debug("Payload directory: %s", payload_dir) > + shutil.copytree(payload_dir, iso_dir, symlinks=True, dirs_exist_ok=True) > + > + > @classmethod > def do_prepare_partition(cls, part, source_params, creator, cr_workdir, > oe_builddir, bootimg_dir, kernel_dir, > @@ -394,6 +407,7 @@ class BootimgEFIPlugin(SourcePlugin): > install_cmd = isar_populate_boot_cmd(rootfs_dir['ROOTFS_DIR'], hdddir) > exec_cmd(install_cmd) > > + cls._install_payload(source_params, hdddir) > > if get_bitbake_var("IMAGE_EFI_BOOT_FILES"): > for src_path, dst_path in cls.install_task: -- 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 email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/4daab9f7-d3a6-469c-9891-a1dd7372f223%40ilbers.de.