Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] customize: fix copy paths
@ 2010-05-05 22:16 luca at lucaceresoli.net
  2010-05-05 22:51 ` Grant Edwards
  2010-05-06 21:29 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: luca at lucaceresoli.net @ 2010-05-05 22:16 UTC (permalink / raw)
  To: buildroot

From: Luca Ceresoli <luca@lucaceresoli.net>

customize.mk used to copy files with a wrong command, resulting in one
directory level in excess. For example, source/etc/myfile would have
produced /etc/etc/myfile in the target filesystem instead of /etc/myfile.
---
 package/customize/customize.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/customize/customize.mk b/package/customize/customize.mk
index 780e42b..d2b8518 100644
--- a/package/customize/customize.mk
+++ b/package/customize/customize.mk
@@ -11,7 +11,7 @@ $(BUILD_DIR)/.customize:
 	 /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; \
+		cp -af $(CUST_DIR)/$$f $(TARGET_DIR); \
 	done
 	rm -f $(BUILD_DIR)/series
 	touch $@
-- 
1.5.4.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] customize: fix copy paths
  2010-05-05 22:16 [Buildroot] [PATCH] customize: fix copy paths luca at lucaceresoli.net
@ 2010-05-05 22:51 ` Grant Edwards
  2010-05-06 21:29 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Grant Edwards @ 2010-05-05 22:51 UTC (permalink / raw)
  To: buildroot

On 2010-05-05, luca at lucaceresoli.net <luca@lucaceresoli.net> wrote:

> From: Luca Ceresoli <luca@lucaceresoli.net>
>
> customize.mk used to copy files with a wrong command, resulting in one
> directory level in excess. For example, source/etc/myfile would have
> produced /etc/etc/myfile in the target filesystem instead of /etc/myfile.

Yup:

  https://bugs.busybox.net/show_bug.cgi?id=849
  https://bugs.busybox.net/show_bug.cgi?id=1135

-- 
Grant Edwards               grant.b.edwards        Yow! Thank god!! ... It's
                                  at               HENNY YOUNGMAN!!
                              gmail.com            

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] customize: fix copy paths
  2010-05-05 22:16 [Buildroot] [PATCH] customize: fix copy paths luca at lucaceresoli.net
  2010-05-05 22:51 ` Grant Edwards
@ 2010-05-06 21:29 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2010-05-06 21:29 UTC (permalink / raw)
  To: buildroot

>>>>> "luca" == luca  <luca@lucaceresoli.net> writes:

 luca> From: Luca Ceresoli <luca@lucaceresoli.net>
 luca> customize.mk used to copy files with a wrong command, resulting in one
 luca> directory level in excess. For example, source/etc/myfile would have
 luca> produced /etc/etc/myfile in the target filesystem instead of /etc/myfile.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-06 21:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-05 22:16 [Buildroot] [PATCH] customize: fix copy paths luca at lucaceresoli.net
2010-05-05 22:51 ` Grant Edwards
2010-05-06 21:29 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox