You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.5 KiB

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=attendedsysupgrade-common
  6. PKG_VERSION:=0.1
  7. PKG_RELEASE:=2
  8. PKG_LICENSE:=GPL-2.0
  9. include $(INCLUDE_DIR)/package.mk
  10. define Package/attendedsysupgrade-common
  11. SECTION:=utils
  12. CATEGORY:=Base system
  13. TITLE:=Common files neede by attendedsysupgrade packages
  14. MAINTAINER:=Paul Spooren <paul@spooren.de>
  15. DEPENDS:=+rpcd +rpcd-mod-rpcsys
  16. endef
  17. define Package/attendedsysupgrade-common/description
  18. Common needed files for attendedsysupgrade tool
  19. Manages dependencies and brings settings used by clients.
  20. UCI options:
  21. attendedsysupgrade.server.url
  22. URL of compatible upgrade server [1]
  23. attendedsysupgrade.client.upgrade_packages
  24. Client should request image also if no new release but new packages upgrade are available.
  25. attendedsysupgrade.client.advanced_mode
  26. Offer advanced options like editing packages before request and show additional information.
  27. attendedsysupgrade.client.auto_search
  28. Tells the client to automattically search for upgrades
  29. This can be done when opening luci or login in to console - depends on client.
  30. [1]: https://github.com/aparcar/gsoc17-attended-sysupgrade
  31. endef
  32. define Build/Compile
  33. endef
  34. define Build/Configure
  35. endef
  36. define Package/attendedsysupgrade-common/install
  37. $(INSTALL_DIR) $(1)/etc/uci-defaults/
  38. $(INSTALL_BIN) ./files/attendedsysupgrade.defaults $(1)/etc/uci-defaults/attendedsysupgrade
  39. endef
  40. $(eval $(call BuildPackage,attendedsysupgrade-common))