Skip to content

Commit

Permalink
fix: workaround upstream packaging bug for opencl (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 authored Dec 23, 2024
1 parent 1ff87c3 commit d766353
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scripts/_base/010-opencl-bug.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

set -euox pipefail

# mitigate upstream packaging bug: https://bugzilla.redhat.com/show_bug.cgi?id=2332429
# swap the incorrectly installed OpenCL-ICD-Loader for ocl-icd, the expected package
rpm-ostree override replace \
--from repo='fedora' \
--experimental \
--remove=OpenCL-ICD-Loader \
ocl-icd \
|| true

0 comments on commit d766353

Please sign in to comment.