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; Thu, 09 Apr 2026 17:35:10 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wr1-f55.google.com (mail-wr1-f55.google.com [209.85.221.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 639FZAju027462 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 9 Apr 2026 17:35:10 +0200 Received: by mail-wr1-f55.google.com with SMTP id ffacd0b85a97d-43d1ceb2ddfsf1134354f8f.2 for ; Thu, 09 Apr 2026 08:35:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1775748905; cv=pass; d=google.com; s=arc-20240605; b=SMnfKmY7jcnWZXuF6Gyp1vWrj6f3Ex9+vA4tzR7/jnmSOTRpRZvzCPb9mAHnNBlFNw Y6P+yZU3XNnOLhjtI8qzLaFknY2vozirQiKhNTFt8xjlDsPYaYe2198wql0S4Kr020Xt ZyJXvELbTRQtSg70nkDQ308T5EDGiB0D0h4lQVlHwmwn3Jv7qjGPmYtvkqg7day3HSPP xtmns4H1swy/d2fooRxBIGEh6Mofljt48tdZeARVUvzPUTsDZHOJI6S38tbHozlK9v9p v8q+6X+gVlahjNOawpoZrg7cD+KyIECSwkQISgzxyI1Tdk7KBzoIqYEEODtp7QU8EVPS cDTw== 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:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:sender:dkim-signature; bh=XdXsbWko0xC+Xxc9bjkwWUn/NxALXIdbVBaJE4Adv3U=; fh=dm2MOATFwFwjzyiiy0dx01HBBDltbhzqIZIgVfzx0Ag=; b=BYjtNJC84auWo5AsbFzxt9EgSBGdZr1TQdQuRuKEGnrTyoE1nBuqEikPv+qBXcovo/ yEnpXLjPAlaPrCIg3tpQ/AVEEuXKP14MmmmVaWEX8nysJeZ97or6mYfe2FELsZqeRmtE cQN9Y0SYMlPPl2fo2ZlIB1T1L+7kzi57pMM0yESUAuLOH0rUYGP82yaXC5LE8v/T+6mc 0+X5+UYSvb5V8I3MzZx/QqK81YiurEyed25tKW8ngk73aLdd2C25+3DSpwmYirVdcmOK L/0BqIHGEU3lM/3MG+emIaFK3q/n1bzshrv2m37+l9R+qbabhRkTXrO1g4+zP6bGTBnj wQ5w==; 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=1775748905; x=1776353705; 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:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=XdXsbWko0xC+Xxc9bjkwWUn/NxALXIdbVBaJE4Adv3U=; b=t9wuVcLZHjnl0OmBfJzwBd3cyYCRHkKiAWHmWA+owrbSsoBx2/RMiyMCgWMBMG2GkA 3qKuTami4Rmk+2muREP8uf0QJtpSLcMtvvO4iO+fD55QLZJEDfGlfPDnfn4H2feEDPqU fTUtC0+zVnDWV09FG6YpUKy+/nHXy5VAF+KHtZlrbyzZJ0ITAnnM8QKoVt1iB9dRXPN4 y8HrOtZndHb6vKe9JvlwtPlwKcte4Os0V7X1v7F9/XSxGkGt9ceGdP+QNQnR9ISHPUGr Su/Xc5ZDR+jWK3nlCfD9Mg3MlDC6XfhwkqnOBnyl/vm5FuuXeUTMvrc9gadtX5G9G7OT Xirg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775748905; x=1776353705; 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: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=XdXsbWko0xC+Xxc9bjkwWUn/NxALXIdbVBaJE4Adv3U=; b=rtD3+Q//K9HnmEuaPfSm+g74rY0gaaCE8MDou+pS1xXvpcb+9VWcKhRlm5MqEg4TDa zGbl5IEs83ecQUxP0gh0Q358SZD3mwR92i6VV5jf/5QFL0Us4UWSoEERtG5uOXIeVU0m 03oKYMaTabmwwyOY3ArWXHQjEkAZu2bCNkL5F7/DSdxGPdWLLXZSK7wDafZgkzPTkS1p NImle5GOWO/18HggrE8iCwFSQkMXWM/gNpj5cD0ZFwWktbKOqZVMplZVoc/mNEOGRTxI Q2lUcP0LHTtinT3EaXNKJAK/2gjz3tEdlvVh00AdvELTNEDPi2cAr3XG51umBJcEBs4w naDA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUFsP1kFgqi7VXknGh9uujfNUweE4I5XaGf6YcMdpooqryxDvurjzygif3nWPu+hhW/q1sx@ilbers.de X-Gm-Message-State: AOJu0YxrWlcmlnylfvFdc5sULM0eaDSNeX7H31qlvKs1Sud64xYtgPsk /zJePvNCJ93+l08/MwQMRBri4WlIRQuYmeepSRDnRnUHmocge6KPCypu X-Received: by 2002:a05:6000:2302:b0:43d:3052:5971 with SMTP id ffacd0b85a97d-43d5a12711dmr5930925f8f.1.1775748904385; Thu, 09 Apr 2026 08:35:04 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AYAyTiLkkl0MgapYRno68rdQ74/mzs4SjIzN6uF65D4F4muUbA==" Received: by 2002:a5d:5d86:0:b0:43b:9efc:6a67 with SMTP id ffacd0b85a97d-43d62d7a91dls14151f8f.1.-pod-prod-06-eu; Thu, 09 Apr 2026 08:35:01 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVRiSYHDGHDOuP8gnOAU/adkqGgS1Y2kmkIEuP2NpeZV5PYJ29yAKuc27HNhlWX9BVucWkRHdB3QrHe@googlegroups.com X-Received: by 2002:a05:600c:1e0f:b0:488:c120:480a with SMTP id 5b1f17b1804b1-488cd01b803mr64165925e9.31.1775748901607; Thu, 09 Apr 2026 08:35:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775748901; cv=none; d=google.com; s=arc-20240605; b=Pl8texVtlGstSc27lm+5AXdUN2Lcv0as8b5hgJRtqgfxC6c8ttSAgOLi59p6rkknFJ UyeSDkL+DfMdAa7FttgoR61cP+N2ek1zFYGqKuwnYITwzDAtnR+9pRmdfXjXng6TD9Xm 9FzV/yIE/r1LXMJx9ugjopk2eScoBs0I3p7SEK73baWLz0IDnDvDjKydADI9E8n1X3jO SMlf775IuGcngj9IJMdavjlKpvooAsX47kBCk3GdmTyAuCRtvPWW1iTHFa0zSpc0+9Ys j4+VM3F8ikzo2yQ+qXPi3dHQhXRLtvfSLDD2LhqyxmlZLVKN0Vz/9n3FqrFBx/oJI1E7 6p7A== 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=doYs8lFTzQhD92gFJNIJK6M4Pxf3442i+WrFalX/8vg=; fh=dqzgsWY6hPp58EBFlDuk1JMjPxt204iNPpFHIpuB/Vs=; b=iLKVU7ZyPPzufWLY0ZNshqf8TbZxnVw//idYYzzuOMhQLhT4b/0Wch4vac//DdY+YS AVUZlDo+Hfbkv6sBmsY6SApCC/VjPZZ1hTrpMc8DhN5l99c6PEomOX6boxUG3vJOyVa4 P5RZfz6uaqOUHgh0Hob2MuMshdBALDlptBIuln6YeqnSZT/Hgz50KQnQie1ZDRgnDP6L 1hgVBg/RmQFoIKEg15awiQYVVyBvnklvUYY6Xaz8b2Ea5fnmjx+Jb7+Ajh+SJ/y57vDZ 7DAWhJ4en31t/bopMb1Lyv6kw5izh6xweRQtC+oG8U3K9JF1Rho4lZZDCyUNNti7tykP bnTw==; 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 5b1f17b1804b1-488d5260145si51195e9.0.2026.04.09.08.35.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Apr 2026 08:35:01 -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 639FZ0Jg027448 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 9 Apr 2026 17:35:00 +0200 Message-ID: <6a128eca-1346-4774-a1c0-139cae457956@ilbers.de> Date: Thu, 9 Apr 2026 17:35:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 0/3] Deploy DTBs and other image artifacts into subdirs to avoid conflicts To: Jan Kiszka , Quirin Gylstorff , isar-users@googlegroups.com, Felix Moessbauer , Baurzhan Ismagulov References: <20260401104907.3365696-1-wzh@ilbers.de> <5d8d99b5-1f15-4faf-a86b-d7e77af8fc9b@siemens.com> <78d27f6a-bdec-49fb-a600-7a877c151084@siemens.com> Content-Language: en-US From: Zhihang Wei In-Reply-To: <78d27f6a-bdec-49fb-a600-7a877c151084@siemens.com> 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: ib9mH8ac3VI3 On 4/8/26 15:10, Jan Kiszka wrote: > On 07.04.26 16:29, Quirin Gylstorff wrote: >> Hi, >> >> On 4/1/26 12:49 PM, Zhihang Wei wrote: >>> Image task "do_copy_boot_files" deploys kernel, initrd, and device tree >>> binaries to the deploy directory. >>> >>> When different images for the same target (e.g., "-base" and "-debug") >>> are built in parallel, DTB deployment may fail because DTBs do not >>> contain image-specific components in their filenames, unlike the kernel >>> and initrd. As a result, artifacts from different builds may be written >>> to the same location. >>> >>> Here we deploy the DTBs and other image artifacts to subdirectories, >>> with names of distro image encoded to the path. >>> >>> Note that this results in separate copies of the same artifacts being >>> deployed for each image build. >>> >> This breaks isar-cip-core with release 1.0 with the unified kernel build >> as a custom initrd is no longer part of the same directory structure as >> the rest of the image. As the custom initramfs is a separate package it >> cannot aquire the PN of the rootfs. See https://github.com/ilbers/isar/ >> blob/6504321e85b5fdc3bb5a83f042b77cb39cd11a6f/meta/classes-recipe/ >> imagetypes_wic.bbclass#L215. >> >> Also merge_wic_sbom does no longer work with a custom initrd. >> > The RECIPE-API-CHANGLOG says: > >> 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. > And this is the problem: Customized initramfs logically belonged to full > images, and so it was possible to address them DEPLOY_DIR_IMAGE. Now > they are "somewhere" - namely under the OE-standard DEPLOY_DIR_IMAGE, > but there also with the traditional image file naming, flat. "remain unchanged" here means the customized initramfs keep the same filenames and paths as before. Customized initramfs are built by their own recipes. While building a full image may trigger the build of a customized initramfs, they can also be built separately. In contrast, the default initramfs is not a standalone recipe but a task within the image build process. So technically, customized initramfs are independent artifacts. If CIP core associates a specific customized initramfs with an image via DEPLOY_DIR_IMAGE, this assumption is affected by the new layout and needs to be adapted accordingly. > Quirin tried some isar-cip-core conversion, and this is the new > deployment reality: > > build/tmp/deploy/images/qemu-amd64/ > =E2=94=9C=E2=94=80=E2=94=80 cip-core-initramfs-cip-core-trixie-qemu-amd64= .cdx.json > =E2=94=9C=E2=94=80=E2=94=80 cip-core-initramfs-cip-core-trixie-qemu-amd64= -initrd.img > =E2=94=9C=E2=94=80=E2=94=80 cip-core-initramfs-cip-core-trixie-qemu-amd64= .manifest > =E2=94=9C=E2=94=80=E2=94=80 cip-core-initramfs-cip-core-trixie-qemu-amd64= .spdx.json > =E2=94=94=E2=94=80=E2=94=80 cip-core-trixie-cip-core-image > =E2=94=9C=E2=94=80=E2=94=80 bootx64.efi > =E2=94=9C=E2=94=80=E2=94=80 linux.efi > =E2=94=9C=E2=94=80=E2=94=80 OVMF > =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 OVMF_CODE_4M.fd > =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 OVMF_CODE_4M.ms.fd > =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 OVMF_CODE_4M.secboot.fd > =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 OVMF_CODE_4M.secboot.strictn= x.fd > =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 OVMF_CODE_4M.snakeoil.fd > =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 OVMF_VARS_4M.fd > =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 OVMF_VARS_4M.ms.fd > =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 OVMF_VARS_4M.snakeoil.fd > =E2=94=9C=E2=94=80=E2=94=80 qemu-amd64.cdx.json > =E2=94=9C=E2=94=80=E2=94=80 qemu-amd64.dpkg_status > =E2=94=9C=E2=94=80=E2=94=80 qemu-amd64-ebg.swu > =E2=94=9C=E2=94=80=E2=94=80 qemu-amd64.manifest > =E2=94=9C=E2=94=80=E2=94=80 qemu-amd64.spdx.json > =E2=94=9C=E2=94=80=E2=94=80 qemu-amd64.squashfs > =E2=94=9C=E2=94=80=E2=94=80 qemu-amd64.swu > =E2=94=9C=E2=94=80=E2=94=80 qemu-amd64.uuid.env > =E2=94=9C=E2=94=80=E2=94=80 qemu-amd64.wic > =E2=94=9C=E2=94=80=E2=94=80 qemu-amd64.wic.bmap > =E2=94=9C=E2=94=80=E2=94=80 qemu-amd64.wic.cdx.json > =E2=94=9C=E2=94=80=E2=94=80 qemu-amd64.wic.manifest > =E2=94=9C=E2=94=80=E2=94=80 qemu-amd64.wic.spdx.json > =E2=94=94=E2=94=80=E2=94=80 vmlinuz > > Already visually, this screams for improvements. But I'm afraid there > are more concrete issues hidden in even more complex layers. > > And this is exactly why I strongly recommended to NOT merge these > changes in a hurry before the release anymore. We already needed 9 > versions, and we were still not fully confident about the stability of > the new solution. If this kind of issue should be detected before merging, a CIP core test case needs to be added to CI. Zhihang > > Looks like we now need a 1.0.1, either with a really consistent approach > or a revert. I would not recommend any downstreams affected by the > deploy dir changes to jump on 1.0 until we sorted out all details. > > Jan > --=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/= 6a128eca-1346-4774-a1c0-139cae457956%40ilbers.de.