ebtables: install ethertypes

Submitted by Gustavo Zacarias on Oct. 24, 2013, 4:13 p.m.

Details

Message ID 1382631237-1826-1-git-send-email-gustavo@zacarias.com.ar
State Accepted
Headers show

Commit Message

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(+)

Comments

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 hide | download patch | download mbox

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