From: Alexandru Ardelean Date: Thu, 18 Sep 2014 13:06:23 +0000 (+0300) Subject: openvswitch: move openvswitch-common/postinst after install X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=6f1313abd0b4579ade7b075e9df989e46f369880;p=openwrt-packages.git openvswitch: move openvswitch-common/postinst after install Signed-off-by: Alexandru Ardelean --- diff --git a/net/openvswitch/Makefile b/net/openvswitch/Makefile index e607d0fe7..c918fbcab 100644 --- a/net/openvswitch/Makefile +++ b/net/openvswitch/Makefile @@ -163,11 +163,6 @@ define Package/openvswitch-common/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/ovsdb/.libs/ovsdb-client $(1)/usr/bin/ endef -define Package/openvswitch-common/postinst -#!/bin/sh -[ -n "$${IPKG_INSTROOT}" ] || /etc/init.d/openvswitch enable || true -endef - define Package/openvswitch-switch/install $(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/utilities/.libs/ovs-dpctl $(1)/usr/bin/ @@ -182,6 +177,11 @@ define Package/openvswitch-switch/install $(INSTALL_CONF) $(PKG_BUILD_DIR)/vswitchd/vswitch.ovsschema $(1)/usr/share/openvswitch/ endef +define Package/openvswitch-common/postinst +#!/bin/sh +[ -n "$${IPKG_INSTROOT}" ] || /etc/init.d/openvswitch enable || true +endef + $(eval $(call BuildPackage,openvswitch-ipsec)) $(eval $(call BuildPackage,openvswitch-common)) $(eval $(call BuildPackage,openvswitch-switch))