| Message ID | 20260206122910.248334-1-amikan@ilbers.de |
|---|---|
| Headers | show
Return-Path: <isar-users+bncBCHIPONZWECRBIN5S7GAMGQEE65IOWA@googlegroups.com>
Received: from shymkent.ilbers.de ([unix socket])
by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA;
Fri, 06 Feb 2026 13:29:29 +0100
X-Sieve: CMU Sieve 2.4
Received: from mail-lj1-f191.google.com (mail-lj1-f191.google.com
[209.85.208.191])
by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id
616CTRXv024624
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
for <iupwgm@isar-build.org>; Fri, 6 Feb 2026 13:29:28 +0100
Received: by mail-lj1-f191.google.com with SMTP id
38308e7fff4ca-38310a79f92sf13972951fa.3
for <iupwgm@isar-build.org>; Fri, 06 Feb 2026 04:29:28 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1770380962; cv=pass;
d=google.com; s=arc-20240605;
b=DQAoMTe1LFuN0hA1vJIoGxsCRQ+F+wiyDjl3tmruX8RwE8Zr0AbacNFHTwmlRdG/Zq
P+SIYq8KpqVOLzDpKa+NHyHAUypeb+BD2dWieZE8QsK77M0bnP20jZbEwifSIFJqRHlV
NqzGlOuyCSYL6FCNbtfPMu34kFLenIUsL9yTu2jcygLiRobISjrqqQGuPuZIR4WGI/7i
aM1cqUTwLGttoW5HQoAmcpBQXBYV+vlGjctlGt9z9IxtKfWUB1wcdAmZbJogjxIvYw0C
4R2YIoqSCYy2Jmuz21bAKcVb0d3BUh2XDJBy7hCrXZJxIDOFYRsR3b8KUm10jKIaa2kk
jxmQ==
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:mime-version:message-id:date
:subject:cc:to:from:sender:dkim-signature;
bh=j8gu7f7TdTrJMG4IHySvJSzh3QfzGzjZ16t528XQPN8=;
fh=QM+2HaQhAPphjORjWimn5uoMjhPb6h9UhJlA4rdCn4Y=;
b=DX/BflVVV7wgmUs4Rn0uKvdU9iLL/zaAsyTBcmmqLJpIsGc8qia8Q/cmbnEJyaRPLI
HOrJ75juqqzVnryJoO0w37L5HVLYgUSTO7AF2NN9NtE8XlqKABILzzU2liRJRVLZ1UHA
9M2fh/wJjuubm5cIh/8++MKo9XNVzgnwoJSYjra/E7onQSE4Lg2qjrAAuLhHOJy4QvJe
U49M+HXWh15u2yn5PV5b58j+F8WI4Ke6zD9Gyt1kKtl/YfdZSdd2jZz5ApGq6HDStd5z
RKtIktURw0UPwLq5EknWbU/Kef7Ikd83FodpLEFsynI05bEnQ5xkDo0zsQgfGDdqGHxX
ZkLA==;
darn=isar-build.org
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=1770380962; x=1770985762;
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:cc:to:from
:sender:from:to:cc:subject:date:message-id:reply-to;
bh=j8gu7f7TdTrJMG4IHySvJSzh3QfzGzjZ16t528XQPN8=;
b=GFmW9zpthwE+NBlmX7FaS25Ufn2V2Q9CsMY3gfJbyfL6EYyth/eiM2+gjuDNpLP9r4
ZO+myQj0hZlzHkf+Imlzfhdm9IGkVGqkdIEu4vj+LBBfssnRXOL292H24qd6xLPyxQc5
ZdnojcN6afgR/HEYH+AHBjJc4UlSF2wgg6KZNBYD52xt8SSi/EqKaZB5rzkIBIREpnFg
XYlI+i4P/16mGwz65Vj8A3Pj3x9sHZ4h2R62Y8UiYFgEu9pKUKpqC0B7Hg9zQSknRLW4
AU/JPC3VOdU5tdl8WZ7bcmgbGcPyVa25UfHQsg2VCzH7HLEg0WwmR0UFq9De0SKRmGg0
RHSA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1770380962; x=1770985762;
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:cc:to:from:x-beenthere:x-gm-message-state
:sender:from:to:cc:subject:date:message-id:reply-to;
bh=j8gu7f7TdTrJMG4IHySvJSzh3QfzGzjZ16t528XQPN8=;
b=eOf9UdgTu9Za94ZSEargkTeFjuVboIlA8wrpM8xFoMuwueqHpkWbYj7vL/viyeVHol
OEoXUXEWI3BdcFWbTZhv3Sr8JNVWoQB0QTtxZps8LV7HwI2wvNn2nqYLcGOP3cwwsdtf
izIfJ1TBwZREug42TvtNeIh7+2LdthXGBjyqzf80omgPdrDUCTUoU7clz6lE/xisnP2Y
5vt7WElp6wg+cH8AVmTta3OYiYCc8YMdEx+FLW5rOZMZRzwEpdVsK+cMH3TRHRuQ2yrF
8qx0ewz0hXfiIcbmuKFOUrXyUe04dRY1s6mduoY4TKFMfcLbepds+nGxeDiapEIYbapK
h7sQ==
Sender: isar-users@googlegroups.com
X-Forwarded-Encrypted: i=2;
AJvYcCUOiU2nhDhCiLX26JxZZQjT0gKYjYC+TeYynA7eBgPPhJRk5p/7VaW+mnNgPhKTxp9tHJaA9vc=@isar-build.org
X-Gm-Message-State: AOJu0YymVofsP+pn4w+fzp5SdQrhKKRxS3h+C6tK+ENjBAxl883BcI3J
DhKieeHsaA1th27AvdAY/TEAEU/GUUMnL24N+6XjZLQJ5UUVSgHBGSOc
X-Received: by 2002:a05:651c:f09:b0:37f:d511:c54a with SMTP id
38308e7fff4ca-386b515f12fmr9889751fa.33.1770380961899;
Fri, 06 Feb 2026 04:29:21 -0800 (PST)
X-BeenThere: isar-users@googlegroups.com;
h="AV1CL+FijFwS7XcfCht7/4VE08PYrW5qwjuEiA5QCL8zF7xWUg=="
Received: by 2002:a2e:a16f:0:b0:37f:b4e0:a50c with SMTP id
38308e7fff4ca-386a05f6587ls3708941fa.0.-pod-prod-03-eu;
Fri, 06 Feb 2026 04:29:19 -0800 (PST)
X-Received: by 2002:a05:651c:50d:b0:383:21aa:60a0 with SMTP id
38308e7fff4ca-386b4f14317mr9803641fa.14.1770380959193;
Fri, 06 Feb 2026 04:29:19 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1770380959; cv=none;
d=google.com; s=arc-20240605;
b=BUs/opOMCl283KBOx4T2nnB9hl3IMeXwBbxvtLwda9Mu8TWkg1AIM+uEcxqrfjsRHu
VEw7LBwASR0p0zEKdf/QLMRlSM3SNspraSWwshx1hx/CXj0C6l5UGTWDLfXZwpTRqskT
wRB+J7zewISx9ZdPiJbAeYG1EJ+TVQJAQrZ0CySvR9YGYFkcRP7m5cn4X1ZVHMBD1Rzl
Ut+p/AVPtRf9j/RmnjELJAP3iSl82k2wSkFq0d1z/QkI9saaH+N187ZeFT4cbE8x7TYX
LpOaX8gaTkK+B1J/6ATjAtCvmxthTmZ7RePNEFCjqYkzWzGZSHQGrsdwGFNigJu+EZon
lHmg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from;
bh=G52jHdlJuo0Gtk+L4cW69ZNw8pMPb140nOy7+Flw7Gg=;
fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=;
b=C5eTJH+C3aQ0xG1b15sbW6OPZpHEA6KUOwkp6HYwjgM58ja5KgincpI3da9yd1xvu6
KEWmPb+qNU4L8t+2tU3i560xqlnDBxEv/OAV9Zg0tzQBe6I7m9ZSdIxmnaeTIBG2vhd/
OGzJMjpfDbrQgXQo8e0sq8ycMqpO1iqj1Bao7Ba2b2gYarPIkLPhbDlxg7TGxfGwQeSD
7RC81k31Cq91SOmEJ6Pk4zCHfzJhMxQ6tBoKvRz+dFRDoT4h0Aq+zDUSyObvChQwoFJ3
cAIm4/f5oo1KGPWPD6sbyBuaLhIQL4tKjSGegyUBpw02DKMbi+GxUpeDYdxdaOjjhvD3
Wn5w==;
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
38308e7fff4ca-386b62494f4si511531fa.3.2026.02.06.04.29.18
for <isar-users@googlegroups.com>
(version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
Fri, 06 Feb 2026 04:29:19 -0800 (PST)
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 headcrash-nb.. ([81.198.135.230])
(authenticated bits=0)
by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id
616CTH1M024605
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
Fri, 6 Feb 2026 13:29:17 +0100
From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH v5 0/3] Deploy DTBs with separate recipe
Date: Fri, 6 Feb 2026 14:27:23 +0200
Message-ID: <20260206122910.248334-1-amikan@ilbers.de>
X-Mailer: git-send-email 2.43.0
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_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
Content-Type: text/plain; charset="UTF-8"
Precedence: list
Mailing-list: list isar-users@googlegroups.com;
contact isar-users+owners@googlegroups.com
List-ID: <isar-users.googlegroups.com>
X-Spam-Checked-In-Group: isar-users@googlegroups.com
X-Google-Group-Id: 914930254986
List-Post: <https://groups.google.com/group/isar-users/post>,
<mailto:isar-users@googlegroups.com>
List-Help: <https://groups.google.com/support/>,
<mailto:isar-users+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/isar-users
List-Subscribe: <https://groups.google.com/group/isar-users/subscribe>,
<mailto:isar-users+subscribe@googlegroups.com>
List-Unsubscribe:
<mailto:googlegroups-manage+914930254986+unsubscribe@googlegroups.com>,
<https://groups.google.com/group/isar-users/subscribe>
X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?=
|
| Series | Deploy DTBs with separate recipe | expand |
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 a separate recipe responsible for the DTB deployment. DTBs are extracted from the kernel package (provided by distro or self-built). The recipe 'dtb-files' is MACHINE-dependent, so different DTB_FILES may be deployed for different machines. At the same time, all these 'dtb-files-${MACHINE}' targets depend on the same kernel package, so it is built only once. The case when different distros (e.g., bullseye/bookworm) are using the same name for DTB binaries is covered by the patch 1. It also covers the case when image uses different kernel suffix (e.g., "realtime" option for the kernel in some downstreams). Related topics on maillist: https://groups.google.com/g/isar-users/c/ht3YmKZcJlM 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 https://groups.google.com/g/isar-users/c/ixzytHYnTmI Changes since v4: - Rebase on next. - Squash latest patch to first one. - Fix deploy paths in initrd tests. Changes since v3: - Rebase on next. - Fix target deploy dir path for installer. Changes since v2: - Patch 1: Consider also kernel suffix. - Patch 2: Use separate testcase for possible dtb clashes. - Minor cosmetic fixes. Changes since v1: - Separate `dtb-files` recipe used instead of linux one - Included older "[PATCH] Fix do_copy_boot_files error" into the series ( https://groups.google.com/g/isar-users/c/Va0Ue-ISYeA ) Anton Mikanovich (1): testsuite: Add test to check dtb deployment Ilia Skochilov (1): meta: Fix do_copy_boot_files error for different distros of same machine Uladzimir Bely (1): meta: Move DTB deployment to a separate dtb-files recipe RECIPE-API-CHANGELOG.md | 15 +++++++ .../installer-add-rootfs.bbclass | 4 +- meta/classes-recipe/image.bbclass | 15 +++---- meta/conf/bitbake.conf | 2 +- meta/recipes-kernel/dtb-files/dtb-files.bb | 41 +++++++++++++++++++ testsuite/citest.py | 30 ++++++++++++-- 6 files changed, 92 insertions(+), 15 deletions(-) create mode 100644 meta/recipes-kernel/dtb-files/dtb-files.bb