All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens <irimi@gmx.de>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 849] "customize" package copies files to wrong place in target tree
Date: Fri, 09 Apr 2010 17:23:52 +0200	[thread overview]
Message-ID: <4BBF4688.3040008@gmx.de> (raw)
In-Reply-To: <20100409145501.366AD8A341@busybox.osuosl.org>

Hi,

that simple patch works fine for me (just using cp with  'r' option):

BR,
Jens

diff -Nur --exclude=config buildroot.orig/package/customize/customize.mk 
buildroot/package/customize/customize.mk
--- buildroot.orig/package/customize/customize.mk    2010-02-26 
15:52:48.000000000 +0100
+++ buildroot/package/customize/customize.mk    2010-04-05 
00:59:40.000000000 +0200
@@ -6,14 +6,8 @@
 CUST_DIR:=package/customize/source
 
 $(BUILD_DIR)/.customize:
-    rm -f $(BUILD_DIR)/series
-    (cd $(CUST_DIR); \
-     /bin/ls -d * > $(BUILD_DIR)/series || \
-     touch $(BUILD_DIR)/series )
-    for f in `cat $(BUILD_DIR)/series`; do \
-        cp -af $(CUST_DIR)/$$f $(TARGET_DIR)/$$f; \
-    done
-    rm -f $(BUILD_DIR)/series
+    cp -arf $(CUST_DIR)/* $(TARGET_DIR)/
+#    rm -f $(BUILD_DIR)/series
     touch $@
 
 customize: $(BUILD_DIR)/.customize


> https://bugs.busybox.net/show_bug.cgi?id=849
>
> --- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  2010-04-09 14:55:00 UTC ---
> *** Bug 1135 has been marked as a duplicate of this bug. ***
>   

  reply	other threads:[~2010-04-09 15:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-08 18:43 [Buildroot] [Bug 849] New: "customize" package copys files to wrong place in target tree bugzilla at busybox.net
2010-01-08 18:47 ` [Buildroot] [Bug 849] "customize" package copies " bugzilla at busybox.net
2010-02-21 18:51 ` bugzilla at busybox.net
2010-03-12 17:43 ` bugzilla at busybox.net
2010-03-12 18:21 ` bugzilla at busybox.net
2010-04-09 14:54 ` bugzilla at busybox.net
2010-04-09 14:55 ` bugzilla at busybox.net
2010-04-09 15:23   ` Jens [this message]
2010-05-06 21:29 ` bugzilla at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BBF4688.3040008@gmx.de \
    --to=irimi@gmx.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.