Patchwork ebtables: install ethertypes

login
register
mail settings
Submitter Gustavo Zacarias
Date Oct. 24, 2013, 4:13 p.m.
Message ID <1382631237-1826-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/285962/
State Accepted
Headers show

Comments

Gustavo Zacarias - Oct. 24, 2013, 4:13 p.m.
It's handy and closes bug #6608.
Thanks to Cassiano Martin <cassiano@idbinfo.com.br> for pointing it out.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/ebtables/ebtables.mk | 1 +
 1 file changed, 1 insertion(+)
Peter Korsgaard - Oct. 25, 2013, 7:21 a.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > It's handy and closes bug #6608.
 > Thanks to Cassiano Martin <cassiano@idbinfo.com.br> for pointing it out.

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 > ---
 >  package/ebtables/ebtables.mk | 1 +
 >  1 file changed, 1 insertion(+)

 > diff --git a/package/ebtables/ebtables.mk b/package/ebtables/ebtables.mk
 > index 116012c..c401f30 100644
 > --- a/package/ebtables/ebtables.mk
 > +++ b/package/ebtables/ebtables.mk
 > @@ -31,6 +31,7 @@ define EBTABLES_INSTALL_TARGET_CMDS
 >  	done
 >  	$(INSTALL) -m 0755 -D $(@D)/$(EBTABLES_SUBDIR)/ebtables \
 >  		$(TARGET_DIR)/sbin/ebtables
 > +	cp -f $(@D)/ethertypes $(TARGET_DIR)/etc/ethertypes

I've changed this to use $(INSTALL) and committed, thanks.

Patch

diff --git a/package/ebtables/ebtables.mk b/package/ebtables/ebtables.mk
index 116012c..c401f30 100644
--- a/package/ebtables/ebtables.mk
+++ b/package/ebtables/ebtables.mk
@@ -31,6 +31,7 @@  define EBTABLES_INSTALL_TARGET_CMDS
 	done
 	$(INSTALL) -m 0755 -D $(@D)/$(EBTABLES_SUBDIR)/ebtables \
 		$(TARGET_DIR)/sbin/ebtables
+	cp -f $(@D)/ethertypes $(TARGET_DIR)/etc/ethertypes
 endef
 endif