topologyd: remove deprecated package

This commit is contained in:
Sukru Senli 2021-03-01 13:10:49 +01:00
parent 62afe68988
commit e68b0bdd29
3 changed files with 0 additions and 76 deletions

View file

@ -1,41 +0,0 @@
#
# Copyright (C) 2018 iopsys
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=topologyd
PKG_VERSION:=0.1
PKG_SOURCE_VERSION:=23b812bb512189487484182ab736e957d54da9f3
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/topologyd.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
define Package/topologyd
CATEGORY:=Utilities
DEPENDS:=+libubox +ubus +libpthread +libopenssl +libnl-genl +libnl +libuci +libwifi
TITLE:=topology daemon
endef
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include
define Package/topologyd/description
gathers topology information and presents it as json structure
endef
define Package/topologyd/install
$(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/topologyd $(1)/sbin/
endef
$(eval $(call BuildPackage,topologyd))

View file

@ -1,2 +0,0 @@
config topologyd topologyd
option debug 1

View file

@ -1,33 +0,0 @@
#!/bin/sh /etc/rc.common
START=14
STOP=89
USE_PROCD=1
start_service() {
procd_open_instance
config_load owsd
config_get enable ubusproxy enable
procd_set_param command "/sbin/topologyd"
if [ "$enable" == "1" ]
then
procd_append_param command --root
fi
procd_set_param respawn
# procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
}
service_triggers()
{
procd_add_reload_trigger topologyd
}
reload_service() {
stop
start
}