summaryrefslogtreecommitdiff
path: root/personal-pkgs-repo/files/updater.lua
blob: 2bf76368db7a0510e2c76d5ea9c066cf2448b630 (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/turris3x/" .. 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")