From: Dan McGregor Date: Fri, 30 May 2014 21:39:48 +0000 (-0600) Subject: gzip: Avoid host contamination during build X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~33520 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=8ae714bb59c67433ded1efe6a8750e0e9c126dab;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc index 920b256d438..5f0a5cab369 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}