From 6e715d8f2561a8fac492cc10528102608c64eb74 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Sun, 23 Dec 2007 00:23:57 +0000 Subject: Remove some GNUism and replace cp -a with cp -pPR (once again) I didn't touch the to be installed files, as we have GNU coreutils or at least a compatible busybox version on our targets so far. --- packages/openmoko2/openmoko-sample2_svn.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/openmoko2/openmoko-sample2_svn.bb') diff --git a/packages/openmoko2/openmoko-sample2_svn.bb b/packages/openmoko2/openmoko-sample2_svn.bb index c05b6d3618..4c2c5aad46 100644 --- a/packages/openmoko2/openmoko-sample2_svn.bb +++ b/packages/openmoko2/openmoko-sample2_svn.bb @@ -13,12 +13,12 @@ PACKAGE_ARCH_${PN}-src = "all" do_configure_prepend() { install -d ${WORKDIR}/source - cp -a ${S} ${WORKDIR}/source/ + cp -pPR ${S} ${WORKDIR}/source/ find ${WORKDIR}/source -name ".svn"|xargs rm -rf } do_install_append() { install -d ${D}/usr/local/openmoko/source/ - cp -a ${WORKDIR}/source/* ${D}/usr/local/openmoko/source/ + cp -pPR ${WORKDIR}/source/* ${D}/usr/local/openmoko/source/ } -- cgit v1.2.3