From patchwork Thu Jun 13 04:19:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uladzimir Bely X-Patchwork-Id: 182 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Thu, 13 Jun 2024 06:36:52 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f58.google.com (mail-wm1-f58.google.com [209.85.128.58]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 45D4apxX024076 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 13 Jun 2024 06:36:51 +0200 Received: by mail-wm1-f58.google.com with SMTP id 5b1f17b1804b1-421ad3c2012sf34275e9.2 for ; Wed, 12 Jun 2024 21:36:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718253405; cv=pass; d=google.com; s=arc-20160816; b=ZjD161soIoljLnDk0WQN26gTnZvwdDg8nWqsWnsM8j6QvNRrP6d/eam7nEU6+btcDJ /V6r+OjM8yWx08xg+cpL9gUx724GMeH9MqYHF/YqLVFxKYhENy42q7w5kShDQUK8FqQY Dk1XWrLehBGRrxN48wWvD18gqK5ViPoyaPYaLJSbZlNoKLWL5LAP59LVySrcwPY9MH1S oC0qilXgzG+dVHJocKQ8hir+ctx9hY5CVp3FFZlL59pA/ylmmZSr3lDH3ei/Sn774hvG vyIPAm2ziH+LrKwchvk0Bq+3RRMaSXZg2IakTA0lp6XbxSk9b5Xyjwf7kmPFIivU6q5U AgNA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:to:from:sender:dkim-signature; bh=wuVRWZEU06+IXmf6SrrHyWZj91i8xJb7S+X/SsB9t0w=; fh=SLIiBDU+XwZMayCwRGihac8A2IsmpGgV3UwRyyXogFs=; b=DTmA3/FDrosqeSvobBL9FptOkJQsHVv8Hi9CUXgNAwsMJ7UkLjysfdXkWYlqICVD/m OTyjYo4gtN2grhxKtILeSQHNEcEnHkvQ9DmPSoGuS+Hwp7Y8F6DE8Gj7EJDo0yiEqeTa HV34KQa3huVf3jCt99fI4fGwwQAn0sEHrLN1lS+fHjPAlEKApJ6kaVvtDnmaeUKwPcGh s8iKeJ6IRHK+DLyQkzvWv5R1Kl4tIvtz28EYlz+YicgoR2zBDWu1qavXhNIhIq2VcgeS 437emvGPB6YGeZBwqN33XVh/JEofjY7mQqcLw//xc7/mhhqovH8V27CbrBCnk8gT1d5n Yg0A==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1718253405; x=1718858205; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=wuVRWZEU06+IXmf6SrrHyWZj91i8xJb7S+X/SsB9t0w=; b=qzCH1xPFeoTgGcmVg2+xKjHG/ocziSruZ+K2USDWgwYZg7ZqFcqQGSeDAT/G8TPak+ oq9cQtQ9NskAGWtxUvZTG/WhV5W78dU5c8mw+C+PSVD0RGphcqy0ZmO0QKWZTHCq5Qku x+f3J+YNloLSxeXePHYfdgnajttt4FjUkMzgNzn9YM9hd33ET4WJxYW9qHyDOZ2LbERN vrawDK4OWw/Of82sQdDXmaP6H5jbca0bJUSCPbAgd3OIkrWzQOr2J8LPXs70AtiYDJei AbQ9AZy3OE6EQbRcyUdtD5gBDLuFueEuWnwTOOdj6Xgz9ckRlycIhsYHQgRBu91US6v5 2tgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718253405; x=1718858205; 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:mime-version :message-id:date:subject:to:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=wuVRWZEU06+IXmf6SrrHyWZj91i8xJb7S+X/SsB9t0w=; b=ThwQ6w6nixMFLydkflQBwL+HzrCjmjJqvsowOdyye/1DlTUVVqF/W6loIuFc+kp1am arX2Yxwp26O3dPGghz1FHhhNICBwbzQm47wLsertBr+QEZzPL8d6yNHZ05REP8lWGeQn py9LiMFH3awmvctF0RHWZDeOEF+tCgoQ6ubgxxatZ/mUX4SunRJjGqjZZy9ZoaSFr9fK aK3E8L29APKarsMzPtBmTHfAavpFkZMq/QhqRpK3mrMDySTKDZePM7Sv+X1EaZxkf0Mq vXqDdY0DnvZHILyKye0CtpB8TJaRZ57QTIuca5diGCrm5+1nGpFzLRPOmjJl1nhhk3WH EQeg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWzUc+/wkR9ETZ2xcytUFxETwjMHZx9zR4H0Y6JK7MpuLOjFHiGS5QNS/pYt95K7gxMt1Gui5w=@isar-build.org X-Gm-Message-State: AOJu0YwOghp07nkDSOzvLgKFHZkir0bz4FNo0Dgd+mhJCsvBjs1qBoHl QZQNYnaED2YDcDji30pcD9vmmkNQjjoRDHO3hOePVq67hqITnINn X-Google-Smtp-Source: AGHT+IEJVK2i3ESM9hUBw++wAQ5V0z3jDpxkWEYFRBTOvN33qbmS9Rlz5c8UcJjtqZ4umMYyAiKp9g== X-Received: by 2002:a05:600c:5487:b0:421:7ee4:bbfe with SMTP id 5b1f17b1804b1-42285d851b0mr26696455e9.0.1718253404957; Wed, 12 Jun 2024 21:36:44 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:3b86:b0:421:7d7f:c621 with SMTP id 5b1f17b1804b1-422b8cabba4ls2598795e9.1.-pod-prod-05-eu; Wed, 12 Jun 2024 21:36:43 -0700 (PDT) X-Received: by 2002:a05:600c:470c:b0:421:81b7:785e with SMTP id 5b1f17b1804b1-422862b3c9bmr40615455e9.2.1718253402751; Wed, 12 Jun 2024 21:36:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718253402; cv=none; d=google.com; s=arc-20160816; b=yLeg4/mhvqlRFdkUp9x8koSG6NyduyWBE0fGLH4C61CO+GBsD84mQiJy3AVKVT5uOl PXOCoM+uGHiXqHuAHrqKg+pDfd4v459sMwmqL9ruAvmUxzmOcEIOcKzg9OnitVULOdT2 kYMJ2KLIHkqk+2doNKXXpd2Ljnc7XxdVRT5bWb8PVxMB/kTzbG58lKh+2GsZjBxrCgnK t1X4wIcN2FpmOULy8WJ/aiQsG16KBzazk+gYOGj1Ixes5LC5kSqoERkOcikIA3yRHLCs I4MYHfR1ldSkyOKx7QD3+AGVmOuf25G49TAykhbJNTGhyEonDJlYOuCvlU/XSKrzlYzL QyEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from; bh=0Er6PtUdeCutosFWG7FZUu3WlhIt7ftCu4/uHbXAUtI=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=JCCjK089RZKFUHuYuoMjd7qtSym5okfxIVd0pgUhQ1oh+ZjOoeH9TMFz0LJMuLSl1C X43DojLt3WY9xWCHGib3HXlDMO86m4gvqux6GShwfRtfenBBwkt9rJkD2Egat4LsUCl3 aGEtrK8SdXq080E93479cRsFZCBKmO6ejEoS+Iy6T8Ep1+s0kWOYTtpu9b93DnxJN3u7 SghKusA2uvFXnZ+Q/E9nU3K2s3FeATt9R0zxJhiGIsp6DNMeRMhTVP6km2+F6TVSWxJb Hn+Dr5MP/IIwQRfgKGCF39S0pcJyVrKNWWzuPyBw3L58YocWB0LwOGHdA9XZ6IvN1non iObg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-422f612735fsi115335e9.1.2024.06.12.21.36.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Jun 2024 21:36:42 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from hp15.promwad.com (44-208-124-178-static.mgts.by [178.124.208.44] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 45D4afSV024052 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 13 Jun 2024 06:36:41 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [RFC PATCH 0/3] Deploy DTBs with kernel recipe Date: Thu, 13 Jun 2024 07:19:53 +0300 Message-ID: <20240613043635.21239-1-ubely@ilbers.de> X-Mailer: git-send-email 2.44.2 MIME-Version: 1.0 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_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: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Image task "do_copy_boot_files" is used to deploy kernel, initrd and devicetree binaries to deploy directory. 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 make kernel recipes (that are original source of these files) responcible for DTB deployment. Related topics on maillist: 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 To fix the case when different distro use same namings for DTB, this patchset should be merged with "[PATCH] Fix do_copy_boot_files error": https://groups.google.com/g/isar-users/c/Va0Ue-ISYeA Uladzimir Bely (3): Don't deploy devicetree files with image linux-distro: Deploy devicetree files linux-custom: Deploy devicetree files meta/classes/image.bbclass | 11 -------- meta/recipes-kernel/linux/linux-custom.inc | 13 +++++++++ meta/recipes-kernel/linux/linux-distro.bb | 31 ++++++++++++++++++++++ 3 files changed, 44 insertions(+), 11 deletions(-)