commit: e39750a3bb6ffeb16ff7ef57cb80a5948c6f753f Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com> AuthorDate: Sun Feb 9 17:40:51 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Sun Feb 9 17:40:59 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e39750a3
app-misc/ollama: mark executables as exacutable The build system has exectuables in /usr/lib/ollama/runners/rocm/ ... Bug: https://bugs.gentoo.org/946268#c17 Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com> app-misc/ollama/ollama-0.5.7-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app-misc/ollama/ollama-0.5.7-r1.ebuild b/app-misc/ollama/ollama-0.5.7-r1.ebuild index e95741936..120a9b5ff 100644 --- a/app-misc/ollama/ollama-0.5.7-r1.ebuild +++ b/app-misc/ollama/ollama-0.5.7-r1.ebuild @@ -160,6 +160,10 @@ src_install() { doins -r "dist/linux-${ARCH}/lib/ollama" fi + if use rocm; then + fperms +x /usr/lib/ollama/runners/rocm/ollama_llama_server + fi + doinitd "${FILESDIR}"/ollama.init }
