Skip to contentSkip to conversation

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

PATCH New Reuben Dowle 2 participants 2 messages Feb 14, 2013 – May 4, 2013

lore
Share & tools
lore
#0 lore raw

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

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

---
 package/dmalloc/dmalloc.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/dmalloc/dmalloc.mk +1 -1
index 8623829..ee7799b 100644
@@ -47,7 +47,7 @@ define DMALLOC_INSTALL_STAGING_CMDS
 endef
 
 define DMALLOC_INSTALL_TARGET_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
 endef
 

--
1.7.10.4
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).

#1 lore raw

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

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Reuben" == Reuben Dowle <[email protected]> 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 <[email protected]>

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.

Signature · 1 line
Bye, Peter Korsgaard