summaryrefslogtreecommitdiff
path: root/packages/glibc/eglibc-package.bbclass
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2007-12-23 00:23:57 +0000
committerHolger Freyther <zecke@selfish.org>2007-12-23 00:23:57 +0000
commit6e715d8f2561a8fac492cc10528102608c64eb74 (patch)
treee862647ff900034f08bfc6d1f7920d858bc63451 /packages/glibc/eglibc-package.bbclass
parenta31bd35ef6affae2aa03832b261a19803ff4ed77 (diff)
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.
Diffstat (limited to 'packages/glibc/eglibc-package.bbclass')
-rw-r--r--packages/glibc/eglibc-package.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/glibc/eglibc-package.bbclass b/packages/glibc/eglibc-package.bbclass
index a859ac2ca9..702d354591 100644
--- a/packages/glibc/eglibc-package.bbclass
+++ b/packages/glibc/eglibc-package.bbclass
@@ -150,14 +150,14 @@ do_prep_locale_tree() {
treedir=${WORKDIR}/locale-tree
rm -rf $treedir
mkdir -p $treedir/bin $treedir/lib $treedir/${datadir} $treedir/${libdir}/locale
- cp -a ${D}${datadir}/i18n $treedir/${datadir}/i18n
+ cp -pPR ${D}${datadir}/i18n $treedir/${datadir}/i18n
# unzip to avoid parsing errors
for i in $treedir/${datadir}/i18n/charmaps/*gz; do
gunzip $i
done
- ls ${D}/lib/* | xargs -iBLAH cp -a BLAH $treedir/lib
+ ls ${D}/lib/* | xargs -iBLAH cp -pPR BLAH $treedir/lib
if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.* ]; then
- cp -a ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.* $treedir/lib
+ cp -pPR ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.* $treedir/lib
fi
install -m 0755 ${D}${bindir}/localedef $treedir/bin
}
@@ -166,7 +166,7 @@ do_collect_bins_from_locale_tree() {
treedir=${WORKDIR}/locale-tree
mkdir -p ${D}${libdir}
- cp -a $treedir/${libdir}/locale ${D}${libdir}
+ cp -pPR $treedir/${libdir}/locale ${D}${libdir}
}
python package_do_split_gconvs () {