[oe-commits] Graham Gower : openssl.inc: Use cp -L, busybox cp doesn' t support the long option.
git version control
git at git.openembedded.org
Thu Dec 2 15:48:45 UTC 2010
Module: openembedded.git
Branch: master
Commit: a5464f8e1febb8f17aa2eb1ecc66f922e0b0dd9c
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a5464f8e1febb8f17aa2eb1ecc66f922e0b0dd9c
Author: Graham Gower <graham.gower at gmail.com>
Date: Wed Dec 1 14:06:11 2010 +1030
openssl.inc: Use cp -L, busybox cp doesn't support the long option.
Reported by andyzammy on IRC.
| oe_libinstall: cd /home/rofl/Desktop/oe/angstrom-setup-scripts/build/tmp-angstrom_2008_1/work/i686-linux/openssl-native-1.0.0b-r13.1/openssl-1.0.0b
| cp: unrecognized option '--dereference'
| BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) multi-call binary
|
| Usage: cp [OPTION]... SOURCE DEST
|
| Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY
|
| Options:
| -a Same as -dpR
| -d,-P Preserve links
| -H,-L Dereference all symlinks (default)
| -p Preserve file attributes if possible
| -f Force overwrite
| -i Prompt before overwrite
| -R,-r Recurse directories
| -l,-s Create (sym)links
|
| ERROR: Function do_install failed
Signed-off-by: Graham Gower <graham.gower at gmail.com>
Acked-by: Khem Raj <raj.khem at gmail.com>
---
recipes/openssl/openssl.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/recipes/openssl/openssl.inc b/recipes/openssl/openssl.inc
index 3091b4e..bcebc4a 100644
--- a/recipes/openssl/openssl.inc
+++ b/recipes/openssl/openssl.inc
@@ -122,5 +122,5 @@ do_install () {
oe_libinstall -so libssl ${D}${libdir}
install -d ${D}${includedir}
- cp --dereference -R include/openssl ${D}${includedir}
+ cp -L -R include/openssl ${D}${includedir}
}
More information about the Openembedded-commits
mailing list