aboutsummaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorVitaly Zdanevich <zdanevich.vitaly@ya.ru>2024-06-22 06:13:40 +0400
committerVitaly Zdanevich <zdanevich.vitaly@ya.ru>2024-06-22 06:13:40 +0400
commitd9663ac0df073c4631a5d02daa5f5ef024dcbecc (patch)
treecd3dd783cdab7643d61e9dd0e9e7e03ccabbc6a8 /dev-ml
parentdev-ml/ollama: add a note that this ebuild is a copy from an overlay (diff)
downloadguru-d9663ac0df073c4631a5d02daa5f5ef024dcbecc.tar.gz
guru-d9663ac0df073c4631a5d02daa5f5ef024dcbecc.tar.bz2
guru-d9663ac0df073c4631a5d02daa5f5ef024dcbecc.zip
dev-ml/ollama: chmod to fperms, add einfo quick guide
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ollama/ollama-9999.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-ml/ollama/ollama-9999.ebuild b/dev-ml/ollama/ollama-9999.ebuild
index 5e58c7a4f..a0dd04624 100644
--- a/dev-ml/ollama/ollama-9999.ebuild
+++ b/dev-ml/ollama/ollama-9999.ebuild
@@ -49,8 +49,12 @@ src_compile() {
src_install() {
dobin ollama
doinitd "${FILESDIR}"/ollama
+ fperms 0755 /etc/init.d/ollama
}
pkg_postinst() {
- chmod 0755 /etc/init.d/ollama || die
+ einfo "Quick guide:"
+ einfo "ollama serve"
+ einfo "ollama run llama3:70b"
+ einfo "See available models at https://ollama.com/library"
}