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; Tue, 30 Jun 2026 14:21:56 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f57.google.com (mail-wm1-f57.google.com [209.85.128.57]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 65UCLtud030971 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 30 Jun 2026 14:21:55 +0200 Received: by mail-wm1-f57.google.com with SMTP id 5b1f17b1804b1-490a767c7dcsf35862365e9.2 for ; Tue, 30 Jun 2026 05:21:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1782822110; cv=pass; d=google.com; s=arc-20260327; b=frsNLuoBJJcJpLCGvrlw76ZLjYtMd6wC7R/Ai09CsTiV3Fqfy1ZjybeoLxK/AT8rlV p57XcZWYSRGxmn5Eml3rYHQnOS+gPPKyJSr+UOmpiv5k7VHFn5nioTXsX0PVVx8oCQww np838weRv9YewUbIqcyut5y/Rm1eASzuPOjFmm3ZOhQN81EgIeOxSaonkmv/FzfKwpF9 gsNWoMOLCmFPYYg0igbblvNB9Zjw3Die0W9xSKwwudYqvdpZW7GUrGDiVOeqhaVI+EkM k1twFEbdJeJ8SMe1ZLCTsFyenx2zCkhFPTkIOX9p+o4LBG8gPDD1mDXcGDOJIOr6hxaY yMaA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; 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=/0D2PV4sTlrmc6eJUHXq4SYPaw1fyTiNo6rTNyjX6mI=; fh=+5DLNk0whHy74WUCgjZid3ZuJqX7gq8FUVRq6w6lpG8=; b=HxCMlh3rRq9uuwG5Yrpv15An1cIXDWEQPaWsGvedPGX7/ngG0rFJ0njtR0+dLDcEPr E7leZOcHVI+ITJ/ZU0iNs72X1S5Qa9NXos5+2h22Nq6AXk5Fvi+EGrxURWgSgrW27+6t /0bnSUcKWJLrTM40pzHUc+fUK/XRnarGa0R8NTSXqE1UEORTuxrEnmlrY0KJmnetEK+t cCEeReUevmlEDPcZyEiu3P9jsgNb+sl48o+mYwkY4A9gNbBSOPFqnNaW0YFu4hzbcrZN YkKW3I1EpxaxjNY5E6ZC+gzXYNjBTmz7I5Sa3F5XO52SvaX1AI2H7hy/wbreGWhTYuy9 dNYQ==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1782822110; x=1783426910; 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=/0D2PV4sTlrmc6eJUHXq4SYPaw1fyTiNo6rTNyjX6mI=; b=uaU7Imq9z7rMoRJim8uAcUlxoOZJQghIP6m4nrmN6AHOzhmElrB5fjRXiYlE45KCCV HgzZOWc1fzD4n+gg2Hif6SqWDRHKCoYiHKyL0982v6fxXVPni3oTOUTcHaL1/io0mJK9 g2SjVw24J7OH+aglkyvNPnxLFsPE9cTdj4uloTlD6EOuy9XS+C/BAXbDTaUUx2jqeGHC 6VN+UivKFMrG2XjkaFPzuAX5M2frhxqQfpSeTgMXnxXDcl3GaixqeuVoeHPckgUtOGG8 5tyDUB6m6WWtF7vcgDWFysAlMPr+3zZtavQ/My1p5t1U6yiaAxif+jUeNJ6WCbrpG3sM 9p3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782822110; x=1783426910; 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=/0D2PV4sTlrmc6eJUHXq4SYPaw1fyTiNo6rTNyjX6mI=; b=sAQXUijtwtxXmC52VdBKCRSgyS/JIC3qGKDFxPFFXy6chCh0nzYtwttYd4VCbx7eYd 0GYN3EASIJyyypfH6rcMdAtIBsmLy5JVHAngXRy1Chy+R6gfxnrSU8EJMzGoiaaWGhJz lYUSn11Qrx0Lw0/UduhR0yvQPCDfn1upX7cv/gvKpvHbnYTLaYDEluS9LTHinFtydXoh +rAMHBFjz13cqHhX+CabYgpSqLp2jtIgBLd0gPsNAorhuVStMmUPEEUKLHp5BPLWIfCV mBwEHOELTQwGRx0Ymwa6P3BPgJr7PBAGvW6zo4z7mOOQ+OWGzGDFUTO/W6L8ZiWDIChh XTMg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AFNElJ/gkSAfvcNaQzekXNHtri4Kbj9QfP0NrXG57O9WSBctZFhYe12KPWPwgfd1oJZIMsC8WUMz@ilbers.de X-Gm-Message-State: AOJu0Yyz7hBjJB00N43Rc+nCW3beVE/6e8Zpi/OS4mf7Dne/Br8bMI/S 7oy/luQveotpjDLOg/uq0deLOo3zF3iuEBATjHXeEMYb5yzuZh4roHPi X-Received: by 2002:a05:600c:6207:b0:493:bc80:69f with SMTP id 5b1f17b1804b1-493bda5fd91mr5390755e9.19.1782822110162; Tue, 30 Jun 2026 05:21:50 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AX0PUUdXAtBeWbOyV1OTOay6Lrb4WlVBuDYwDSd2k3xY+RTgMA==" Received: by 2002:a05:600c:1c06:b0:490:4693:b6ce with SMTP id 5b1f17b1804b1-493a5f053b9ls24641335e9.0.-pod-prod-06-eu; Tue, 30 Jun 2026 05:21:48 -0700 (PDT) X-Forwarded-Encrypted: i=2; AFNElJ9Tp+tGL9Y1ipQN+rbtj+xxqPo7SgTwulnGe6B+zvw2XmNysW7tRYxqHNw9OAFqf64VTvG0tOfqmjdh@googlegroups.com X-Received: by 2002:a05:600c:46d1:b0:492:1e36:85dc with SMTP id 5b1f17b1804b1-493bda7f581mr5701095e9.36.1782822107838; Tue, 30 Jun 2026 05:21:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1782822107; cv=none; d=google.com; s=arc-20260327; b=d2y1fn6hp1duKSTKdb5u/RE+6TDA3GyVvprlk0b5GMSmEqHpsai9KMOf763LPB144l rvxpsPJgfybesPqDEat4mn0ILK/Si1STTjEsyqcWAz9konGFYBw6//ImiYlArvijaFlt 7ZI8+oDdnK1tqvaLsO9EOKEhFAi+Y2hLeI2QfewqJER3w08t5tdN3NIoSbW/iTEs+Bet ieCCQnuLeIXPYH+16GWoNHt8oAtSal80MobRFd4r+cGdRo/OBYuT+OQp901QvmAtpKPt WFaG4EUqMQaRDakVqkz6lUDGcEdRtP1m4L3u1KyCVf195YxUiLvJSmW23KEqtpO0t+cx BdBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=hSXhMAwogH/+u3SynNxcoy5NJdlDc1oafAE/BXbISCc=; fh=YRZcHTRCBIiP4m6pziEntt0zRq8od1hkKhWq94+WXa4=; b=VboOPjyP5q8CCzmAshjnDM5EjKat/BGhB4AW99cIin3nlo82vRrpWPvGSBSSfmpJXh d4xAgXKVmL5N8QFiL3TQdiS9oxI3OXtpJ6wFBN9GMEjyl7SdxGn9U0bCMe0qnoXMWk2j 11+AMYPTOkKNf3waC09LXut1CCq6BedXe28hnxkuVyCRMABGNP3+QrXxvXte0J39+am2 dDqTVbgvB6B4RUmM5bUrJXr4OAGMTiPnYhqdrUpVq73Ffav5hVRjzW77m7qTYECktqjL CszdbVWRYEhbmw1uHbTCpISCh5D/bukqkADAxA4vifHZuowbaxbqRXWpgBTzXm6nzsZ+ Ld8g==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-493bb1c8b33si302185e9.1.2026.06.30.05.21.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Jun 2026 05:21:47 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [127.0.0.1] ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 65UCLkB5030960 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jun 2026 14:21:46 +0200 Message-ID: <54edfa40-d4ab-4587-8e76-c6ba3fa906a9@ilbers.de> Date: Tue, 30 Jun 2026 15:21:45 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v11 0/3] Move kernel artifacts deployment from image recipe To: "MOESSBAUER, Felix" , Zhihang Wei , "isar-users@googlegroups.com" , "Kiszka, Jan" References: <20260609084422.3948645-1-amikan@ilbers.de> <51b0dfa9-9de6-4b03-86fe-c0acad5780a1@ilbers.de> <59dc65a158628c529c37f5f1c93337a7b33610e4.camel@siemens.com> Content-Language: en-US From: Anton Mikanovich In-Reply-To: <59dc65a158628c529c37f5f1c93337a7b33610e4.camel@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: amikan@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@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: tT19uuePhzDX On 29/06/2026 17:54, MOESSBAUER, Felix wrote: > On Mon, 2026-06-29 at 17:21 +0200, Zhihang Wei wrote: >> On 6/9/26 10:44, Anton Mikanovich wrote: >>> Image task "do_copy_boot_files" is used to deploy kernel, initrd and >>> devicetree binaries to deploy directory. > Technically, only the kernel and device tree is deployed. The initrd is > deployed from the rootfs_generate_initramfs task (which currently > breaks reproducibility under sstate cache due to a bug I will fix once > rootless is merged). This was left from previous patchset version before initramfs changes, will fix. > > I'll review the other patches as well now. > > Felix > >>> When different images for the same target are built (e.g., "-base" and >>> "-debug") in parallel, this causes issues with DTB deployment since >>> they have no any image_name-specific stuff in the path, unlike kernel >>> and initrd. >>> >>> Here we move DTB deployment to the kernel recipe (for both distro and >>> custom kernel recipes), where DTBs and kernel image are extracted from >>> the kernel package. >>> For the distro kernels it means we install its deb into the schroot to >>> obtain the real artifacts from the filesystem. >>> >>> To keep the same artifacts path as before "do_copy_boot_files" task is >>> now searching for the artifacts and create per-image symlinks. >>> In case any naming conflicts (like dtbs with the same name from >>> different kernels) the latest built dtb will be pointing by the >>> symlink, while both will be deployed to different subdirs without >>> conflicting and stay untouched. >>> This symlink creation is done in the same way as artifacts conficts are >>> handled by Yocto. >>> >>> The case when different distros (e.g., bullseye/bookworm) are using the >>> same name for DTB binaries is covered by the patch 2. It also covers >>> the case when image uses different kernel suffix (e.g., "realtime" >>> option for the kernel in some downstreams). >>> >>> Related topics on maillist: >>> >>> https://groups.google.com/g/isar-users/c/ht3YmKZcJlM >>> https://groups.google.com/g/isar-users/c/4BRDM02xC40 >>> https://groups.google.com/g/isar-users/c/qAnjahjjfsw >>> https://groups.google.com/g/isar-users/c/ZMD4XY4dKWQ >>> https://groups.google.com/g/isar-users/c/PSGU_AcdPZ8 >>> https://groups.google.com/g/isar-users/c/Va0Ue-ISYeA >>> https://groups.google.com/g/isar-users/c/ixzytHYnTmI >>> >>> Changes since v10: >>> - Rebase on next. >>> - Use the same deploy dir with per-kernel subdirs. >>> - Allow using different kernels for one machine. >>> - Restore paths for downstreams in Yocto way (symlinks). >>> >>> Changes since v9: >>> - Base on v6. >>> - Rebase on next. >>> - Move also kernel deployment from image recipe. >>> >>> Changes since v8: >>> - Rebase on next. >>> - Document how this approach differs from OpenEmbedded. >>> >>> Changes since v7: >>> - Fix SOB. >>> >>> Changes since v6: >>> - Fix isoimage-isohybrid-isar WIC plugin. >>> - Split testcases. >>> - Update wording. >>> >>> Changes since v4: >>> - Rebase on next. >>> - Squash latest patch to first one. >>> - Fix deploy paths in initrd tests. >>> >>> Changes since v3: >>> - Rebase on next. >>> - Fix target deploy dir path for installer. >>> >>> Changes since v2: >>> - Patch 1: Consider also kernel suffix. >>> - Patch 2: Use separate testcase for possible dtb clashes. >>> - Minor cosmetic fixes. >>> >>> Changes since v1: >>> - Separate `dtb-files` recipe used instead of linux one >>> - Included older "[PATCH] Fix do_copy_boot_files error" into the >>> series ( https://groups.google.com/g/isar-users/c/Va0Ue-ISYeA ) >>> >>> Anton Mikanovich (3): >>> meta: Fix do_copy_boot_files error for different distros of same >>> machine >>> meta: Move kernel artifacts deployment from image recipe >>> CI: Check kernel artifacts deployment >>> >>> RECIPE-API-CHANGELOG.md | 28 +++++++++++ >>> .../installer-add-rootfs.bbclass | 2 +- >>> meta/classes-recipe/image.bbclass | 39 ++++++++-------- >>> meta/classes-recipe/linux-deploy.bbclass | 46 +++++++++++++++++++ >>> meta/classes-recipe/linux-kernel.bbclass | 3 ++ >>> meta/conf/bitbake.conf | 2 +- >>> meta/recipes-kernel/linux/files/getkernel.sh | 40 ++++++++++++++++ >>> meta/recipes-kernel/linux/files/rules.tmpl | 12 +++++ >>> meta/recipes-kernel/linux/linux-distro.bb | 27 +++++++++++ >>> testsuite/citest.py | 30 ++++++++---- >>> 10 files changed, 199 insertions(+), 30 deletions(-) >>> create mode 100644 meta/classes-recipe/linux-deploy.bbclass >>> create mode 100755 meta/recipes-kernel/linux/files/getkernel.sh >>> create mode 100644 meta/recipes-kernel/linux/files/rules.tmpl >>> >> Hi all, >> >> Any feedback or downstream testing results for this version? Thanks. >> >> Zhihang >> >> -- >> 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/51b0dfa9-9de6-4b03-86fe-c0acad5780a1%40ilbers.de. -- 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/54edfa40-d4ab-4587-8e76-c6ba3fa906a9%40ilbers.de.