From patchwork Thu Feb 14 01:12:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reuben Dowle X-Patchwork-Id: 220311 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 745C62C007B for ; Thu, 14 Feb 2013 12:17:55 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 884EB102672; Thu, 14 Feb 2013 01:17:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KeyBl85-kg3s; Thu, 14 Feb 2013 01:17:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7E027101D6F; Thu, 14 Feb 2013 01:17:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 135B08F75B for ; Thu, 14 Feb 2013 01:17:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8AD218C64A for ; Thu, 14 Feb 2013 01:17:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MfCTKaiXiSbl for ; Thu, 14 Feb 2013 01:17:43 +0000 (UTC) X-Greylist: delayed 00:05:26 by SQLgrey-1.7.6 Received: from smtp.4rf.com (smtp.4rf.com [125.236.56.214]) by whitealder.osuosl.org (Postfix) with ESMTPS id 38EA78C764 for ; Thu, 14 Feb 2013 01:16:42 +0000 (UTC) Received: from 4RF-NZ-ORION.local.4rf.com (192.168.0.124) by 4RF-NZ-ALNITAK.local.4rf.com (192.168.0.123) with Microsoft SMTP Server (TLS) id 14.1.438.0; Thu, 14 Feb 2013 14:14:31 +1300 Received: from 4RF-NZ-ORION.local.4rf.com ([fe80::a9c8:d719:63ae:cd9]) by 4rf-nz-orion.local.4rf.com ([fe80::a9c8:d719:63ae:cd9%12]) with mapi id 14.01.0438.000; Thu, 14 Feb 2013 14:12:03 +1300 From: Reuben Dowle To: "buildroot@busybox.net" Thread-Topic: [PATCH] dmalloc: Stop libdmalloc*.so files from being deleted from staging directory Thread-Index: Ac4KUFN2XsYAGd3hTOuD5qcRMjDCFw== Date: Thu, 14 Feb 2013 01:12:02 +0000 Message-ID: <069B5A25F9844945B625ADE7258AC94C061E73B0@4rf-nz-orion.local.4rf.com> Accept-Language: en-NZ, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.0.31] MIME-Version: 1.0 Subject: [Buildroot] [PATCH] dmalloc: Stop libdmalloc*.so files from being deleted from staging directory X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Fix libdmalloc*.so files being deleted from the staging directory as the package is installed into the target. Signed-off-by: Reuben Dowle --- package/dmalloc/dmalloc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 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). diff --git a/package/dmalloc/dmalloc.mk b/package/dmalloc/dmalloc.mk index 8623829..ee7799b 100644 --- a/package/dmalloc/dmalloc.mk +++ b/package/dmalloc/dmalloc.mk @@ -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