From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mail.openembedded.org (Postfix) with ESMTP id 84E117016E for ; Tue, 30 Aug 2016 20:48:46 +0000 (UTC) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 30 Aug 2016 13:48:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,258,1470726000"; d="scan'208";a="162622912" Received: from ashuvini-mobl.gar.corp.intel.com (HELO peggleto-mobl.ger.corp.intel.com) ([10.255.145.135]) by fmsmga004.fm.intel.com with ESMTP; 30 Aug 2016 13:48:45 -0700 From: Paul Eggleton To: bitbake-devel@lists.openembedded.org Date: Wed, 31 Aug 2016 08:48:05 +1200 Message-Id: X-Mailer: git-send-email 2.5.5 Subject: [PATCH v2 0/4] Tinfoil fixes X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussion that advance bitbake development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2016 20:48:48 -0000 Add context management and a parsing function, and ensure tinfoil using utilities within the bitbake repo shut down tinfoil properly at the end. The parsing function in particular is going to be needed to properly fix the layer index update script that has been broken since the multiconfig changes. (This series borrows a few things from my tinfoil2 branch.) Changes since v1: * Ensure we can still pass a custom datastore into parse_recipe_file() since the layer index update script needs to be able to do that. To accomplish this, make some minor structural changes in lib/bb/cache.py to make an internal function into something we can easily call from in tinfoil. The following changes since commit 0ed8975c42718342a104a9764a58816f964ec4ea: fetch2: clean up remaining cwd saves/changes (2016-08-24 13:55:36 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib paule/tinfoil-fixes-bb http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/tinfoil-fixes-bb Paul Eggleton (4): tinfoil: add context manager functions Ensure tinfoil is shut down correctly in utilities that use it cache: allow parsing a recipe with a custom config datastore tinfoil: add a parse_recipe_file function bin/bitbake-diffsigs | 6 ++--- bin/bitbake-layers | 53 ++++++++++++++++++++------------------ lib/bb/cache.py | 73 ++++++++++++++++++++++++++++------------------------ lib/bb/tinfoil.py | 42 ++++++++++++++++++++++++++++++ 4 files changed, 112 insertions(+), 62 deletions(-) -- 2.5.5