[oe-commits] Dan McGregor : gzip: Avoid host contamination during build
git at git.openembedded.org
git at git.openembedded.org
Sun Jun 1 13:30:35 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 8ae714bb59c67433ded1efe6a8750e0e9c126dab
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8ae714bb59c67433ded1efe6a8750e0e9c126dab
Author: Dan McGregor <dan.mcgregor at usask.ca>
Date: Fri May 30 15:39:48 2014 -0600
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 at usask.ca>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-extended/gzip/gzip.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc
index 920b256..5f0a5ca 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}
More information about the Openembedded-commits
mailing list