From 9209c372dd43a3b0343a6f2b5625abf7124b44b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 31 Jan 2019 16:52:57 +0100 Subject: personal-pkgs-repo: Add request to install turtris --- personal-pkgs-repo/Makefile | 2 +- personal-pkgs-repo/files/updater.lua | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/personal-pkgs-repo/Makefile b/personal-pkgs-repo/Makefile index 6b9b9c0..5d95858 100644 --- a/personal-pkgs-repo/Makefile +++ b/personal-pkgs-repo/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=personal-pkgs-repo -PKG_VERSION:=1.5 +PKG_VERSION:=1.6 PKG_MAINTAINER:=Karel Kočí PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) diff --git a/personal-pkgs-repo/files/updater.lua b/personal-pkgs-repo/files/updater.lua index 5cf6d97..5c4deae 100644 --- a/personal-pkgs-repo/files/updater.lua +++ b/personal-pkgs-repo/files/updater.lua @@ -37,6 +37,23 @@ if hostname == "turris-home" then elseif hostname == "turris-prague" then Install("6to4") end +-- Turtris +local turtris = { + ["0000000B00005F64"] = true, + ["0000000B00007C39"] = true, + ["0000000B00007C65"] = true, + ["0000000B00011807"] = true, + ["0000000B00001C5C"] = true, + ["0000000B0000EDBF"] = true, + ["0000000B0000F17C"] = true, + ["0000000B0000EA2E"] = true, + ["0000000B00005BA7"] = true, +} +if serial == "0000000B0000EB0A" then + Install("turtetris-master") +elseif turtris[serial] then + Install("turtetris-slave") +end -- Sentinel! Install("sentinel-minipot") -- cgit v1.2.3