diff mbox series

[oe,2/3] espeak: Fix cp command to preserve mode

Message ID 20180823220708.44582-2-raj.khem@gmail.com
State Accepted
Commit 093ab607cae3dc0cbed92ca07d603a79d14d1403
Headers show
Series [oe,1/3] xfsprogs: Fix build on mips | expand

Commit Message

Khem Raj Aug. 23, 2018, 10:07 p.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-support/espeak/espeak_1.48.04.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

-- 
2.18.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/espeak/espeak_1.48.04.bb b/meta-oe/recipes-support/espeak/espeak_1.48.04.bb
index 552f40413b..57e30f0710 100644
--- a/meta-oe/recipes-support/espeak/espeak_1.48.04.bb
+++ b/meta-oe/recipes-support/espeak/espeak_1.48.04.bb
@@ -36,6 +36,5 @@  do_install() {
         rm -f ${S}/espeak-data/phon*
     fi
 
-    cp -prf ${S}/espeak-data/* ${D}${datadir}/espeak-data
-    chown -R root:root ${D}${datadir}/espeak-data
+    cp -R --no-dereference --preserve=mode,links ${S}/espeak-data/* ${D}${datadir}/espeak-data
 }