From patchwork Mon Nov 3 15:42:22 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Naumann X-Patchwork-Id: 4513 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-f62.google.com (mail-lf1-f62.google.com [209.85.167.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5A3Fh2I6003690 (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-f62.google.com with SMTP id 2adb3069b0e04-57986226b53sf2127433e87.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=EftF7Lxk5vJxmJF/wzeHKKGb20mzNDIg6WebWupGrVc7tE70K6ggjfVnaD2Y5QqEhK IIt461QBnHzmv6w4pA72/XTirB76V52qF/MjDfCHs+OwPoAuNyuEdhUIVS8A3xA/0v8s bfgRbZkdP7is0vDgnUdHLjD05fPI2J+TMuBSGUy5kGhJrsL69iWnKhbq5EakcPxR6gE0 HZja36AdPNRhwrPqYCXqpaNQ46jr9ThIizCO0+VH89qZ3qftHnj2Y+E1SXI7Cq6kl5SX ZAXrLjuMkAHseEmZYAUX0587fVygqMNWC7OFsvWQniE5DJuzcHVTVOt1xjgyHntBqX+j 4HwA== 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=tfw+d4meAURHhI2NvhyBfy1CUSrA5sKtm2lhAsJPbHg=; b=XjlvB9hyuJXi9ic9UY7IVvTxTjBpiEPqQijIoUbDGerJASy2mEE0whGtsGeBkNEEjn GEYMdYW9SKcIbXW2ULk3OSNx/fH9RaDMXmUYIZv+DFNUGn4DKUAb4SpdAj/kIf3GX9yE 6/k3ZamTOAAb69xd2jLtyWu3jTvYe4+pQ7x5TgwdqVAoiPfiroSFrgIINlPjZ2gEPQ7L iryGcN9vLmeatNesaBFQ5qn1zU4dLUr+mwHfYFMpjwncfZEEyXbAX4OL8ZBVmk3H9KuH ZqGd7iKIJdQ4qa4Y6yO0+mo39jiTDMCeDsMNLh4FswZXmM57j+KwXXPR35OC88daC3cx dkQQ==; darn=isar-build.org 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=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=smfh97Xoa83LBBjv0DaM/Y0vOABwdDC19hUA6rRpmyI=; b=KfBZh31+zMsXkS+XOYlY9WJ0+PUS8gz9Yh2fN6+Zi5n26VsUg7AGbdA/bgazPT2OYF wu8acVo8B3TJ2IcPtfOJBK+aJT5Bs3dUu+oQZ7IEnIthb4tF4xCSp3yoaRHzk6RjLhDD uOMKqnX8rjK8gQAmSYJqK4HoGCpfItWAaowufzmk8TNtkKWwK9kjktDzu5aO9esGEUwM Ho7Y85YsTH8BMMJP6K0FSWNn/zrYXGHUTam0msEe/2lDzo+qPqU3njkEU+27QVYf4hfg 28w82YCgn7kvwAzxw+N3gaUND7cTXM+fyBssB3lxrtEGkHeTikkrMi6yVUEPQyb50GmL y7Zg== 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=ZtINtKVLTmtn7ETs/3GqkSrgWnEGkmVBZMiDf4OVfgOixLqRId4DBLvFRqJuru4s2J KZSG9Ja9uY4iLlfpMu0a+03WmppFyOWnlEU3SmR3fhxcUiztxy7KM6kEMvhsx0dXGU+F u7lTaomrxC0n7wmz9/jg7AR0EJfN07NSxeSe1t0oOG/PPyh10JYBChCBoDLmtpGljiLs c1PE1903fsZBKrC8fmTIoiIpWXnr6DoRMv0TlIl0emjnnopABmby3f7q5YWMpw/cq23y rLqsgZbnokkf05hBtEDroVBxQYFe8KOSSnjqgjVv4EF76bHU6gsu4Nod5Kx06/fY9r1D EuRg== X-Forwarded-Encrypted: i=2; AJvYcCVwVDYeaMGYfwQTdMUnueUSnki8BzEZv5vWCFUYqCqvyxzEqlwb5dqY40lE1NsTTdVAH7iNsYQ=@isar-build.org X-Gm-Message-State: AOJu0YybN51AWBwTbeDC8I6R7mR4lpDsmh2VX04L2+GwMCLlqFOJa+/1 wXDZarjkGdQA3ckNA9xDyqbj/DUfnHRGeIXeN6Cdh+9Uw00LH8mYJlLk 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) X-Patchwork-Original-From: "'Andreas Naumann' via isar-users" From: Andreas Naumann 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 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= 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() From patchwork Mon Nov 3 15:42:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Naumann X-Patchwork-Id: 4514 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:08 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f61.google.com (mail-lf1-f61.google.com [209.85.167.61]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 5A3Fh7mS003711 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 3 Nov 2025 16:43:07 +0100 Received: by mail-lf1-f61.google.com with SMTP id 2adb3069b0e04-59428dcd1fbsf929212e87.0 for ; Mon, 03 Nov 2025 07:43:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1762184582; cv=pass; d=google.com; s=arc-20240605; b=YrRGPV48s7Lha5TVgTmOyDhlqlabOPrnzDs7wa2dGn3zNMPXpaVLsDEeFOOX4jPpeu Sm/pKpVi9y9o2VovwoYST6cH235U5Dwj0WZIos2m0ncd8KCgVcw46QbDbDCy6nqxf6g6 /TRc8JUOOx+f3h+6FF/96a+IMdsB6LfGW5P6Ya1zygRTpNqQGyhEn0pN1Vpea5iDIi4j nvLAJC6QAsU/1lvuwZQXuvVUqmmTTVPJGuphfyBSOYFU9sNpQEC2thDaTKfJ34WgvPZM 1wCxSjhmt79SapySxvkdrF9i2Lk+QGZ7DMInDUYXQhA8S3koCHc7ceRrD8utncPJASO3 kjKA== 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=HSf+w3KTkCKk3VmZEe/hSgza1quX901Z1GTgs7RZdLo=; fh=47UAcD7KAqX23RzYy4l6LYxWbO/gJkcVrDpiZfKYAe4=; b=T6Y2TV7yDYtuZqujmkIRgK+nbwXzDtOLdy9jMdiyRbO0kQZr02AIrJHKpv2N6WMBgU ETclwBotyUHsi59cNKHjTyb1TlekF/Uq/kgYoT2vmALK5xWgA6yJtzL1w2moZwIKjP4K ykAjKhGcRxNEnjxfasAljTM7Xx1uBVG5QytyrSnEKhhVVyY6gpbRggBotiCjwQhNaZgr CJzxrg7v1lq0XbMxs6pd6B/Ru1tk8FkUOS6Sgd0g3FWYNUuZCgwuvWDNZWi0mBqqIj3n V4lzJ15w6GPGZevusK9t2FDxsQv5oa3K7D5mAMiMsEZbcRTYw4kMPqehAxviF2aMoP+i bb9Q==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@emlix.com header.s=20250930 header.b=Fw07lkMx; dkim=pass header.i=@emlix.com header.s=20250930 header.b=Fw07lkMx; 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=1762184582; x=1762789382; 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=HSf+w3KTkCKk3VmZEe/hSgza1quX901Z1GTgs7RZdLo=; b=JgT0JwYDkf/z0LnVbv0/6JfNNtba0LTAWgRmGoe2kNEVK2q9lsK8lNJtopxAGBhnr1 RS9MAgMRUSFhBpBHW6w8VSudDkSEaixDZl+GmX+45vUA9FG/RmfICWhGNa9Px3HQ0Fug pJzNru/tuYUArVtG53XfLB4ylAoXGbj1RLv+mZ5KXs6JN0nLoE1kdfFGHMdi//pFIPaw bh8nXoKG4XBjHmGX6yO7qzV2dHxb6dXUJTAXJicFv5+T4Y8PYPJPygtYi3CdvYfUSLEX Hbm5OcENy3f2yT2TnicHhE0/s5EyiLruaKM8kXNHrE2oAzjayREoL9oq0HXwcgaZ4mH4 MzaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762184582; x=1762789382; 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=HSf+w3KTkCKk3VmZEe/hSgza1quX901Z1GTgs7RZdLo=; b=wr9GZlP28hpDDkyR4tZkmrAwYwli08/iGRMM0q+eNKQ3ONB1t0jlX/9wYYwrsbKjgj l45wcxMZaxE1f0dwZmY4qEyCM3rDYoSiLIRr3N3/q/EVA+BxGwz1hQVmnqln7yopCO5N RhiHsnum0rM4+pE08hZ1jqDPwN9XH/VUMJDjzQzyWmtlnQ8/arh8E0LMnVdYkwJVGTTJ GBvvEOv2E6MFzweiwMKGmwDXpixuvRWS9sWcd3fQxk7Z+Fc0HMVKqbEVjeZjtUKm+loA SxROFQcmR2EuW0vkE1O2F5Tua5KIEZYjyYP/yDFh8Ks+0hEMlJ/sAkNmBh7DiSsFStS4 IOMA== X-Forwarded-Encrypted: i=2; AJvYcCWPvEEHucSV6jdiUEB6qHk5vwIL3F3nlDpgq/i6hNJrl5/dS1Mk0PJGyaGUOWTjbOftDuKoDok=@isar-build.org X-Gm-Message-State: AOJu0YzQQrQ95EW/ZYlEPP6ke0R85R5gCEYrKdqSckKDgFcHJkUqL3jl pXlFbfIotq8DN0P9toGVbHHI0SaMOZTrVBfuCttPqoDXzfM1y65DeN1v X-Google-Smtp-Source: AGHT+IFoz/gnkzVaOWxCq9eTnco5xGJqus8j9ecLKYvyHnSptO17+C6H6ol55QOfJhT6cWX+qz4mWw== X-Received: by 2002:a05:6512:3048:b0:594:27c6:a10 with SMTP id 2adb3069b0e04-59427c60b7bmr1938620e87.42.1762184581638; Mon, 03 Nov 2025 07:43:01 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+ZPnRQXlaT7ZbAn2gf9NtxPolizaoPOc/s5wcG8Bd8GRA==" Received: by 2002:a05:6512:3986:b0:591:c335:c65e with SMTP id 2adb3069b0e04-594175a1eabls1486428e87.0.-pod-prod-01-eu; Mon, 03 Nov 2025 07:42:58 -0800 (PST) X-Received: by 2002:a05:6512:b17:b0:585:5cb5:590 with SMTP id 2adb3069b0e04-5941d511e78mr4168704e87.11.1762184577774; Mon, 03 Nov 2025 07:42:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1762184577; cv=none; d=google.com; s=arc-20240605; b=F8JBKPR7ZWtkFnwdnx632sTphecSlrtnoKPDso2/tW/n3k+HHuDPpDnQeos5SAQEU/ ZGJIrodplgKBdO6Bez3eQyUYdg6RgHvwCBJjL3tdyWOaJzfOB04aP/TR0uouiPTkuqPM J8W6KiKaowDyf/b0qlW6Whmn6A7JlRbrC5pXeZWXzHLCrckkgbfHus57IrvL41NDyETR b05nXoEhsj/Mcm9jaWJqPDArR2uIwNhIHED06ZFQAEBjRrbYfKW7m7oKIayTPaYS5FTe nr4lwUK0uyjPyreYFzNc0denqtf9lEzsP427Kri/J3wSAVBue7Sx6ScvUPE61kdqyTuJ BOqA== 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=oecbMyCr95c5+WIENvR/x/mFaTBbJa3JdTXGJcbfNkg=; fh=h/3u+BnesbohrVPBf25WVa1dvt5UrhWAO6IFZkZXrvU=; b=VaiGbKRaI41sP8cP4H9E7obxNJOqp3XyKhzJclYpB9dSRGOKzSzxVJ2kZxET3T9giS m5PHKrWASVNQbWqD6xPGJOT8KCOi3MqNfpyuH/szQeYlzWRtLFeGCaueJqkR2lvRH7ah RBBdtHiuL22OqdbtZMre9DPlmFYFEzt+xrSOLZZ99x0VlEQmzlHedmRre9W/otYmGWmC GNLLPru0C7zfz/5HHNRYxioOS08Kvzkk6kWCZyo6aAwqcrY2PNp0smrYpL2WR/31/olb T/WT3apflNYx5ZlAXOMx04sWjfmw9vzkERGEyM0PWNCA7mu7Yyanh5WhtB1LS8yHn4HH 2Dzg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@emlix.com header.s=20250930 header.b=Fw07lkMx; dkim=pass header.i=@emlix.com header.s=20250930 header.b=Fw07lkMx; 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-59434433cc9si1646e87.7.2025.11.03.07.42.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Nov 2025 07:42:57 -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 7AE4E5FB00 for ; Mon, 3 Nov 2025 16:42:49 +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 69CAA5F7F1 for ; Mon, 3 Nov 2025 16:42:49 +0100 (CET) X-Patchwork-Original-From: "'Andreas Naumann' via isar-users" From: Andreas Naumann To: isar-users@googlegroups.com Cc: Andreas Naumann Subject: [PATCH 2/2] DONOTMERGE: testcase for transient native dependency Date: Mon, 3 Nov 2025 16:42:23 +0100 Message-ID: <20251103154223.985951-3-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=Fw07lkMx; dkim=pass header.i=@emlix.com header.s=20250930 header.b=Fw07lkMx; 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 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Create a dependency chain as follows: image -> native all package (adduser) -> native any package (gss) Since gss is broken for crosscompile atm, this will trigger a build failure if the -native variant is not handed down the dependency chain properly and somehow ends up building gss for the target. Signed-off-by: Andreas Naumann --- meta-isar/recipes-app/adduser/adduser.bb | 6 ++++++ meta-isar/recipes-app/gss/gss.bb | 5 +++++ meta-isar/recipes-core/images/isar-image-base.bb | 2 ++ 3 files changed, 13 insertions(+) create mode 100644 meta-isar/recipes-app/adduser/adduser.bb create mode 100644 meta-isar/recipes-app/gss/gss.bb diff --git a/meta-isar/recipes-app/adduser/adduser.bb b/meta-isar/recipes-app/adduser/adduser.bb new file mode 100644 index 0000000000..d513274710 --- /dev/null +++ b/meta-isar/recipes-app/adduser/adduser.bb @@ -0,0 +1,6 @@ +inherit dpkg + +DPKG_ARCH = "all" +SRC_URI = "apt://${PN}" + +DEPENDS:append = "gss" diff --git a/meta-isar/recipes-app/gss/gss.bb b/meta-isar/recipes-app/gss/gss.bb new file mode 100644 index 0000000000..8de670406c --- /dev/null +++ b/meta-isar/recipes-app/gss/gss.bb @@ -0,0 +1,5 @@ +inherit dpkg + +SRC_URI = "apt://${PN}" + +DEB_BUILD_OPTIONS += "${@ 'nocheck' if bb.utils.to_boolean(d.getVar('ISAR_CROSS_COMPILE')) else '' }" diff --git a/meta-isar/recipes-core/images/isar-image-base.bb b/meta-isar/recipes-core/images/isar-image-base.bb index b381d85931..d3d78e6d58 100644 --- a/meta-isar/recipes-core/images/isar-image-base.bb +++ b/meta-isar/recipes-core/images/isar-image-base.bb @@ -11,3 +11,5 @@ LIC_FILES_CHKSUM = "file://${LAYERDIR_core}/licenses/COPYING.GPLv2;md5=751419260 PV = "1.0" inherit image + +DEPENDS += "adduser-native"