uninative-tarball: fix dependency on patchelf
PATCH 1/1 uninative-tarball: fix dependency on patchelf
DEPENDS doesn't actually add the dependency on patchelf-native to the populate_sdk task. SDK_DEPENDS does this, but move the append to after inheriting the base class so it does not get overwritten.
Without this, uninative-tarball fails to build in a clean workspace on a system without patchelf.
--- meta/recipes-core/meta/uninative-tarball.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/meta/uninative-tarball.bb +2 -1
@@ -11,7 +11,6 @@ TOOLCHAIN_HOST_TASK = "\ " INHIBIT_DEFAULT_DEPS = "1" -DEPENDS += "patchelf-native" TOOLCHAIN_OUTPUTNAME ?= "${BUILD_ARCH}-nativesdk-libc"
@@ -25,6 +24,8 @@ inherit populate_sdk deltask install deltask package +SDK_DEPENDS += "patchelf-native" + SDK_PACKAGING_FUNC = "" fakeroot create_sdk_files() {
Signature · 1 line
2.3.1
Quoted 28 lines · Tyler Hall
DEPENDS doesn't actually add the dependency on patchelf-native to the
populate_sdktask.SDK_DEPENDSdoes this, but move the append to after inheriting the base class so it does not get overwritten.Without this, uninative-tarball fails to build in a clean workspace on a system without patchelf.
Signed-off-by Tyler Hall <[email protected]>CC Richard Purdie <[email protected]>CC Randy Witt <[email protected]>--- meta/recipes-core/meta/uninative-tarball.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta/recipes-core/meta/uninative-tarball.bb +0
-1@@ -11,7 +11,6 @@ TOOLCHAIN_HOST_TASK = "\ " INHIBIT_DEFAULT_DEPS = "1" -DEPENDS += "patchelf-native" TOOLCHAIN_OUTPUTNAME ?= "${BUILD_ARCH}-nativesdk-libc"
meta/recipes-core/meta/uninative-tarball.bb inherit populate_sdk · line 31
Quoted 8 lines
meta/recipes-core/meta/uninative-tarball.bb +2
-0@@ -25,6 +24,8 @@ inherit populate_sdk deltask install deltask package +SDK_DEPENDS += "patchelf-native" + SDK_PACKAGING_FUNC = "" fakeroot create_sdk_files() {
This patch is the same as what I had queued up. The only thing is to put the yocto bug number 7467 in the commit message.
PATCH v2 1/1 uninative-tarball: fix dependency on patchelf
In reply to Tyler HallDEPENDS doesn't actually add the dependency on patchelf-native to the populate_sdk task. SDK_DEPENDS does this, but move the append to after inheriting the base class so it does not get overwritten.
Without this, uninative-tarball fails to build in a clean workspace on a system without patchelf.
[Yocto #7467]
--- meta/recipes-core/meta/uninative-tarball.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/meta/uninative-tarball.bb +2 -1
@@ -11,7 +11,6 @@ TOOLCHAIN_HOST_TASK = "\ " INHIBIT_DEFAULT_DEPS = "1" -DEPENDS += "patchelf-native" TOOLCHAIN_OUTPUTNAME ?= "${BUILD_ARCH}-nativesdk-libc"
@@ -25,6 +24,8 @@ inherit populate_sdk deltask install deltask package +SDK_DEPENDS += "patchelf-native" + SDK_PACKAGING_FUNC = "" fakeroot create_sdk_files() {
Signature · 1 line
2.3.1
Randy, Richard,
Disregard. Looks like we raced with each other. Thanks for applying v1.
-Tyler