busybox 1.2.1: replace mv with a non-gnu-ish cp
authorKoen Kooi <koen@openembedded.org>
Sat, 26 Aug 2006 14:02:37 +0000 (14:02 +0000)
committerKoen Kooi <koen@openembedded.org>
Sat, 26 Aug 2006 14:02:37 +0000 (14:02 +0000)
packages/busybox/busybox_1.2.1.bb

index 8b399f1..741df3f 100644 (file)
@@ -74,7 +74,7 @@ do_install () {
        install -d ${D}/busybox
        ls ${D} -R
 
-       mv ${D}${base_bindir} ${D}${base_sbindir} ${D}${prefix} ${D}/busybox/
+       cp -dPr ${D}${base_bindir} ${D}${base_sbindir} ${D}${prefix} ${D}/busybox/
        # Move the busybox binary back to /bin
        install -d ${D}${base_bindir}
        mv ${D}/busybox${base_bindir}/busybox ${D}${base_bindir}/