All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] buildhistory.bbclass: create wrapper functions around buildhistory_get_sdk_installed
@ 2014-02-13 13:49 Laurentiu Palcu
  2014-02-13 13:49 ` [PATCH 1/1] " Laurentiu Palcu
  0 siblings, 1 reply; 2+ messages in thread
From: Laurentiu Palcu @ 2014-02-13 13:49 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit ee151ed6bc16312733c67b91bbf65959309b640d:

  lib/oe/rootfs.py: fix RPM multilib issue (2014-02-13 12:06:01 +0000)

are available in the git repository at:

  git://mirror.rb.intel.com/git.yoctoproject.org/poky-contrib lpalcu/buildhistory_fix

for you to fetch changes up to a831fc1980c868656ae8c081eda17ab5464e5387:

  buildhistory.bbclass: create wrapper functions around buildhistory_get_sdk_installed (2014-02-13 15:46:59 +0200)

----------------------------------------------------------------
Laurentiu Palcu (1):
      buildhistory.bbclass: create wrapper functions around buildhistory_get_sdk_installed

 meta/classes/buildhistory.bbclass |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Laurentiu Palcu (1):
  buildhistory.bbclass: create wrapper functions around
    buildhistory_get_sdk_installed

 meta/classes/buildhistory.bbclass |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] buildhistory.bbclass: create wrapper functions around buildhistory_get_sdk_installed
  2014-02-13 13:49 [PATCH 0/1] buildhistory.bbclass: create wrapper functions around buildhistory_get_sdk_installed Laurentiu Palcu
@ 2014-02-13 13:49 ` Laurentiu Palcu
  0 siblings, 0 replies; 2+ messages in thread
From: Laurentiu Palcu @ 2014-02-13 13:49 UTC (permalink / raw)
  To: openembedded-core

bb.build.exec_func() does not allow passing arguments to the executed
scripts. Use wrappers instead.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 meta/classes/buildhistory.bbclass |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index c048ca2..0033b5a 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -388,6 +388,14 @@ buildhistory_get_sdk_installed() {
 	buildhistory_get_installed ${BUILDHISTORY_DIR_SDK}/$1 sdk
 }
 
+buildhistory_get_sdk_installed_host() {
+	buildhistory_get_sdk_installed host
+}
+
+buildhistory_get_sdk_installed_target() {
+	buildhistory_get_sdk_installed target
+}
+
 buildhistory_list_files() {
 	# List the files in the specified directory, but exclude date/time etc.
 	# This awk script is somewhat messy, but handles where the size is not printed for device files under pseudo
@@ -449,8 +457,8 @@ ROOTFS_POSTPROCESS_COMMAND =+ "buildhistory_get_image_installed ; "
 IMAGE_POSTPROCESS_COMMAND += " buildhistory_get_imageinfo ; "
 
 # We want these to be the last run so that we get called after complementary package installation
-POPULATE_SDK_POST_TARGET_COMMAND_append = "buildhistory_get_sdk_installed target ; "
-POPULATE_SDK_POST_HOST_COMMAND_append = "buildhistory_get_sdk_installed host ; "
+POPULATE_SDK_POST_TARGET_COMMAND_append = "buildhistory_get_sdk_installed_target ; "
+POPULATE_SDK_POST_HOST_COMMAND_append = "buildhistory_get_sdk_installed_host ; "
 
 SDK_POSTPROCESS_COMMAND += "buildhistory_get_sdkinfo ; "
 
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-13 13:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-13 13:49 [PATCH 0/1] buildhistory.bbclass: create wrapper functions around buildhistory_get_sdk_installed Laurentiu Palcu
2014-02-13 13:49 ` [PATCH 1/1] " Laurentiu Palcu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.