From 4ae7c0c40e1f8fccc98d2f58cf61ef58c5a27da6 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Wed, 20 Jul 2016 11:48:36 +0200 Subject: do_unpackpost: explicitly set working directory bitbake rev 67a7b8b02 "build: don't use $B as the default cwd for functions" (included in current bitbake master) breaks the assumption that do_unpackpost runs inside the build directory. Now that has to be set explicitly, which is also okay for older bitbake versions. Signed-off-by: Patrick Ohly Signed-off-by: Otavio Salvador --- recipes-core/xerces-j/xerces-j_2.11.0.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'recipes-core/xerces-j') diff --git a/recipes-core/xerces-j/xerces-j_2.11.0.bb b/recipes-core/xerces-j/xerces-j_2.11.0.bb index f9e497e..4a0cc91 100644 --- a/recipes-core/xerces-j/xerces-j_2.11.0.bb +++ b/recipes-core/xerces-j/xerces-j_2.11.0.bb @@ -26,6 +26,7 @@ DEPENDS_virtclass-native = "fastjar-native jaxp1.3-native xml-commons-resolver1. RDEPENDS_${PN} = "libjaxp1.3-java libxml-commons-resolver1.1-java" RDEPENDS_${PN}_virtclass-native = "" +do_unpackpost[dirs] = "${B}" do_unpackpost() { find src -exec \ sed -i -e "s|@impl.name@|Xerces-J ${PV}|" \ -- cgit v1.2.3-54-g00ecf