New package: ollama-0.1.32
I wanted to test ollama myself so reworked @ezag PR: https://github.com/void-linux/void-packages/pull/48199 Now it's fetching files the right way and updated to 0.1.32. I'm fine with @ezag maintaining it. Just wanted to share my progress
- I tested the changes in this PR: yes
New package
-
This new package conforms to the package requirements: YES
-
I built this PR locally for my native architecture, (x86-64-glibc)
-
I built this PR locally for these architectures:
- aarch64-musl
About archs: The only archs supported by upstream are x86_64 and arm64 so others were disabled
About git init line: go generate script has git submodule command so build doesn't work without .git folder.
Closes https://github.com/void-linux/void-packages/issues/50094 @ezag , thnx. @Bnyro , I used your review messages. Thnx
what's about this problem: https://github.com/void-linux/void-packages/blob/ef03c533334a4500e76daf0d8a7fc4df789a05d0/srcpkgs/ollama/files/ollama/run#L4
2024-05-12T13:03:36.79374 daemon.notice: May 12 14:03:36 ollama: chpst: fatal: unknown user/group: ollama:ollama
in ollama.sh script:
configure_systemd() {
if ! id ollama >/dev/null 2>&1; then
status "Creating ollama user..."
sudo useradd -r -s /bin/false -U -m -d /usr/share/ollama ollama
fi
if getent group render >/dev/null 2>&1; then
sudo usermod -a -G render ollama
fi
if getent group video >/dev/null 2>&1; then
status "Adding ollama user to video group..."
sudo usermod -a -G video ollama
fi
status "Adding current user to ollama group..."
sudo usermod -a -G ollama $(whoami)
# ....
}
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.