From patchwork Tue Nov 16 03:32:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mittal, Anuj" X-Patchwork-Id: 49 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C96A1C433EF for ; Tue, 16 Nov 2021 03:32:56 +0000 (UTC) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web12.5172.1637033566840862534 for ; Mon, 15 Nov 2021 19:32:56 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: anuj.mittal@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10169"; a="257369184" X-IronPort-AV: E=Sophos;i="5.87,237,1631602800"; d="scan'208";a="257369184" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 19:32:56 -0800 X-IronPort-AV: E=Sophos;i="5.87,237,1631602800"; d="scan'208";a="506232268" Received: from jli90-mobl.gar.corp.intel.com (HELO anmitta2-mobl3.intel.com) ([10.214.145.204]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 19:32:54 -0800 From: Anuj Mittal To: bitbake-devel@lists.openembedded.org Subject: [1.50][PATCH 8/8] runqueue: Fix runall option handling Date: Tue, 16 Nov 2021 11:32:37 +0800 Message-Id: <15dadb69b4c5d29b80770e55d1e9afbe47084aa4.1637033341.git.anuj.mittal@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 16 Nov 2021 03:32:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/13056 From: Richard Purdie The previous fix for runall option handling had a small bug in it, it didn't clear the originally processed task list which meant it was running too many tasks. Fix this so the list is reset and rebuild correctly. Signed-off-by: Richard Purdie (cherry picked from commit 87c9e120897ed04dfc64d4752fc602f9bfcb8645) Signed-off-by: Anuj Mittal --- lib/bb/runqueue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 3300bb4f..cd10da8b 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -933,6 +933,7 @@ class RunQueueData: for tid in list(self.runtaskentries.keys()): if tid not in runq_build: reduced_tasklist.remove(tid) + runq_build = {} for task in self.cooker.configuration.runall: if not task.startswith("do_"):