Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] ifupdown-scripts: Stop installing .empty files.
@ 2017-10-15  0:57 Cam Hutchison
  2017-10-15 13:47 ` Thomas Petazzoni
  2017-10-17  9:07 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Cam Hutchison @ 2017-10-15  0:57 UTC (permalink / raw)
  To: buildroot

ifupdown-scripts has some .empty files to maintain empty directories in
git. Previously this package used to be part of the skeleton which used
SYSTEM_RSYNC to copy the directories to the target. When it was split
into a separate package, cp -a was used to do the copy instead, which
copies the .empty files.

Change to SYSTEM_RSYNC which excludes .empty files.

Signed-off-by: Cam Hutchison <camh@xdna.net>
---
 package/ifupdown-scripts/ifupdown-scripts.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/ifupdown-scripts/ifupdown-scripts.mk b/package/ifupdown-scripts/ifupdown-scripts.mk
index 317c8f49bf..ebc89b3872 100644
--- a/package/ifupdown-scripts/ifupdown-scripts.mk
+++ b/package/ifupdown-scripts/ifupdown-scripts.mk
@@ -31,7 +31,7 @@ endif
 
 define IFUPDOWN_SCRIPTS_INSTALL_TARGET_CMDS
 	mkdir -p $(TARGET_DIR)/etc/network
-	cp -a $(IFUPDOWN_SCRIPTS_PKGDIR)/network/* $(TARGET_DIR)/etc/network
+	$(call SYSTEM_RSYNC,$(IFUPDOWN_SCRIPTS_PKGDIR)/network,$(TARGET_DIR)/etc/network)
 	$(IFUPDOWN_SCRIPTS_LOCALHOST)
 	$(IFUPDOWN_SCRIPTS_DHCP)
 endef
-- 
2.11.0

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

* [Buildroot] [PATCH 1/1] ifupdown-scripts: Stop installing .empty files.
  2017-10-15  0:57 [Buildroot] [PATCH 1/1] ifupdown-scripts: Stop installing .empty files Cam Hutchison
@ 2017-10-15 13:47 ` Thomas Petazzoni
  2017-10-17  9:07 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-10-15 13:47 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun, 15 Oct 2017 11:57:19 +1100, Cam Hutchison wrote:
> ifupdown-scripts has some .empty files to maintain empty directories in
> git. Previously this package used to be part of the skeleton which used
> SYSTEM_RSYNC to copy the directories to the target. When it was split
> into a separate package, cp -a was used to do the copy instead, which
> copies the .empty files.
> 
> Change to SYSTEM_RSYNC which excludes .empty files.
> 
> Signed-off-by: Cam Hutchison <camh@xdna.net>
> ---
>  package/ifupdown-scripts/ifupdown-scripts.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 1/1] ifupdown-scripts: Stop installing .empty files.
  2017-10-15  0:57 [Buildroot] [PATCH 1/1] ifupdown-scripts: Stop installing .empty files Cam Hutchison
  2017-10-15 13:47 ` Thomas Petazzoni
@ 2017-10-17  9:07 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2017-10-17  9:07 UTC (permalink / raw)
  To: buildroot

>>>>> "Cam" == Cam Hutchison <camh@xdna.net> writes:

 > ifupdown-scripts has some .empty files to maintain empty directories in
 > git. Previously this package used to be part of the skeleton which used
 > SYSTEM_RSYNC to copy the directories to the target. When it was split
 > into a separate package, cp -a was used to do the copy instead, which
 > copies the .empty files.

 > Change to SYSTEM_RSYNC which excludes .empty files.

 > Signed-off-by: Cam Hutchison <camh@xdna.net>

Committed to 2017.08.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2017-10-17  9:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-15  0:57 [Buildroot] [PATCH 1/1] ifupdown-scripts: Stop installing .empty files Cam Hutchison
2017-10-15 13:47 ` Thomas Petazzoni
2017-10-17  9:07 ` Peter Korsgaard

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