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, 08 Oct 2025 11:46:07 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f64.google.com (mail-lf1-f64.google.com [209.85.167.64]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5989k2ox007147 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 8 Oct 2025 11:46:02 +0200 Received: by mail-lf1-f64.google.com with SMTP id 2adb3069b0e04-57875e2885esf4276625e87.2 for ; Wed, 08 Oct 2025 02:46:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1759916757; cv=pass; d=google.com; s=arc-20240605; b=VfVhe4emLrrNDXDC33zFf9pYvYQ2T/BiflXcrO0sa7ApxRTVSINf06sUMTqZyBKVUI KYFNftxQShSuYfSXYcG53hiZUkWyARg70Tl1uVz899Pj3zqI2gg+4/ykuNpgL6gl1IW3 JlXQ/10/aEH1Gl1Z8Q0fo2XzUREKNZPo48HBVgsHFGUqZpxc1lfJO2NAW15uJfvGJemE s4WzoSgirpnm7z+eovrnrZk7RgbyPVQyAmz1S0LvYn6mxZFWLAHTyd7pwe6AXHFJkBO1 L9vIG0HEkgXCSLnKsNSFWLGogadh8lcIfU4SWC4UILL6MwSw3GQL0ZR++/ea+9L6hEWw 47dw== 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:cc:content-language:references:to:subject :user-agent:mime-version:date:message-id:sender:dkim-signature; bh=4nxlDOBTiG5j2F4jlD0LXI59ZeLiHNGTdbdZB9hU3bM=; fh=I6p0HhTvxocJatEBbrEWihiHCwrfdJUNDsIdvqj7OO4=; b=hfNlZtqHE9Q383WfV6wEC3zadUG5TjwLgI4+ztEW/8n6LM6DYo6dre6WJwlNQzeRit AQahSNeN2rp9yYK2QShdq79DBstwIAKY44osJ7RSVoqsxzb8qOozPGjPSum3KNFx1rHN bc6TMCt7VQMHChH7WKHk/BNyF4PqZzu4ZYETzfvh+PI0DkRxG1DTyYo0ZZJIA+hKICIg zBud8i1xcaqV2vgOxI21/MVJIy7zyyopoWsUxVbwKKiUcITBlPqOiyevsbIfbKnteXbq SSKOJSSWzMB7B4PJ/eGraweyJPCaUYqUul1SnrlZp5TAoZvJ+VoM5Ues+fU1db/M+ixC tRYQ==; 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=20230601; t=1759916757; x=1760521557; 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:cc :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=4nxlDOBTiG5j2F4jlD0LXI59ZeLiHNGTdbdZB9hU3bM=; b=iyfU72zcYt5BZ12NDdOCVuv5OAFRqMMuknFbZVoRcLw0JKh9jQCdDPyQcOBLqiwVvG ryCUnJGHUt9CejPp5jBDPjIYQEfTsmp7dd8l7vWmmyPUM6RP4Zn1lpvtMaRx7VMC9QDj ezAtXeeYGGnAPHi53zPfJcv+FE89zAsQu4SK8zePgG+cFbhBD1cUnPTiAbCJveqMsNe8 jiq+kX9IIOh0wWYOEhk2npFUm4kps9w7UmuzS+DEj73KpVGIrJwZrCD/2eLpVCg/uaaw 8lk91HVb4397c0iWAhzckeViirjW7sEKTwe0HcM5iKC3rQh0fVDeNvG9A4Aa+4mRU1or hm1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759916757; x=1760521557; 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:cc: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=4nxlDOBTiG5j2F4jlD0LXI59ZeLiHNGTdbdZB9hU3bM=; b=qI+91CuGUbHJw0aiDQQopCmpW+oWbct6QS4BFYEd2TX8D2eduD6nFrGJOLan3GPBck pKgaMSYD5nc9LSXjE8RU8wohBmg7UTVM/2jpHNrt1qJ6LLhmQJGpBiV5h1z26l/Yxp7+ 6HSzb47Qj38Lqz/VGFqRsNMF7gvKRu9rbb3NQqBfu6JwtcQ/+F5ooeL0t3UTAFMJrk5v zJEzJ/D4uXCahSTCoaQx2kAOmwXU/KL3TH1Ygcyuh/HyWodBNsD+FRKKKip78tCF123I FZIVdE3m4m21ZUF3Y2nB7WBRkgbknXb/U5F7DVOIJweQI3nsU8aNCCC02IuxTuBNRPlZ yPCw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUYM5cy62XkDFjIFP1U0G8qe/ZPF5PXHyfTfPqRfSAujfFEkJDH3MBt0rV4maDyXHLGUMHa@ilbers.de X-Gm-Message-State: AOJu0Ywz9KoMjjr4WMyw5fZWlLaa+OxXUQpxESPH7bk95S+8P00G9WNr hfGDDh6IXs57cKNd7JgbdTkgcah/SE5K1HEXJWvE7KEcz+cdiLc2W0bH X-Google-Smtp-Source: AGHT+IG0pKlIkyqkM5baKE5f1Em3hP0sQJO+EelEGrbi04ufrOV5Ylx2466BG+N1nQW3sCxMbV68zw== X-Received: by 2002:a05:6512:1325:b0:57e:f60:2330 with SMTP id 2adb3069b0e04-5906dc122b7mr646664e87.21.1759916756597; Wed, 08 Oct 2025 02:45:56 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="ARHlJd4v/QFeQzCfKp9f9Ljn0gPOJLCHPTqTExEA9ywCuAuFWA==" Received: by 2002:a05:6512:3f15:b0:590:6c0f:4e4c with SMTP id 2adb3069b0e04-5906c0f513cls322565e87.1.-pod-prod-02-eu; Wed, 08 Oct 2025 02:45:54 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXKT0TB0EHb3hpZDJsDqYZdywkhkdJ2C3Zl4iVKWwENJ+VN6Z7p0q9R3zWX8oB+Sd6TNpwjGQNXatkU@googlegroups.com X-Received: by 2002:ac2:5d28:0:b0:578:4239:162e with SMTP id 2adb3069b0e04-5906db0401dmr567437e87.11.1759916753735; Wed, 08 Oct 2025 02:45:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1759916753; cv=none; d=google.com; s=arc-20240605; b=ZPxY74W9noj1UG9QfQbQFnelvJijVFfZnzoQaltbIpJ/D2I3jyAQwV8R0j5WZtSV8H Txv/JMWRdOsRSUsOXaZAkX7fmINFYL7ng6vElXCTIVOeL9RW/rm0ZjUAQDgEGbjyCU4g kabjobyXoYuLCB54NeO9L/pKVLMoHSmj6o2bw7ch8l1/wAwEbbir0IO9irEC9vdLdFD+ B+Nmh9HBDbdC+YrjHYsNZ+2MUGoFP8fT4d7a/Tm7Zwh8X8ynA+Jwmv3pW7Uk7BQlvJRN BycOLLnswbWVZxpfroq/5PLjonhrG04VQVl28hSFXb9PqRALurYPohkD57UXHl2veqqP hD1g== 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:cc:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=BSeEdQrF/hLrS4472L/SK47dC4Lk/90ZKk4uakr6bk8=; fh=O8HDxrDbDutePQIpe34x+t4IZmrpSsgYc3Xr03mu1iU=; b=Ek/lMR6jK/IGBf9hRhCnRN7DxJPju+xgLU1QI3JzuZvAGAzhB7L57YE29Cy129skf8 eaMAvQ1LXb3e0LixbgvDunQ24gesyGpm4SzuxCXFxVTEM7ZK5Wq54k2cuVCk46NLdP3i 9OchrMQQG18XEr3fqluQTHll+3rgWhvrY7+Cbs+Q9N+57Wn5aB8UCZH0CBf2LR4Gvh8L oEJ9tPerkiHKh1nYJgC2F6+hKGCMlaflowCusjZftzve7yS7sItmceOH1pv4gUWd9A19 PBi20ihhGDLf4wrb9/2UUt3gVc9EQiOL99L3K9jXnkaCi0IIDPEMoVS43Je/w9OGJqpy vTkA==; 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 2adb3069b0e04-58b011108e3si295872e87.2.2025.10.08.02.45.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Oct 2025 02:45:53 -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 5989jo31007133 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 8 Oct 2025 11:45:51 +0200 Message-ID: <1c93851a-7b56-4088-bd19-83ed1b1d8ecc@ilbers.de> Date: Wed, 8 Oct 2025 12:45:50 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] image: copy DTB_FILES to DEPLOYDIR/IMAGE_FULLNAME/KERNEL_NAME/ To: Badrikesh Prusty , isar-users References: <20250403170701.807745-1-badrikesh.prusty@siemens.com> <3d694944eb24183d241bf652c43a60d7b73aec69.camel@ilbers.de> <95421431-bec5-4297-8aba-2bd9207f1785n@googlegroups.com> <3629bc6c-800e-4d4f-9ca6-ddd5bdcfa4d0@siemens.com> <1a2a38b0-49aa-4167-a95e-16f4c5ba385dn@googlegroups.com> Content-Language: en-US, ru-RU Cc: Baurzhan Ismagulov , "Kiszka, Jan" , Arulpandiyan Vadivel From: Anton Mikanovich In-Reply-To: <1a2a38b0-49aa-4167-a95e-16f4c5ba385dn@googlegroups.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: 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: iSksyF5HIa7n 08/10/2025 09:20, 'Badrikesh Prusty' via isar-users wrote: > Hello all, > > Apologies for the delayed response. I somehow missed the message. > > > This sounds familiar, and I think we discussed that multiple times > > already. Did you study previous threads/patches, e.g. > > https://patchwork.isar-build.org/project/isar/list/?series=3D1241? > > > > Yes, there were few patches that tried to solve the issue. > > > > Using subdirectory (variant similar to TS's) > > - https://patchwork.isar-build.org/project/isar/list/?series=3D1149 > > Allows to overlap files > > - https://patchwork.isar-build.org/project/isar/list/?series=3D1235 > > Make kernel deploy the files, instead of image recipes > > - https://patchwork.isar-build.org/project/isar/list/?series=3D1241 > > > > I reviewed the previously shared patch, but not in full =E2=80=94 thanks = for=20 > sharing it here. > > The patch I sent is very similar to @nicusor=20 > patch:=C2=A0https://patchwork.isar-build.org/project/isar/list/?series=3D= 1149 > > I just reviewed the other patches and believe that many may encounter=20 > the same issue. For instance, when attempting to build multiple=20 > kernels for a single image=E2=80=94such as `linux-image-amd64` and=20 > `linux-image-amd64-rt` kernels=E2=80=94this overwrite problem is likely t= o occur. > > This patch also resolves the issue with image builds that include=20 > multiple kernels by storing the DTB files in the directory=20 > DEPLOYDIR/IMAGE_FULLNAME/KERNEL_NAME. This will also fix issues when=20 > building with different DISTROs as IMAGE_FULLNAME includes target=20 > DISTRO. Additionally, it fixes problems that arise when building with=20 > different DISTROs, since IMAGE_FULLNAME includes the target DISTRO. > > > This would affect downstream as well. You are missing a > > RECIPE-API-CHANGELOG.md entry. > > > > Yes, it will affect downstream layers. E.g. I checked with the=20 > isar-cip-core repo, changes will be required in `efibootguard-boot`=20 > wic plugin. I will work on fixing it, once this is approved. > > Thanks and Regards, > Badrikesh Hello Badrikesh, Files like scripts/lib/wic/plugins/source/bootimg-efi.py are borrowed=20 from the upstream and supposed to have as minimal changes as possible. Even having changes in custom WIC plugins can results in additional side-effects. Also, in general, DTBs should be part of a kernel, but not an image. I've just released the new version of DTB deployment fix proposal which=20 I hope will cover all the cases. Please have a look: https://patchwork.isar-build.org/project/isar/cover/20251008085507.1017500-= 1-amikan@ilbers.de/ There are also some observations regarding other implementations of the sam= e fix were shared on the list previously: https://patchwork.isar-build.org/project/isar/patch/20240416100746.5681-1-n= icusor_huhulea@mentor.com/ - We don't want to modify WIC plugins if solving outside of them is=20 possible. https://patchwork.isar-build.org/project/isar/patch/20240705071856.904-1-ce= dric.hombourger@siemens.com/ - Manipulating of sstate sounds tricky and errors might be costly. - Allowing overlapping will cause deploy file loosing on multiple target=20 setup. --=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/= 1c93851a-7b56-4088-bd19-83ed1b1d8ecc%40ilbers.de.