Verified Commit b45a8332 authored by Štěpán Henek's avatar Štěpán Henek 🌩

foris+friends: version bump

parent 4aad0403
......@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=foris-controller-netboot-module
PKG_VERSION:=0.1
PKG_VERSION:=0.2
PKG_RELEASE:=1
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_SOURCE_PROTO:=git
......
......@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=foris-controller
PKG_VERSION:=0.11.3.1
PKG_VERSION:=0.11.4
PKG_RELEASE:=1
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_SOURCE_PROTO:=git
......
#
# Copyright (C) 2018 CZ.NIC z.s.p.o. (http://www.nic.cz/)
# Copyright (C) 2019 CZ.NIC z.s.p.o. (http://www.nic.cz/)
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
......@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=foris
PKG_VERSION:=99.2
PKG_VERSION:=99.3.1
PKG_RELEASE:=1
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_SOURCE_PROTO:=git
......@@ -45,25 +45,6 @@ define Package/foris-common/description
Common things required for the foris web apps.
endef
# Set "branding" variable to create different builds for different devices
BRAND?=turris
ifeq ($(CONFIG_TARGET_mvebu_Turris-Omnia),y)
BRAND:=omnia
endif
ifeq ($(CONFIG_TARGET_PROFILE),"DEVICE_cznic-mox")
BRAND:=mox
endif
define Build/Prepare
$(call Build/Prepare/Default)
$(SED) 's/^__version__ = ".*"/__version__ = "$(PKG_VERSION)"/g' $(PKG_BUILD_DIR)/foris/__init__.py
$(SED) 's/^DEVICE_CUSTOMIZATION = ".*"/DEVICE_CUSTOMIZATION = "$(BRAND)"/g' $(PKG_BUILD_DIR)/foris/__init__.py
endef
MAKE_FLAGS+=\
BRAND=$(BRAND)
define Build/Compile
$(call Build/Compile/Default)
$(call Build/Compile/Py3Mod,,install --prefix=/usr --root="$(PKG_INSTALL_DIR)")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment