Commit Graph

6 Commits

Author SHA1 Message Date
Lucio Sauer
4e7eaeaafe dev-ml/ollama: add missing pipe exit status check
Fix variable order
Remove redundant file mode change
Add braces to variable

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2024-07-11 02:52:11 +02:00
Lucio Sauer
ec9321fa79 dev-ml/ollama: move log ownership changes to pkg_preinst
Since the ollama UID and GID are dynamically assigned, we cannot rely on
them being the same on different machines. Calling fowners ollama:ollama
<file> in src_install could cause permission issues at runtime, when
e.g. a binary package is created on one machine and used on another.

Moving the offending code to pkg_preinst, which is called for binary and
source packages, solves the issue.

Closes: https://github.com/gentoo/guru/pull/210
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2024-07-11 02:52:08 +02:00
Vitaly Zdanevich
f6b23710f8 dev-ml/ollama: fixes from from https://github.com/gentoo/guru/pull/210/files
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
2024-07-11 04:08:00 +04:00
Vitaly Zdanevich
f0eb17f754 dev-ml/ollama: fix --version
Closes https://github.com/gentoo/guru/pull/205

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
2024-07-08 08:25:07 +04:00
Vitaly Zdanevich
d9663ac0df dev-ml/ollama: chmod to fperms, add einfo quick guide
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
2024-06-22 06:13:40 +04:00
Vitaly Zdanevich
7a33665aae dev-ml/ollama: new package
From https://gpo.zugaina.org/dev-ml/ollama

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
2024-06-19 02:49:59 +04:00