diff options
author | Dan McGregor <dan.mcgregor@usask.ca> | 2014-05-30 15:39:48 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-10 17:12:18 +0100 |
commit | 7e6902963f936dd92db7bdf42444410570a76ed5 (patch) | |
tree | d35e22e4d2d7657ad2e7276324aa5cc0ecb5f89a | |
parent | c166a5add3fb3b7739385189392e1079f317adf2 (diff) | |
download | poky-7e6902963f936dd92db7bdf42444410570a76ed5.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.
(From OE-Core rev: 8ae714bb59c67433ded1efe6a8750e0e9c126dab)
(From OE-Core rev: 26e46f935cc98845225c41d954b34b3312a4c37d)
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.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc index 6ec1dae0fd..c6b865aba6 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" | |||
12 | 12 | ||
13 | inherit autotools | 13 | inherit autotools |
14 | 14 | ||
15 | EXTRA_OEMAKE_class-target = "GREP=${base_bindir}/grep" | ||
16 | |||
15 | do_install_append () { | 17 | do_install_append () { |
16 | # Rename and move files into /bin (FHS), which is typical place for gzip | 18 | # Rename and move files into /bin (FHS), which is typical place for gzip |
17 | install -d ${D}${base_bindir} | 19 | install -d ${D}${base_bindir} |