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; Mon, 03 Nov 2025 16:43:03 +0100 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 5A3Fh25C003692 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 3 Nov 2025 16:43:03 +0100 Received: by mail-lf1-f64.google.com with SMTP id 2adb3069b0e04-57986226b53sf2127435e87.3 for ; Mon, 03 Nov 2025 07:43:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1762184577; cv=pass; d=google.com; s=arc-20240605; b=AjIElaCGnVNlePNyZkcGr1WkqbVB3FegOney5O1nkH9zPJoNeUei+P0FoNq4cAwB+8 HDy3s59AYnEN/oYOlSIoHLFteAzZ/qegVS2RppsluqTghyFtNcVRE2uKy2Ajzxq1NKFO LzDUUtm55bPHPkPiV8SvxWZZQAjHGe5hf9VyxqzhyAWT+vDnCQOSwtWlzypdZq8BZNEP /vicsHUfGPOcibDwZGtCToJdtr1/Ma25SI2b1JpZT24tQShY4tkB4rcDOL4GcRiobS7f p59a4N6one03vClNX7U1G0Xe/h+cx3tK/J/Migzj57vXb8IhMRRZ4Fv0s53Mkw5Hihu3 akhg== 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=smfh97Xoa83LBBjv0DaM/Y0vOABwdDC19hUA6rRpmyI=; fh=3x0DoYND5zEOl9m/DsZYObxb0bJZn5IoBD3Qm/BHwnk=; b=KX4XqCfQzO6zVAZaWDkXMZKiAqlTvvPPXFsM9pv3jIk9A3rV26NHhxp/q+eOTWqMYh 5iNGXpmtPlOhy3D88OEhVF+cC7pJhz5QHQ+xKiRIUO2OCNWLQGr3I/DMYON6q6rdZCo+ wo7TG86s9YSr2FF1UAnaj8VLl6wxZ3q5SjiRXSwKgfEfi0KzChYDFl2+tppF7B6VkcIy 7XiOR2auxufsIUCT2VuVVjNBy6IkfMjLD7fbVnKKJ1Hvzjynbhi6YWnh0Q2rbYUThgY0 YPu+U3rZc7Pd0v1cUtj5BnIAjaoncCXtMlnQz38wYXHswi38idUm9j9AGflRZp9v9jXo Zclw==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@emlix.com header.s=20250930 header.b=BwRDcVRf; dkim=pass header.i=@emlix.com header.s=20250930 header.b=BwRDcVRf; 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=1762184577; x=1762789377; 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=smfh97Xoa83LBBjv0DaM/Y0vOABwdDC19hUA6rRpmyI=; b=sV6ou/Fissc7ErC6YgA9sUSh8K56F+0CxTduG1A95Q25d6JnJXXDbDOZ/UQYzFjQRp yHOvGCXBoEkweljsn5TPdL1Ukwi537WlW/btuXHx0CHxxElhGlGppHYNeR3MbYjVfTT7 TQ19x8KuOR779scw6ag2bCnA/6l1GpTOzTeplM1lrR1u0mGUKWE8dDknNZbxah5oxwmm 4BkoQ6p9dHxHNO4XKNKGQZARi/zoNlhzD70nhQAsN7XTL+upHAJhybpLi9TEitnHPpSG gePGTuBBCp2seZEHTOXzVVMOz38vuvduMAMm93ezWyyvcjcrydMxpm4BOvzWkymQG53F NtCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762184577; x=1762789377; 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=smfh97Xoa83LBBjv0DaM/Y0vOABwdDC19hUA6rRpmyI=; b=CAAX0WQQ4FBz0lvN8x+24sb45wxgL2HOtL/2ZovoUKbTuUvj+6XPsbaZyW1Bx5kuxn Nz5OMUYq50WTDo2idvJq//xbq5MAZyWW+ZrcN4XdNoSQLLIpSjj45wRM4cNfQAZ1NiML RUPWUw4HeQi15wcWh1MLeTJzxXTjrJplfJ1ilTHfw3r2bFlFeG1l5i2OCVVnzCs84KgL R3Reyki/AaBfID9ZXvhg7bIbcckVtJO4NkImNn6KLDSpAKsWo5SHnMCzx4k/+6+wbHPE fiyOquuC6X+DSld4OKRR9dHD4ZEXOwVvnD0HgCc40LIakrExMK52qMj4A10bQKQ32y2C zzdA== X-Forwarded-Encrypted: i=2; AJvYcCX+kWMRJbzwytfJsBB1eq89NetkOABWH1F3q6sl7XGjmMTeM2w5alWOZBtl5kiVRnopB3CA@ilbers.de X-Gm-Message-State: AOJu0YxIXV+unE/cTvgvMFkJ0lmrdBUZfwZ6feUw5ozEgWNEXK/5xPho OAKicBuV4AZoUWifW+A+celN57O3NjEsRbfUgtKjnoM3eUCWXXx6Qr5C X-Google-Smtp-Source: AGHT+IF2v7cNq0+PoD4BrngnvWuIoTeop6qga2o5nizWNnFoeRTHU2EznitVxwSenJQ8/bEeNCMK8Q== X-Received: by 2002:a05:6512:b25:b0:594:28f6:b065 with SMTP id 2adb3069b0e04-59428f6b5b7mr2013091e87.17.1762184577107; Mon, 03 Nov 2025 07:42:57 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+YVjHGaM1vyncR6COiTP7ju6vwciK9VpnCn9cz4wVWRFg==" Received: by 2002:a05:6512:63d5:20b0:594:2bb1:82cc with SMTP id 2adb3069b0e04-5942bb1867dls192482e87.2.-pod-prod-05-eu; Mon, 03 Nov 2025 07:42:52 -0800 (PST) X-Received: by 2002:a05:6512:2389:b0:594:27c6:a00 with SMTP id 2adb3069b0e04-59427c60cc0mr2413786e87.4.1762184572193; Mon, 03 Nov 2025 07:42:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1762184572; cv=none; d=google.com; s=arc-20240605; b=Y8TU+a9GvbompOUpNYekw3c0/0HlWIXvI4wAbo1M+K5LZ/ZV4QofZufGJl+Q6uV554 KX512STUwNfRUiykSqDtBrYVfLYF0Vftc3oGmBuVwOzRz/Whnnl1Vd/u9ggxpQ9zhm0g nXWPND7sXKzuEqASv1ylI4xTXILA5dqge5DMRjfd0VpfsZPsA/z5w2a8wHcORvFWllom FedRkzYyLqK5syz1kmBgRBh5iKESMhjhygB/NEokan7+DUqTL7+jGIn0ZsIZtTIjbC9c JDytX0U19GPPftEKnzvG+9z8i8CduWV4cb+n/JBnPKXrcm0Jc+PvDSMSJO4Hn1RAsNnk cqIQ== 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=/0XzuiFn0m7dEznYP1hL044LQrqtOxRxrrRKb1aYkjY=; fh=h/3u+BnesbohrVPBf25WVa1dvt5UrhWAO6IFZkZXrvU=; b=JmHMyfBmBF+DLfybT0F1JjlgkkXNW7XR1eMJSPQufo2tf4DrVyGIhJInIQWO3iw1yR yAuQ6UJpm6Ddjaz519yo0qbDcd/rwQN4b4bztalDIH9Ha04VD6t9q/ewLlUQvV5Uzu+m tmd//G3sk4k9UMTwAuV26YUVuX1w4RPk0PeLP5yIkmkFOzMzA5L8rkAkNgjC4KcRxcE/ uaJeOVRqkCseWwCFHi76Zci3uM35iuNxdZqyc5o/ChQweDwTeNhrEKxfm2zIlDC86UTn VJXBrQTog/L+12Cc8OQE0n8v1RYxv1Q8AoXK2P0Rd8ch3Q4TjGrLvARMW5qXn8EZbxzI mu2Q==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@emlix.com header.s=20250930 header.b=BwRDcVRf; dkim=pass header.i=@emlix.com header.s=20250930 header.b=BwRDcVRf; 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 2adb3069b0e04-5943437ed58si2409e87.1.2025.11.03.07.42.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Nov 2025 07:42:52 -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 3F4BD5F9CC for ; Mon, 3 Nov 2025 16:42:48 +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 2DAFD5F861 for ; Mon, 3 Nov 2025 16:42:48 +0100 (CET) From: "'Andreas Naumann' via isar-users" To: isar-users@googlegroups.com Cc: Andreas Naumann Subject: [PATCH 1/2] rootfs: Prevent adding unneeded package variants to recursive dependency chain Date: Mon, 3 Nov 2025 16:42:22 +0100 Message-ID: <20251103154223.985951-2-anaumann@emlix.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251103154223.985951-1-anaumann@emlix.com> References: <20251103154223.985951-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=BwRDcVRf; dkim=pass header.i=@emlix.com header.s=20250930 header.b=BwRDcVRf; 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: 6IEI/4qWQlWY Using recrdeptask has the side effect that every package of which a task appears in the dependency chain, will be fully 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 packages which dont support crosscompiling (-native only or "all"), improves performance as no unneeded compiling is being done, and avoids ambiguity when both packages produce the same artifact (deb-file). 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 cd8fd1188d..082a723996 100644 --- a/meta/classes/rootfs.bbclass +++ b/meta/classes/rootfs.bbclass @@ -234,7 +234,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/20251103154223.985951-2-anaumann%40emlix.com.