Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Graham Gower <graham.gower@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] openssl.inc: Use cp -L, busybox cp doesn't support the long option.
Date: Wed, 01 Dec 2010 13:48:11 +1030	[thread overview]
Message-ID: <4CF5BE73.1000100@gmail.com> (raw)


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@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}
 }
-- 
1.7.1




                 reply	other threads:[~2010-12-01  3:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CF5BE73.1000100@gmail.com \
    --to=graham.gower@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox