[OE-core] [PATCH 0/1] sstate.bbclass: specify func dirs for sstate_hardcode_path

wenzong.fan at windriver.com wenzong.fan at windriver.com
Wed Oct 15 03:10:47 UTC 2014


From: Wenzong Fan <wenzong.fan at windriver.com>

For some recipes that inhrient cmake, the ${B} may be removed by
cmake_do_configure() while sstate_hardcode_path() running, this
causes build errors:

  Exception: OSError: [Errno 2] No such file or directory: \
  '/path/to/build'

The function sstate_hardcode_path() called command:

  $SSTATE_SCAN_CMD which extended as "find ${SSTATE_BUILDDIR} ..."

So the proper function dirs could be ${SSTATE_BUILDDIR}.

The following changes since commit ccf5a4d2342c4fd40e4e0b332ea7e34e0bf175d4:

  build-appliance-image: Update to dizzy head revision (2014-10-11 08:11:17 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib wenzong/fix-sstate
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/fix-sstate

Wenzong Fan (1):
  sstate.bbclass: specify func dirs for sstate_hardcode_path

 meta/classes/sstate.bbclass |    5 +++++
 1 file changed, 5 insertions(+)

-- 
1.7.9.5



More information about the Openembedded-core mailing list