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

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