ifupdown-scripts: do not install .empty files
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> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
9f3bcb4f5a
commit
58b74e0dbf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user