openvswitch: move openvswitch-common/postinst after install
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
parent
7d44d48c66
commit
6f1313abd0
1 changed files with 5 additions and 5 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue