dmalloc: Stop libdmalloc*.so files from being deleted from staging directory

Submitted by Reuben Dowle on Feb. 14, 2013, 1:12 a.m.


Message ID
State Accepted
Headers show

Commit Message

Reuben Dowle Feb. 14, 2013, 1:12 a.m.
Fix libdmalloc*.so files being deleted from the staging directory as the
package is installed into the target.

Signed-off-by: Reuben Dowle <reuben.dowle at>
 package/dmalloc/ |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

The information in this email communication (inclusive of attachments) is confidential to 4RF Limited and the intended recipient(s). If you are not the intended recipient(s), please note that any use, disclosure, distribution or copying of this information or any part thereof is strictly prohibited and that the author accepts no liability for the consequences of any action taken on the basis of the information provided. If you have received this email in error, please notify the sender immediately by return email and then delete all instances of this email from your system. 4RF Limited will not accept responsibility for any consequences associated with the use of this email (including, but not limited to, damages sustained as a result of any viruses and/or any action or lack of action taken in reliance on it).


Peter Korsgaard May 4, 2013, 8:38 p.m.
>>>>> "Reuben" == Reuben Dowle <> writes:

 Reuben> Fix libdmalloc*.so files being deleted from the staging
 Reuben> directory as the package is installed into the target.

 Reuben> Signed-off-by: Reuben Dowle <reuben.dowle at>

Committed, thanks.

Please consider using git-send-email / not through exchange next time,
as the patch was corrupted (tabs converted to spaces) and I had to fix
it up manually.

Patch hide | download patch | download mbox

diff --git a/package/dmalloc/ b/package/dmalloc/
index 8623829..ee7799b 100644
--- a/package/dmalloc/
+++ b/package/dmalloc/
@@ -47,7 +47,7 @@  define DMALLOC_INSTALL_STAGING_CMDS

-       mv $(STAGING_DIR)/usr/lib/libdmalloc*.so $(TARGET_DIR)/usr/lib
+       cp -dpf $(STAGING_DIR)/usr/lib/libdmalloc*.so $(TARGET_DIR)/usr/lib
        cp -dpf $(STAGING_DIR)/usr/bin/dmalloc $(TARGET_DIR)/usr/bin/dmalloc