Skip to contentSkip to conversation

ebtables: install ethertypes

PATCH New Gustavo Zacarias 2 participants 2 messages Oct 24, 2013 – Oct 25, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ebtables: install ethertypes

It's handy and closes bug #6608.
Thanks to Cassiano Martin <[email protected]> for pointing it out.

---
 package/ebtables/ebtables.mk | 1 +
 1 file changed, 1 insertion(+)
package/ebtables/ebtables.mk +1 -0
index 116012c..c401f30 100644
@@ -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
 
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 1/1 ebtables: install ethertypes

Quoted 15 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

It's handy and closes bug #6608.
Thanks to Cassiano Martin <[email protected]> for pointing it out.

---
 package/ebtables/ebtables.mk | 1 +
 1 file changed, 1 insertion(+)
package/ebtables/ebtables.mk +0 -0
index 116012c..c401f30 100644

package/ebtables/ebtables.mk define EBTABLES_INSTALL_TARGET_CMDS · line 34

Quoted 4 lines
package/ebtables/ebtables.mk +1 -0
@@ -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.

Signature · 1 line
Bye, Peter Korsgaard