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; Tue, 18 Nov 2025 15:38:04 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f62.google.com (mail-ed1-f62.google.com [209.85.208.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5AIEc4Fw031395 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 18 Nov 2025 15:38:04 +0100 Received: by mail-ed1-f62.google.com with SMTP id 4fb4d7f45d1cf-6450e804cd9sf440774a12.3 for ; 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=iOacG1gHhSp3K9qbnvlEAwrOZimp5yu+NrFSE2qhkkuETQw1fWRUNw/a7h1eTaTrTi w2IWTicvhA+/QuCXzwyXsVFE3kDg43d5pOULVD3lBP50c1O0VAZTYer7ORa7zJBrW0XW Xj8G7xeFhVm7rqJ4QXblwHAWT74VFkAQm/2/YQGb0W7COtWmh+Mz3nlp4AeENkKnGXp5 csfvnOizZWLQqPTPuUHizqwWjsc1ulL6A26MnVKBIgNZwrvGyfRkIsabyjWDu3YWSRxW 6Z/aFmAq/BlWYYiDnO3L+pCNn2YCBEdjulhPRPkeEM/PyZWUyqDGD7rG7xz3SC91boK6 LltQ== 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=vZs8HLyRMJ0Ta61OKsRvNAob3atfxuFNnIm2h0qNbWA=; b=VExD/SBJyoUkBnX7dqDQ1cAHWSBzMDNhuhWD9luB7FHorjVRqPAmxI0FPNRrT+rkSP c54Gy+ih92Q6xZ4VaD2QogInOtJgFiuIEVW0w9e+a7BF+NDvhfAO9nlLmcG/fRjpqbfY K76olgVW3OUJJyzx2CKrnyAIu7Gwl8BwVfYOeFzUkQ0aFZUcKrNY/YiMWBg8y79n4nqN q00UTUlTSLPhkWzZv9W2idKBfvasiVqK4NtxnxY3jpxvdULqOIZvQc2l/KESnYes3iJO FIInO5/KhY62acTXXijOoGX8UyH7D6miNBnrt79ivCfNDQXSmSgOc27uji2cdg/uN7v9 Toxg==; darn=ilbers.de 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=ilbers.de; 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=Rn2FAhKMZhyNHfY5klelM2axjr3P9dpl9XZY0c553JYlFGVZyPPBNL1mkyRz2Wl+zO XG5UVsl1w1y5bOh5RC9onLvJUydFF+zkb7V/8uvHEu5vZXACbn+GfNcONOaYGGX6R2wv +QRSGravZDjP1y9iMHqieIx8Y01rrpZG2PgfIcgktWE3LeE+aUeD+DpF4ezSmwwkKJRu 8zX9IzPxOUtq++svyJIT8KnqZ40D04ZGKWGFNB7e8w/EhdgcTSRwoeTlatYeRc0OXSjv 2N9fyPylAeFOIV8YTHzN3Bq5kDKQOUcVPyJPBtxfZZL309uieEdxKnHonmm+pSxLvN2X aFTA== 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=SWi8P+B9X6EHMXzUj6FiFeEv0iF1UYvNExh5OxAWQZC6P/fF4Rx6WHFWJbhXIq5MR7 wbI5oXqT//FZuToIrKS4O5Gj+l62vnm9qoP+St2SLI58Sq9Ii+GgGHZyOtwu/47d7MG4 eAx8ygOCWoO+NXevGQln9zi6btoI/UnTNfImWhugC3KyBIkuYC6+KkViPIh2n4A/Xakf YsRXY1QPMxVu92Ck8qQOEWOymL4mkHbd67O4QLR1CytW9Ktr1rwa1dIbYFFkfStPe3vo CDqx/uX1UpMl822WaE0b3OrCaNzlDwrgVxr1Apx+jIpVn8Dq6aIz/bLF4u9NfzgENpZc UhGA== X-Forwarded-Encrypted: i=2; AJvYcCVRXnymoNHNpojbF4kpjdu7kBKzF+p1J8iYwphthm0iPfwGEOXxap+3fJeUZR8IbvLrPzV6@ilbers.de X-Gm-Message-State: AOJu0YwShoPP8uV2F9YqZsbTt1wRP+k+zDaQWZGgv2648cXkplXWhaXK OEvg0dv74ISa/hbJTHMkbgc/6zI11paoN2EV7f9m9DyXpWWG0ED9ROD+ 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 (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 ; 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 ; Tue, 18 Nov 2025 15:37:45 +0100 (CET) From: "'Andreas Naumann' via isar-users" To: isar-users@googlegroups.com Cc: Andreas Naumann 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 Reply-To: Andreas Naumann Content-Type: text/plain; charset="UTF-8" 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-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-TUID: 2+jN50iftJ9Q 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 --- meta/classes/rootfs.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- 2.43.0 -- 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/20251118143523.2326879-3-anaumann%40emlix.com.