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-01 14:29:30 +0100 |
commit | f11d67a6e77d9654c8dee4930b5c806041718d62 (patch) | |
tree | 9e4e9d3b4995a97e1897233d36f227cb615f7b82 /meta/recipes-extended/gzip/gzip.inc | |
parent | 4489f20b6fa83ac0ab55cfd1e951fe80da98cca1 (diff) | |
download | poky-f11d67a6e77d9654c8dee4930b5c806041718d62.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)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/gzip/gzip.inc')
-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 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" | |||
12 | 12 | ||
13 | inherit autotools texinfo | 13 | inherit autotools texinfo |
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} |