summaryrefslogtreecommitdiff
path: root/personal-pkgs-repo/files/updater.lua
blob: a102956e7d8afbf050e7541c12fcbe4b3ebd7d5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
local board
if model:match('[Oo]mnia') then
	board = "omnia"
elseif model:match('^[Tt]urris$') then
	board = "turris"
else
	DIE("Unsupported board!")
end

Repository("personal-pkgs", "https://cynerd.cz/repo/turris4x/" .. board, {
	pubkey = "file:///etc/updater/keys/personal-pkgs.pub",
	ocsp = false
})

Install("personal-pkgs-repo")
Package("personal-pkgs-repo", { replan = "finished" })

Install("shellrc-zsh", "shellrc-ash")