aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGregor <dan.mcgregor@usask.ca>2014-05-30 15:39:48 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-01 14:28:35 +0100
commit8ae714bb59c67433ded1efe6a8750e0e9c126dab (patch)
tree5e1b849bab18df1def6577e6d4382a259e9d20b6
parent106e9a3f594658b6a207f1f29bd4007616cc31d6 (diff)
downloadopenembedded-core-contrib-8ae714bb59c67433ded1efe6a8750e0e9c126dab.tar.gz
gzip: Avoid host contamination during build
On systems with /bin and /usr/bin merged the gzip recipe may find grep in /usr/bin, while OE puts it in /bin. Force the recipe to find grep in the correct place. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/gzip/gzip.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc
index 920b256d43..5f0a5cab36 100644
--- a/meta/recipes-extended/gzip/gzip.inc
+++ b/meta/recipes-extended/gzip/gzip.inc
@@ -12,6 +12,8 @@ SRC_URI = "${GNU_MIRROR}/gzip/${BP}.tar.gz"
inherit autotools texinfo
+EXTRA_OEMAKE_class-target = "GREP=${base_bindir}/grep"
+
do_install_append () {
# Rename and move files into /bin (FHS), which is typical place for gzip
install -d ${D}${base_bindir}