From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mail.openembedded.org (Postfix) with ESMTP id E45646F8DB for ; Tue, 18 Mar 2014 11:38:52 +0000 (UTC) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 18 Mar 2014 04:38:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,677,1389772800"; d="scan'208";a="494272071" Received: from lpalcu-linux.rb.intel.com ([10.237.105.45]) by fmsmga001.fm.intel.com with ESMTP; 18 Mar 2014 04:38:52 -0700 From: Laurentiu Palcu To: openembedded-core@lists.openembedded.org Date: Tue, 18 Mar 2014 13:38:45 +0200 Message-Id: X-Mailer: git-send-email 1.7.9.5 Subject: [PATCH 0/4] SDK buildhistory fixes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2014 11:38:56 -0000 The buildhistory dependency files for target/host SDK packages were not properly created because the wrapper function called, list_installed_packages(), was always looking in the image rootfs. This patchset will rename the old wrapper function to image_list_installed_packages() and create a new one, for SDK stuff, sdk_list_installed_packages(). The changes in package_manager.py, even though they appear to be lots, its the same code moved around from one class to a newly created PkgsList class. So, the logic remains the same. Tested for all backends (buildhistory activated) with the following: bitbake core-image-sato && bitbake -c populate_sdk core-image-sato laurentiu The following changes since commit 6bbb179cc526c86631dfcb140e3dd51a8c07a52d: bitbake: runqueue: More carefully handle the sigchld handler (2014-03-18 10:23:13 +0000) are available in the git repository at: git://git.yoctoproject.org/poky-contrib lpalcu/buildhistory_sdk_dep_files_fix http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/buildhistory_sdk_dep_files_fix Laurentiu Palcu (4): package_manager.py: create separate class for installed packages listing rootfs.py, sdk.py: adjust/create the wrappers for creating installed packages list image.bbclass, license.bbclass: adjust the name of list_installed_packages() buildhistory.bbclass: create proper dependency files for SDK meta/classes/buildhistory.bbclass | 40 ++-- meta/classes/image.bbclass | 4 +- meta/classes/license.bbclass | 4 +- meta/lib/oe/package_manager.py | 376 +++++++++++++++++++++---------------- meta/lib/oe/rootfs.py | 19 +- meta/lib/oe/sdk.py | 18 ++ 6 files changed, 264 insertions(+), 197 deletions(-) -- 1.7.9.5