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, 24 Mar 2026 15:36:41 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f189.google.com (mail-lj1-f189.google.com [209.85.208.189]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 62OEaeSF006746 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 24 Mar 2026 15:36:40 +0100 Received: by mail-lj1-f189.google.com with SMTP id 38308e7fff4ca-38a469b8bcbsf5876881fa.1 for ; Tue, 24 Mar 2026 07:36:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1774362994; cv=pass; d=google.com; s=arc-20240605; b=PMY6oKegmfhxAyLDyhSjP1i0y9jarDXYenkJ3+NRmjvP+S/Vqi7Od6a8l4e1mA96ge gJJ1+sKGBc4cPvGW7ABQID2QF0tv5kn6ECX0GdIumrt+U+Y9w1aDSBaETqgjY9iIoCYE yXxudihqSYC4Inr2OtfUpGyB3LNBpACGvbjH4ywMcZNH0Tp5rE73h6MnXVkwmyncIFxK C0SA1N7+Essif5W4edjsgdTqiP8PFlg01r/DDBQnyp1j/3HFALgsDPIsWPjWZta/kGso XWXEE5a4Yufs/ztJCy2TOFcJCKWtcBOsL1fi9NfgjKGa7OT/2ZistaTG7lO6nA8lhBlf oosg== 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:content-transfer-encoding :in-reply-to:content-language:references:to:from:subject:user-agent :mime-version:date:message-id:sender:dkim-signature; bh=1HkdrpcM3ABxNDEttUTIdCUfYi46DYBJjzGpt2ax9EQ=; fh=rkiJq26k9j/EhXc8/US7ES/t9BXF8ItpMKaGnfm+CUQ=; b=duwF1oJbnMTelkrU4wMcxqR9yxaCjIgjxrWHfMsBwpizZMJkEWvzW/rYgnzYBrfEp6 S8Z2kEOQ/1fBAoHllxOzjBjzy7L2B5MFxvggSCnO0sRDQUy8OZBpMEH9BhJRgegMTrDX D5HlMhXoOBHXKRmmKS1w9Q219TEYjOFfWaxMNcIfIDbxr0qFYHsV25nhnfOvnejacOkT uYaFAzcflgNH41q0BtlPHqlDzFUQ/hcE93v723kglv5j4JdKCT9F7B5ss6Xi25s5HOKJ hnOrl2rN8xMZ+OnWvsHS3v3xlQGtEBNEukkzmzEgVqJ1xuzXkAGEgWy3hHC2qkcxfPgS bBBQ==; 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=20251104; t=1774362994; x=1774967794; 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:content-transfer-encoding:in-reply-to :content-language:references:to:from:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=1HkdrpcM3ABxNDEttUTIdCUfYi46DYBJjzGpt2ax9EQ=; b=BRzODa/w+S7Uev/wNRGt6qD6+pt5FxwZOJNx9IJGgy8/KZtu7xhMB2/rJwVOQrg13I 4L7USsjJTPgjqMtZ2iFIPkEQTfFP35YVCxGyymkZZ9IYksHm98UJ3Cx0QwZu2uDnHKs9 GN8Sw5LWDSJA76YABQI7cRUpOC6lgpEddH85jsW9lmDzC1NmsoLWVn7phhJU7WRgF33K VO/YWY9wKxcIpTX1Yt3l+47drpJOUMEIcbiimoZMwVb2W4PpgJOsjdo7xlThTFPk2TDU OyJCQrlPwMZNDFjqPZZddoz/i+aeLVjGpyhiMTlv8pQb8/uBLJSluznQm1FcsRphPIXh coGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774362994; x=1774967794; 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 :content-transfer-encoding:in-reply-to:content-language:references :to:from: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=1HkdrpcM3ABxNDEttUTIdCUfYi46DYBJjzGpt2ax9EQ=; b=MoOaADPl8f4gFF7r6ALpnPUlmA8mCZjMYCMYWy1VJkApVeKuB3DtuHaDRQi2i7Hi/G M/tx7A8vClQBsUsLOFu7U/udv4cXSL4uBv6ecy05rElaev7CiS84vkWL3CUTTok1KwNH XT0vaEncnmJ6fe83ZAPv/aO8hvQyPhoBO6TKv9MvC2KrpPOJly9DkZSzR5YqK3fy0iyI IPuQvrhwXkJ0mWo36WTfQojAyke65yBHaqz9h0usqsWJIfTjHgWvLpX5UKZcBckYjAy2 s8HmKHhcce4wBZjUGlyxsLGNd27du+8isUBVKiF57MsH/3Iq0Ndzv+qK5ySrdPuMV1LT 2ptw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWpmrFgaJO24el38juPSV/AzKJq3sJ6oI15w4Ch3TPKO4nfiBbTOUA/UXvhxJg0Zcq+btWV@ilbers.de X-Gm-Message-State: AOJu0YyT+vLxQP3KpmaCapIOxSWzjGbbJe7Qb+V70oYMK1q9P39+h7D0 C03Po8lSiqIIW8tWCJl2Hlj0ncI5FhtKVPWkGAoKTSRmrVMx87ZSmFpb X-Received: by 2002:a2e:8652:0:b0:38a:702b:3173 with SMTP id 38308e7fff4ca-38bf9711e15mr45462411fa.32.1774362994063; Tue, 24 Mar 2026 07:36:34 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AYAyTiKhDV1QLefZX6MgzT8zOhXGr9bbBa1UguFxFas+R0npBg==" Received: by 2002:a05:651c:b07:b0:38b:cda6:892d with SMTP id 38308e7fff4ca-38be695a5f4ls12639251fa.2.-pod-prod-07-eu; Tue, 24 Mar 2026 07:36:32 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVbozemGWaM2mLF6K8Tw7UPnCMJfcaJKquWFEPN8QDfkdJzM0QWc9kIYlXkUX4BmmsRAkRomimZqh13@googlegroups.com X-Received: by 2002:a2e:9dd5:0:b0:38b:f49c:8679 with SMTP id 38308e7fff4ca-38bf970c3e6mr39920681fa.31.1774362991817; Tue, 24 Mar 2026 07:36:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1774362991; cv=none; d=google.com; s=arc-20240605; b=DR9lINPVgPBz93vlMjzjrVh2xixangXkPzAfjHj2BgM2YQ+wbpDjR0ursaBQbvaGaZ MIIh4bXIzwu5Vbs3wxY46aWiL3KH6aU71Fr71JFVcluMmTyRj9lAbNN0qXBPqBjwPYi2 p6b0HexBblXpW7Dgbca7+ZI8l1iMEUnCjoaI81MMYPzlXCh3sPSCAv68DoufIUlRkfLt vIKvnz8AU0JfhhFCrKKmcBa7a68zuBUo9HdG3YhEZldngpkB4FyHjH3l/16Q1dtkN0dm UPtd7T9V2+jRbyjKxuOHpv5HYxaQMnBmd2moP2QJ7ia/XfRPs22X/XrMyVa4SE3G+nJU einw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id; bh=mOlEto5dDlwTv5RqmpbxUw0HjDiEPXlnGdQVp3mUHXY=; fh=O+ZMFUiiuyZKsfz7Fw8hsdknZlxcSFSsLsCydBEGD0o=; b=f7xODYQYJV0LJshNx3uY2dS0jmkKSmydt+Bpb01oWwUs+RjdDLzNHL4qudG6ffur4k WJFjugwp3SMqtvGHzWdMnvwKQ3EXI/RdzwraASrewgHdgzgwvnk2VabrhDh5/4phVcTh Jmg+dT3b2/TihXS5pOVFcaTOyyTjicM+GySQaOyQC+K45BQqgv4yf/+ts4swKcNUKSUq bwghnEtH0BYKa9FrqvUEnWFuWFjgPR0mXtMnBToFaQTPbEk9Er2tBacoePrFMne7OPvE NW4iOz/jiCRx9sFHrwBWWBseMP2vYj04cJMpZ9ncJtdnjfrtCFnBO3Tp2Aq4NG6zeJI8 MVRg==; 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-38bf982a572si2648261fa.3.2026.03.24.07.36.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Mar 2026 07:36:31 -0700 (PDT) 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.148] ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 62OEaUtj006737 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Mar 2026 15:36:30 +0100 Message-ID: <8173c451-26ba-45d1-872d-03313b0e2a7a@ilbers.de> Date: Tue, 24 Mar 2026 15:36:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 3/3] meta: Deploy image build artifacts into distro- and image-specific subdirs From: Zhihang Wei To: Jan Kiszka , isar-users@googlegroups.com References: <20260226162613.1954014-1-wzh@ilbers.de> <20260226162613.1954014-4-wzh@ilbers.de> <51f19e31-9642-401a-b464-824274221cd8@ilbers.de> <21f5c81e-c217-4ff7-a3b6-a14adf473f4f@siemens.com> <25470ac5-9790-48b9-bdc4-3de7050d31f0@ilbers.de> Content-Language: en-US In-Reply-To: <25470ac5-9790-48b9-bdc4-3de7050d31f0@ilbers.de> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable 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: CCrVDCeT1ObR On 3/3/26 14:35, Zhihang Wei wrote: > > > On 3/3/26 13:50, Jan Kiszka wrote: >> On 03.03.26 11:22, Zhihang Wei wrote: >>> >>> On 3/2/26 10:45, Jan Kiszka wrote: >>>> On 26.02.26 17:26, Zhihang Wei wrote: >>>>> From: Ilia Skochilov >>>>> >>>>> When building different distros or images for the same machine (e.g. >>>>> phyboard-mira-bullseye and phyboard-mira-bookworm, or isar-image-ci >>>>> and isar-image-base), artifacts with identical names (e.g. DTB files) >>>>> may be deployed to the same location, resulting file conflicts and >>>>> build failures. >>>>> >>>>> Deploy image build artifacts into a subdirectory named >>>>> ${DISTRO}-${IMAGE_PN} to avoid such collisions. >>>>> >>>>> Since the directory now encodes the distro and image name, remove the >>>>> ${DISTRO} and ${IMAGE_PN} prefixes from artifact filenames to >>>>> keep the names short and clear. >>>>> >>>>> Fixes test_dtb_deploy_distros testcase: >>>>> >>>>> ERROR: mc:phyboard-mira-bookworm:isar-image-base-1.0-r0 >>>>> do_copy_boot_files: The recipe isar-image-base is trying to install >>>>> files into a shared area when those files already exist. Those files >>>>> and their manifest location are: >>>>> NOTE: recipe isar-image-base-1.0-r0: task do_copy_boot_files: Failed >>>>> build/tmp/deploy/images/phyboard-mira/imx6q-phytec-mira-rdk-nand.dtb >>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (not matched to any task) >>>>> Please verify which recipe should provide the above files. >>>>> >>>>> Signed-off-by: Ilia Skochilov >>>>> Signed-off-by: Uladzimir Bely >>>>> Signed-off-by: Badrikesh Prusty >>>>> Signed-off-by: Anton Mikanovich >>>> Were really all those people involved in developing and signing off=20 >>>> this >>>> change? >>> I'll update the list for this specific version of the patch. >>> >>>>> Signed-off-by: Zhihang Wei >>>>> --- >>>>> =C2=A0=C2=A0 RECIPE-API-CHANGELOG.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 | 63=20 >>>>> +++++++++++++++++++ >>>>> =C2=A0=C2=A0 .../installer-add-rootfs.bbclass=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 9 +-- >>>>> =C2=A0=C2=A0 meta/classes-recipe/image.bbclass=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 11 ++-- >>>>> =C2=A0=C2=A0 .../imagetypes_container.bbclass=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 2 +- >>>>> =C2=A0=C2=A0 meta/conf/bitbake.conf=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 3 +- >>>>> =C2=A0=C2=A0 .../plugins/source/isoimage-isohybrid-isar.py |=C2=A0 2 = +- >>>>> =C2=A0=C2=A0 testsuite/cibase.py=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 2 +- >>>>> =C2=A0=C2=A0 testsuite/citest.py=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 7 ++- >>>>> =C2=A0=C2=A0 testsuite/start_vm.py=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 2 +- >>>>> =C2=A0=C2=A0 9 files changed, 84 insertions(+), 17 deletions(-) >>>>> >>>>> diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md >>>>> index 0bad8a44..bc7abb37 100644 >>>>> --- a/RECIPE-API-CHANGELOG.md >>>>> +++ b/RECIPE-API-CHANGELOG.md >>>>> @@ -962,3 +962,66 @@ INSTALLER_UNATTENDED_ABORT_ENABLE =3D "1" >>>>> =C2=A0=C2=A0 # Optional: set countdown timeout in seconds (default 5) >>>>> =C2=A0=C2=A0 INSTALLER_UNATTENDED_ABORT_TIMEOUT =3D "5" >>>>> =C2=A0=C2=A0 ``` >>>>> + >>>>> +### Change DEPLOY_DIR_IMAGE path and artifacts naming >>>>> + >>>>> +Change DEPLOY_DIR_IMAGE from ${DEPLOY_DIR}/images/${MACHINE} to >>>>> +${DEPLOY_DIR}/images/${MACHINE}/${DISTRO}-${IMAGE_PN}. >>>>> + >>>>> +When building different distros with the same machine the following >>>>> +error occurs: >>>>> + >>>>> +do_copy_boot_files: The recipe isar-image-base is trying to install >>>>> +files into a shared area when those files already exists. It happens >>>>> +when some files have the same names (e.g., dtb files) for different >>>>> +distros. >>>>> + >>>>> +To prevent such collisions, image artifacts are now deployed into a >>>>> +distro- and image-specific subdirectory. >>>>> + >>>>> +Additionally, artifact filenames have been shortened by removing the >>>>> +${DISTRO} and ${IMAGE_PN} prefix, since this information is now >>>>> +encoded in the directory path. >>>>> + >>>>> +Example 1: Build isar-image-base (phyboard-mira, debian-bookworm) >>>>> +Under "build/tmp/deploy/images/": >>>>> +Before: >>>>> +phyboard-mira/imx6q-phytec-mira-rdk-nand.dtb >>>>> +phyboard-mira/isar-image-base-debian-bookworm-phyboard-mira-initrd.i= mg=20 >>>>> >>>>> +phyboard-mira/isar-image-base-debian-bookworm-phyboard-mira-vmlinuz >>>>> +phyboard-mira/isar-image-base-debian-bookworm-phyboard-mira.dpkg_sta= tus=20 >>>>> >>>>> +phyboard-mira/isar-image-base-debian-bookworm-phyboard-mira.ubi >>>>> + >>>>> +After: >>>>> +phyboard-mira/debian-bookworm-isar-image-base/imx6q-phytec-mira-rdk- >>>>> nand.dtb >>>>> +phyboard-mira/debian-bookworm-isar-image-base/initrd.img >>>>> +phyboard-mira/debian-bookworm-isar-image-base/vmlinuz >>>>> +phyboard-mira/debian-bookworm-isar-image-base/phyboard-mira.dpkg_sta= tus=20 >>>>> >>>>> +phyboard-mira/debian-bookworm-isar-image-base/phyboard-mira.ubi >>>>> + >>>>> +Example 2: Build isar-image-ci (qemuamd64, debian-bookworm) >>>>> +Under "build/tmp/deploy/images/": >>>>> +Before: >>>>> +qemuamd64/isar-image-ci-debian-bookworm-qemuamd64-initrd.img >>>>> +qemuamd64/isar-image-ci-debian-bookworm-qemuamd64-vmlinuz >>>>> +qemuamd64/isar-image-ci-debian-bookworm-qemuamd64.dpkg_status >>>>> +qemuamd64/isar-image-ci-debian-bookworm-qemuamd64.manifest >>>>> +qemuamd64/isar-image-ci-debian-bookworm-qemuamd64.wic >>>>> +qemuamd64/isar-image-ci-debian-bookworm-qemuamd64.wic.bmap >>>>> +qemuamd64/isar-image-ci-debian-bookworm-qemuamd64.wic.manifest >>>>> + >>>>> +After: >>>>> +qemuamd64/debian-bookworm-isar-image-ci/initrd.img >>>>> +qemuamd64/debian-bookworm-isar-image-ci/vmlinuz >>>>> +qemuamd64/debian-bookworm-isar-image-ci/qemuamd64.dpkg_status >>>>> +qemuamd64/debian-bookworm-isar-image-ci/qemuamd64.manifest >>>>> +qemuamd64/debian-bookworm-isar-image-ci/qemuamd64.wic >>>>> +qemuamd64/debian-bookworm-isar-image-ci/qemuamd64.wic.bmap >>>>> +qemuamd64/debian-bookworm-isar-image-ci/qemuamd64.wic.manifest >>>>> + >>>>> +Artifacts that do not belong to a full image (e.g. isar-image-base, >>>>> +isar-image-ci) remain unchanged. For example, a customized initramfs >>>>> +built independently is not affected. >>>>> + >>>>> +This change affects the location and naming of build artifacts=20 >>>>> and must >>>>> +be taken into account by downstream users. >>>> The chosen pattern looks reasonable to me. I'm just wondering what OE >>>> does when generating multiple images per target, and why it did not=20 >>>> use >>>> something similar. Any ideas? >>>> >>>> Jan >>> I built mc:arm:core-image-minimal and mc:arm:core-image-base in a >>> single command and enforced DTB deployment. These are the artifacts >>> generated by OE under "build/tmp/deploy/images/qemuarm": >>> >>> core-image-base-qemuarm-20260302155417.qemuboot.conf >>> core-image-base-qemuarm-20260302155417.rootfs.ext4 >>> core-image-base-qemuarm-20260302155417.rootfs.manifest >>> core-image-base-qemuarm-20260302155417.rootfs.tar.bz2 >>> core-image-base-qemuarm-20260302155417.testdata.json >>> core-image-base-qemuarm.ext4 -> core-image-base- >>> qemuarm-20260302155417.rootfs.ext4 >>> core-image-base-qemuarm.manifest -> core-image-base- >>> qemuarm-20260302155417.rootfs.manifest >>> core-image-base-qemuarm.qemuboot.conf -> core-image-base- >>> qemuarm-20260302155417.qemuboot.conf >>> core-image-base-qemuarm.tar.bz2 -> core-image-base- >>> qemuarm-20260302155417.rootfs.tar.bz2 >>> core-image-base-qemuarm.testdata.json -> core-image-base- >>> qemuarm-20260302155417.testdata.json >>> core-image-minimal-qemuarm-20260302155417.qemuboot.conf >>> core-image-minimal-qemuarm-20260302155417.rootfs.ext4 >>> core-image-minimal-qemuarm-20260302155417.rootfs.manifest >>> core-image-minimal-qemuarm-20260302155417.rootfs.tar.bz2 >>> core-image-minimal-qemuarm-20260302155417.testdata.json >>> core-image-minimal-qemuarm.ext4 -> core-image-minimal- >>> qemuarm-20260302155417.rootfs.ext4 >>> core-image-minimal-qemuarm.manifest -> core-image-minimal- >>> qemuarm-20260302155417.rootfs.manifest >>> core-image-minimal-qemuarm.qemuboot.conf -> core-image-minimal- >>> qemuarm-20260302155417.qemuboot.conf >>> core-image-minimal-qemuarm.tar.bz2 -> core-image-minimal- >>> qemuarm-20260302155417.rootfs.tar.bz2 >>> core-image-minimal-qemuarm.testdata.json -> core-image-minimal- >>> qemuarm-20260302155417.testdata.json >>> modules--5.15.199+git0+78eca082b6_0ea8d4a7d2-r0-qemuarm-20260302155417.= tgz=20 >>> >>> modules-qemuarm.tgz -> modules--5.15.199+git0+78eca082b6_0ea8d4a7d2-r0- >>> qemuarm-20260302155417.tgz >>> versatile-pb--5.15.199+git0+78eca082b6_0ea8d4a7d2-r0- >>> qemuarm-20260302155417.dtb >>> versatile-pb.dtb -> versatile-pb--5.15.199+git0+78eca082b6_0ea8d4a7d2- >>> r0-qemuarm-20260302155417.dtb >>> versatile-pb-qemuarm.dtb -> versatile- >>> pb--5.15.199+git0+78eca082b6_0ea8d4a7d2-r0-qemuarm-20260302155417.dtb >>> zImage -> zImage--5.15.199+git0+78eca082b6_0ea8d4a7d2-r0- >>> qemuarm-20260302155417.bin >>> zImage--5.15.199+git0+78eca082b6_0ea8d4a7d2-r0-qemuarm-20260302155417.b= in=20 >>> >>> zImage-qemuarm.bin -> zImage--5.15.199+git0+78eca082b6_0ea8d4a7d2-r0- >>> qemuarm-20260302155417.bin >>> >>> For the same distro but different images, the kernel and DTB are >>> identical, and they were deployed only once. OE names the artifacts >>> with a timestamp and then creates symlinks pointing to them using >>> simpler names. >> So, we are going do deviate at least from the pattern >> .wic/ext4/etc. by using /.wic/ext4. >> >> Can you identify images that also deviate in kernel (configuration) and, >> thus, deployed images? Does OE solve the duplication of non-identical >> images then automatically? > According to [1], OE can deploy multiple non-identical images or > kernels in the same dir, as each artifact includes a timestamp in its > filename. The symlinks point to the most recent built. > > [1] https://docs.yoctoproject.org/overview-manual/concepts.html#images > > Zhihang > My earlier explanation regarding the "timestamp" was not accurate. The timestamp reflects when the BitBake build was started. In a multiconfig=20 build where two configs are built in the same command, the timestamp is identical and therefore cannot be used to distinguish between the two configs. OE separates multiconfig builds by using different TMPDIRs, for example by adding the following to each multiconfig .conf file: =C2=A0 TMPDIR .=3D "-${BB_CURRENT_MC}" This results in different build directories such as "tmp-qemuarm64" and "tmp-qemuarm64kerneldebug". Build artifacts with the same names but=20 different contents from two configs do not collide with each other. If we configure two multiconfig .conf files to use the same TMPDIR,=20 conflicts can occur and OE does not handle that. Artifacts with the same name=20 overwrite each other, and the build results become incorrect. In this way, the logic of the Isar build tmp directory differs from OE.=20 Do we need to document these differences in the commit message? Zhihang --=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/= 8173c451-26ba-45d1-872d-03313b0e2a7a%40ilbers.de.