| Message ID | 20251118143523.2326879-3-anaumann@emlix.com |
|---|---|
| State | New |
| Headers | show
Return-Path: <isar-users+bncBDVYNRFFT4KBBRUJ6LEAMGQEJGV4QNQ@googlegroups.com>
Received: from shymkent.ilbers.de ([unix socket])
by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA;
Tue, 18 Nov 2025 15:38:05 +0100
X-Sieve: CMU Sieve 2.4
Received: from mail-ed1-f60.google.com (mail-ed1-f60.google.com
[209.85.208.60])
by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id
5AIEc47s031396
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
for <iupwgm@isar-build.org>; Tue, 18 Nov 2025 15:38:04 +0100
Received: by mail-ed1-f60.google.com with SMTP id
4fb4d7f45d1cf-6411fc67650sf8381522a12.0
for <iupwgm@isar-build.org>; Tue, 18 Nov 2025 06:38:04 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1763476679; cv=pass;
d=google.com; s=arc-20240605;
b=QTpImWkmqC90GHpJ3z1wjMiiKYXopPcXDvjYRhq5V2Kqa1tTrmPY6ovmkyKZjkf4tM
MtnSjvs83bkPTGEP1KQKskTAquv6G45OIjJO+znCl9rxYUPeOz989nMa43dzlk15WdoF
X8q4l2Ttl5Ujv1uyfDfPtm/9ioXVa0IXKiPp88YcGdxCeT+oQm/s4bHAvqpWJ02WeDf6
g+wdU9hMncumRjl2SkgjF11bFziqxF26KtvqARqRiQ9M1i2qgt2E7Mjyz71a2hQFa02i
2q6zs7o++xuTaN+CTzhhKLukFjcDEOG5fG1NG6dwlGpOGbc6k6R8LihtqNEayyM2z9VM
8/ag==
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:reply-to:mime-version:references
:in-reply-to:message-id:date:subject:cc:to:from:dkim-signature;
bh=y2l4nNb/M9FGxUKDG9W9Rlg1fP0kfJqBHASC6czvGZU=;
fh=ATcrxznPAiF4HNhnNvo1S9hCPmKft10C67BNMdTO7xQ=;
b=WQdjHMcrDNPKDpo9UcZ6cec9iHwVoeEeJlo+zqdTqD344MI9TGohQhFbBTSfdwjJDT
oKWXkJDHTYp6lmRmEae8eJT/N8rMzPUcDBv3MtN4rWKNq8rVlQ3tluKEJv+mwL0FXrtA
cxzQobn+zxVYL9QLi9ox1eZw4wLRX1RMsA+HiWbRdAmMYh9XsUDZAxt5zX02yx9tfO7l
KH3duQi5uJ25VVtOrBmRMM1RdHEm1ZWT/vbUA6c/dXQ2EFAl810kYnoUCa94hHvEDh1q
foujg/voNJ7tWOU8gJUI3CyugbVi3CbhjK0XFzs2dYsvzUPZHeWkspCxn77f8o7pbdsW
TQqQ==;
darn=isar-build.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
dkim=pass header.i=@emlix.com header.s=20250930 header.b="hPAj/lz8";
dkim=pass header.i=@emlix.com header.s=20250930 header.b="hPAj/lz8";
spf=pass (google.com: domain of anaumann@emlix.com designates
178.63.209.131 as permitted sender) smtp.mailfrom=anaumann@emlix.com;
dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=emlix.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20230601; t=1763476679; x=1764081479;
darn=isar-build.org;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:reply-to
:x-original-authentication-results:x-original-sender:mime-version
:references:in-reply-to:message-id:date:subject:cc:to:from:from:to
:cc:subject:date:message-id:reply-to;
bh=y2l4nNb/M9FGxUKDG9W9Rlg1fP0kfJqBHASC6czvGZU=;
b=r5EHYToviODS1iz7NKbqmEb6j2lcIdxQcPaWVQok6+Hq+98ARoXcjrC8yymYPHnBJM
BEDiWm22BonPz2fJWLOp8xJT/k+f/vf1Rmx5/sUezeqAFDV1kxUo3yNqknXWsRZfJt9C
Y3p/2cyu70NbiH38bYfI0fWBtotBAcab+pUMfw2rGv3UcDg1hjwZ3YLu7AhQD56UJlFV
uESnzPtbMXdNW2QeuzjYuPPRmjU4TaIkfhYjux8hLmkpbAO67V/dyJnBQy6LSsr+4+ly
GhOOe8WY1htaxSngkClGiYYqT+EvGAPvbdC3J0ug6TPyfNZ2XYrVXNVtwDmE02ykZ396
1Cwg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1763476679; x=1764081479;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to
:x-original-authentication-results:x-original-sender:mime-version
:references:in-reply-to:message-id:date:subject:cc:to:from
:x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=y2l4nNb/M9FGxUKDG9W9Rlg1fP0kfJqBHASC6czvGZU=;
b=WKqxrf/NuHFyT1QeOdQMJG+hIcDbTXFzbj4BeOu7TfTst8XJDUoy7SUFtjqfB5VLWH
VaxJqb+to+RbYQgLpLubeH1L6deIj0q5W42EPqvNBeU4Q2D3D59BWrup1SWNfVBHCdtK
gk65nJ45vY5UACiIpLC6GQsePoPk60K2KZcMZSrdN0R7vdIsOyscR7F3O7HmBmtRpCfq
My9YGILvn240liKXNe3WCoR/ZeEQqfZK6RQeSmKamlylsnM3CJ8EOGGVTtmjyuYfrJ1P
/UuYimRvkrgAO8U35vR/0sijkYWUkMZ3anSYH0hRHFBDynXo6nLo8joJojvQDONLfxCl
cjQg==
X-Forwarded-Encrypted: i=2;
AJvYcCWz/uSa5Ql2ZhLs0GcqZlVYScxAgKI3gjpZEzrOSpD0KLz4GspGd8pWz/CGVs55zSzb2dwZBeY=@isar-build.org
X-Gm-Message-State: AOJu0Yy7s3bnnczZ59jaKN9r4yMMC6JEVlQeDlaDBxRCI2aXJWlMXL6u
gwvDin//DHWi2twEs58gdgazPha7Hk+Fx5LxNcRnjaK7bdkBxl3ViwjP
X-Google-Smtp-Source:
AGHT+IELvOXwV7wp5g1ddPJ0z/2fCaEpCEuYgUDyCojPw6AIlupIb48Z2OZSLBbiYptRNZ9so/03Qg==
X-Received: by 2002:a05:6402:35d0:b0:639:4c9:9c9e with SMTP id
4fb4d7f45d1cf-64350e21802mr15788699a12.10.1763476679180;
Tue, 18 Nov 2025 06:37:59 -0800 (PST)
X-BeenThere: isar-users@googlegroups.com;
h="Ae8XA+YxlELipM5/7+N79j3guPDiyBfdbdA0EUrUWSk5vim0fg=="
Received: by 2002:a05:6402:514:b0:641:6168:4680 with SMTP id
4fb4d7f45d1cf-64334cee90cls478559a12.0.-pod-prod-02-eu; Tue, 18 Nov 2025
06:37:57 -0800 (PST)
X-Received: by 2002:a05:6402:27ce:b0:640:b373:205e with SMTP id
4fb4d7f45d1cf-64350e222a1mr16300423a12.15.1763476676836;
Tue, 18 Nov 2025 06:37:56 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1763476676; cv=none;
d=google.com; s=arc-20240605;
b=jZjtTNhmc+eQYnY8G3aV+YKGF69YWsi9mB0CGamzFILw6jL0jSw8ffsNpi17JvXBPC
HALXYImnQpRJ/D6RHs7u4iBk1b+Le+MSpqptP9bdzh95N2d1JNg1LOpVDJjgF6TZhEgG
H41Q2rgvbruQ9bud65UzAG2+YCH3IJu3Vq2GG17Z3pzmOvGO4CbXwkn87QMAv6K2AiVz
pjVNyS0AKNV9TqPtvXcLcV+ZzWzwczhFyAJ0LUJ6NFApboLSXPuHA4bFnZ0ruYpaSk+W
v6uw6CtgHGufXJLHUPjrqR/0aeTHK+9JvDF0BDwVC6/LIFbCL1uB35vLJWYht/GGDSxj
0g5g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:dkim-signature:dkim-signature;
bh=wvAvxU4mAS1xW4ZluXcUhfBZfDQaHfepnEd15M/sZnI=;
fh=h/3u+BnesbohrVPBf25WVa1dvt5UrhWAO6IFZkZXrvU=;
b=HofDzdWB0eMfl8OCiUporZeHM8fUoteFZw2I9IYZ5lNpn9sSUDkg2M8aM1rMWmTxBK
1qVJSUozZSTkgopC4+tBOkz/LcwhjjD1InF0PEUNcI/tv++1xKt71PP4ZKhSQ7Gk0Syj
SEHSwyvEfh5fLM/T74b6lEtXVZSjpBYKiVf9meA0w5QGspMk7VDjBrFvJWQRAn2WhlMw
lMiqx8tgPeYcGm3fKApHYCmuAutdDJISaGad2txNzYpo+qpUfLr1ZJru3+GgBvwWdujl
ahd1k0/ph7Z5AiF3YvUjWc2N3h72UWRJM7t0jPjPNT5mXsDmULwnUdau23kMUHU1i5t8
nvjg==;
dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
dkim=pass header.i=@emlix.com header.s=20250930 header.b="hPAj/lz8";
dkim=pass header.i=@emlix.com header.s=20250930 header.b="hPAj/lz8";
spf=pass (google.com: domain of anaumann@emlix.com designates
178.63.209.131 as permitted sender) smtp.mailfrom=anaumann@emlix.com;
dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=emlix.com
Received: from mx1.emlix.com (mx1.emlix.com. [178.63.209.131])
by gmr-mx.google.com with ESMTPS id
4fb4d7f45d1cf-643a65a726csi65372a12.6.2025.11.18.06.37.56
for <isar-users@googlegroups.com>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 18 Nov 2025 06:37:56 -0800 (PST)
Received-SPF: pass (google.com: domain of anaumann@emlix.com designates
178.63.209.131 as permitted sender) client-ip=178.63.209.131;
Received: from mx1.emlix.com (localhost [127.0.0.1])
by mx1.emlix.com (Postfix) with ESMTP id 3D15B5FAC6
for <isar-users@googlegroups.com>; Tue, 18 Nov 2025 15:37:45 +0100 (CET)
Received: from mailer.emlix.com (p5098be52.dip0.t-ipconnect.de
[80.152.190.82])
(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mx1.emlix.com (Postfix) with ESMTPS id 2AAA25FB1A
for <isar-users@googlegroups.com>; Tue, 18 Nov 2025 15:37:45 +0100 (CET)
From: "'Andreas Naumann' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: Andreas Naumann <anaumann@emlix.com>
Subject: [PATCH v2 2/3] rootfs: Do not recursively build unneeded packages
Date: Tue, 18 Nov 2025 15:35:22 +0100
Message-ID: <20251118143523.2326879-3-anaumann@emlix.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20251118143523.2326879-1-anaumann@emlix.com>
References: <20251118143523.2326879-1-anaumann@emlix.com>
MIME-Version: 1.0
X-Virus-Scanned: ClamAV using ClamSMTP
X-Original-Sender: anaumann@emlix.com
X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass
header.i=@emlix.com header.s=20250930 header.b="hPAj/lz8"; dkim=pass
header.i=@emlix.com header.s=20250930 header.b="hPAj/lz8"; spf=pass
(google.com: domain of anaumann@emlix.com designates 178.63.209.131 as
permitted sender) smtp.mailfrom=anaumann@emlix.com; dmarc=pass
(p=REJECT sp=REJECT dis=NONE) header.from=emlix.com
X-Original-From: Andreas Naumann <anaumann@emlix.com>
Reply-To: Andreas Naumann <anaumann@emlix.com>
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-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?=
|
| Series |
test and fix transitive multiarch dependencies
|
expand
|
diff --git a/meta/classes/rootfs.bbclass b/meta/classes/rootfs.bbclass index e1179e61..e12e1b8a 100644 --- a/meta/classes/rootfs.bbclass +++ b/meta/classes/rootfs.bbclass @@ -387,7 +387,8 @@ do_rootfs_install[root_cleandirs] = "${ROOTFSDIR}" do_rootfs_install[vardeps] += "${ROOTFS_CONFIGURE_COMMAND} ${ROOTFS_INSTALL_COMMAND}" do_rootfs_install[vardepsexclude] += "IMAGE_ROOTFS" do_rootfs_install[depends] = "bootstrap-${@'target' if d.getVar('ROOTFS_ARCH') == d.getVar('DISTRO_ARCH') else 'host'}:do_build" -do_rootfs_install[recrdeptask] = "do_deploy_deb" +do_rootfs_install[deptask] = "do_deploy_deb" +do_rootfs_install[rdeptask] = "do_deploy_deb" do_rootfs_install[network] = "${TASK_USE_SUDO}" python do_rootfs_install() { configure_cmds = (d.getVar("ROOTFS_CONFIGURE_COMMAND") or "").split()
Using recrdeptask has the side effect that every package of which a task appears in the dependency chain, will be built and deployed, even if just a subset of tasks was needed to fulfil an inter-task dependency. For coupled packages like the native/compat ones, which can share part of their tasks, see 2ca3a7e dpkg-source: Build source package only once, this leads to a full build of the base package, while e.g. only the native part needed to be produced. Refrain from doing so by going back to using deptask which only adds the deploy task of the direct dependencies and rely on correct cache and inter-task settings of the used classes/recipes. Add rdeptask handling to allow for runtime dependency settings. This is a partial revert of 7c7628e rootfs: recursively depend on packages. This fixes build failures with custom "any" packages which dont support crosscompiling (-native only), improves performance as no unneeded compiling is being done. Signed-off-by: Andreas Naumann <anaumann@emlix.com> --- meta/classes/rootfs.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)