summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-08-23 13:16:18 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-24 13:48:10 +0100
commit3a435b7147cffa634a5d3de3e1fe759b7eace623 (patch)
tree66acf043cec7ca03b18316e41479c15390b6bd4d
parent64549ce588e353f86ecce3fb66f460e730fc6200 (diff)
downloadpoky-3a435b7147cffa634a5d3de3e1fe759b7eace623.tar.gz
acl_2.25: improve reproducibility
Remove all host build references from the acl-ptest package. (From OE-Core rev: 6b799e4b315ee5a1eaba9f445b2ba7d37d1e0176) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/attr/acl_2.2.52.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-support/attr/acl_2.2.52.bb b/meta/recipes-support/attr/acl_2.2.52.bb
index 306c7b5cda..8f3dc45cf7 100644
--- a/meta/recipes-support/attr/acl_2.2.52.bb
+++ b/meta/recipes-support/attr/acl_2.2.52.bb
@@ -43,6 +43,11 @@ do_install_ptest() {
43 tar -c --exclude=nfs test/ | ( cd ${D}${PTEST_PATH} && tar -xf - ) 43 tar -c --exclude=nfs test/ | ( cd ${D}${PTEST_PATH} && tar -xf - )
44 mkdir ${D}${PTEST_PATH}/include 44 mkdir ${D}${PTEST_PATH}/include
45 cp ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/ 45 cp ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/
46 # Remove any build host references
47 sed -e "s:--sysroot=${STAGING_DIR_TARGET}::g" \
48 -e 's:${HOSTTOOLS_DIR}/::g' \
49 -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
50 -i ${D}${PTEST_PATH}/include/builddefs
46} 51}
47 52
48RDEPENDS_${PN}-ptest = "acl bash coreutils perl perl-module-filehandle perl-module-getopt-std perl-module-posix shadow" 53RDEPENDS_${PN}-ptest = "acl bash coreutils perl perl-module-filehandle perl-module-getopt-std perl-module-posix shadow"