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; Fri, 10 Apr 2026 12:46:19 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f63.google.com (mail-wm1-f63.google.com [209.85.128.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 63AAkIU7032103 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 10 Apr 2026 12:46:18 +0200 Received: by mail-wm1-f63.google.com with SMTP id 5b1f17b1804b1-488c16958e9sf11939165e9.1 for ; Fri, 10 Apr 2026 03:46:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1775817973; cv=pass; d=google.com; s=arc-20240605; b=AU5/9j0/0XGeSFn5d24HcZoR2v7uAu7VZWf0EVdp5zyosfMIAYvDJvjAgEuKPTwVSN d0DJ+xJwZyxvLURRJMlBLtAUANfMKFNQt+uf+djQOf855Js/lk7FnQJe0OyaJrQ0Bmdx MWeAFwF45ZLNYGp/R1MUmyRGfDeUZuKK+HleTPcrIj+1kvAsujWIvL+WuWBnBM1Dti5j Gve8BIa3Czh5K++CStJx8eOUeBMdpqzI83KVA+yeQ1cnK8pELQ6h+fqoU1sfgyRhjfG7 c8TMGK61Zyy2aj8kRr66j6tfL0BFZMj57zQdySHmAk1MOr0fLnbATIzcRETPuJ8MVLwJ 9GPg== 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:cc:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=oQcXevzvYEQDCqVff1OH+iYTpKxjYaG0O4d5HnRboiw=; fh=G3MkRjUH4z1bJyahtUjwCHKAoAVmW+M14mdNGKNmS+M=; b=eKHcNsvA7W6D7ErCv9dKUBS9h7lz1o7FFBXjgscr68XmzS5pFDYt8TU0KItNA8MLjy bpEA8YNmT3+k18yOgUhWWwEbSGkKLIVPdf4btUk0vpNEwCb+AmYbPqp+TKzPLi2fqxBD B1V05pI0w+YfhwDEEi1xJz3Rtbdd+eJgGz5a0jlpG/3+JAy0DAaBNJKQzZeRMAmyoBM8 tpujqVE0NIAEkXbZtX77qmRepbttdGSj32D8VCYgdJPDU5F9sd1FKBCupLRE6i41Nvyk NjgbuE5LM3FIUwQS6C/JkONHIzM7kSlZcZ7IL9/aGVkKWq6d3VhCjuPGC4STGBCqsoFp RT/w==; 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=1775817973; x=1776422773; 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:cc :to:subject:user-agent:mime-version:date:message-id:sender:from:to :cc:subject:date:message-id:reply-to; bh=oQcXevzvYEQDCqVff1OH+iYTpKxjYaG0O4d5HnRboiw=; b=f16ggxnoD4wstm6eSb8waEXg/FkwTUi6LgyXc72xrraBsvs6aUOk+tmRkTHRgDz+s5 hKK3jTCkdyuBK28LmCyTeivXrIvridHXdD7noTUAFxExEgGmb9v03uMw+vH/IMv8euvR ZE7zDskOBnhM0SI6afsbq9WGJojSsoTx5cjVwBVI+7loWONVNq1ckGXTuwAt5gLGsE+i qHvpJe5vo2F+6faG8q2f6hzgMAE1WUEhm+ltHl+1GZb2sY2zdq2RKKa182yYOMjZwyUB 2j44Dvv5fFh6fx7fdc1q/pT7AW9KKqaElp/oPEsDvuCT4I1lPbw7jKh7jAi5B/lK/Wc5 Oqpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775817973; x=1776422773; 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:cc: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=oQcXevzvYEQDCqVff1OH+iYTpKxjYaG0O4d5HnRboiw=; b=hAX2pqn2v87FvTQrokRPAeD4RSchFmyC6YNGpuhT4aGc5vZA6/I3lydZ5hkhQoDy9a 8Jvli0lx/RsIVe69pWZD2b6zZ4AtCY6xA6hDSVRgyjEU5FcXqPJ5KkVQuSgEAXASmsHC ENy901C10R8De41IuT8qKZWJNYEKKLy5ZHjVj9ky2aa1OuXUdtBxrIwz2OcacnuVkcyC 0cOCMNDcrj3iCM1u/KLxE0F0VEautp/ya4tBqBWtnL6Lzfgulx6AmCA/q0Fl7Pi+gJh+ BhZot4gWAMY/7KjuU3054JnzFqVOQHNrlziVBL89ZQf1H/P7fYF9PS0lkB/wWuWzSO3q ZwOg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWkunpFfV7fxkrAIwihqN05npag3jIFJwRuYhY5oOaiemSUJ6ZFpDDJNNmSPgcPGqkhFZgZ@ilbers.de X-Gm-Message-State: AOJu0Yx04dNzJ7ionez6OUuWGl+hfS3xlHqsRvjKnQWNQT5x5Gsd/Igb VlrDBWW8Yd+mt/marvy473pZ6ufmPxVu5MKxwFMKg16/DHNsPf9DC/Jd X-Received: by 2002:a05:600c:3149:b0:488:acbc:b2e with SMTP id 5b1f17b1804b1-488d68431f6mr31301345e9.17.1775817972824; Fri, 10 Apr 2026 03:46:12 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AYAyTiJ9rHZTsGFg7Hy7PLHFcQ1wXqzefjw5/dxEumIS4xJpVg==" Received: by 2002:a05:600c:a21a:b0:488:9e8b:d037 with SMTP id 5b1f17b1804b1-488d5d0b70bls3791555e9.2.-pod-prod-07-eu; Fri, 10 Apr 2026 03:46:10 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVZ9mesU6trDwr6Pw5RceDC8nc0R5WdNNz5C+J+4D3icjdXZk4M2xNCwrVDgyxU7GYBqRwD83ziEKFF@googlegroups.com X-Received: by 2002:a05:600c:8b30:b0:488:b14f:b8ed with SMTP id 5b1f17b1804b1-488d6657928mr33070265e9.0.1775817970085; Fri, 10 Apr 2026 03:46:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775817970; cv=none; d=google.com; s=arc-20240605; b=GgSMHChNPIF8WSzTZzP0Z86R//+CAeK75BfXtLE26stMq3S1W2j+z95X4JpWp5BWdz SlwwbAGcRElzXvT46/Mv1Stzm0oCZmEnjim5RhRcya5yKxpe8cwMXQkFqc2pIyTZVoFD zFxKivH/grN4zsay/fncD/wDOk3gKt9XHc93KZAjLyL7v6uKFzzEXAoYhLkghPDIjca+ 8ZhkV+zkGkcUda1AII/csi3Elr/I20voMGz/zVNzvcNC7cEQGrRhLaqavrtuFj2ogRsi ThqpNANfEJGdvKV7qCPqz3tDH3iGWFh+SEVajhUTD2yLrpRMhhQLTWPAhJAlngF3vznD 1FhQ== 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:cc:to:subject:user-agent:mime-version:date:message-id; bh=NrAAbGvt1LIZq4Lb4hI+9eceXqGw5SLWWaHlDvD1tls=; fh=eYYed+5fhV2szaiUEGYkbhC+etNYMYGHz1z3U1lLC6U=; b=C70y7L/qPQq1cVJcbDaouk9nQe1xE4rc/2RmZeMW9OspgtGaaMCFGcuAPqiMuMt6j+ F3isw8cWxA/jxDvUiN/YzXUjJkDE6muXzcURwDMHZfeORtRt06XjGamj5to2JpwKlGjK plX6qtdjrcDaJbvyDMoBoHVyIbfLiueAlVgrwlwRddrmh22Tl8PFnKHcjZXbqEZRx+61 IvXZwsxNxX34n7lLGThxy/qlBBVjezyahS2gbjP0CVQ09wUbXiUXd/pX+YMHk1iVzxNe 0bbgEsKfuW5iTXoIUJ9IthNLDvtHxLwUfn0Spu/35bbLFp66wmvwZQL4R3+ZNl7YJNSI IFEg==; 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-488d592918bsi420575e9.2.2026.04.10.03.46.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Apr 2026 03:46:10 -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 63AAk9QN032093 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 Apr 2026 12:46:09 +0200 Message-ID: <5f422d05-08ac-4447-b643-5043282d2ec3@ilbers.de> Date: Fri, 10 Apr 2026 12:46:08 +0200 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 To: "MOESSBAUER, Felix" , "isar-users@googlegroups.com" Cc: "Kiszka, Jan" References: <20260226162613.1954014-1-wzh@ilbers.de> <20260226162613.1954014-4-wzh@ilbers.de> Content-Language: en-US From: Zhihang Wei In-Reply-To: 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: 0zUxTnXFWDqF On 4/10/26 11:44, MOESSBAUER, Felix wrote: > On Thu, 2026-02-26 at 17:26 +0100, 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. >> > [shortening a bit] > >> +IMAGE_PN ?= "" >> +DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}${@('/%s-%s' % (d.getVar('DISTRO'), d.getVar('IMAGE_PN'))) if d.getVar('IMAGE_PN') != '' else ''}" > This cannot work, as the value of IMAGE_PN is late-expanded, hence > different in the initrd recipe and the image recipe. The > DEPLOY_DIR_IMAGE variable must only use data that is machine specific, > not image specific (distro might be fine, though as this is identical > for both initrd and image). Understand the merge_wic_sbom problem here. "merge_wic_sbom" cares only about the customized initrd, right? Then we could probably change image artifacts (kernel, image, default initrd) deploy path only in the image.bbclass, and not touching DEPLOY_DIR_IMAGE. > Voting for a revert of this patchset. > > PS: Regarding the DTB issue? Can't we simply prefix the DTBs with the > IMAGE_PN? In do_copy_boot_files we know the IMAGE_PN and during wic- > imaging we can remove the prefix again. Prefixing DTBs with IMAGE_PN only may not be enough. We have two test cases: - Same machine, different distros, same image - Same machine, same distro, different images Both failed before this patch. 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/5f422d05-08ac-4447-b643-5043282d2ec3%40ilbers.de.