summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-01-23 10:02:03 +0000
committerGitHub <noreply@github.com>2024-01-23 10:02:03 +0000
commitb7468f47857ad20a031906ccbd654541222a0d26 (patch)
tree8ae01f4fe186095d052afe016377e2b8d5e7765e /util
parent3495cbc6382d4fa08ee5b4294527ab66fb7dff59 (diff)
Workaround for dfu-programmer on Fedora 39 (#22945)
Diffstat (limited to 'util')
-rwxr-xr-xutil/install/fedora.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/install/fedora.sh b/util/install/fedora.sh
index 03e05a42fe..d3bc90b176 100755
--- a/util/install/fedora.sh
+++ b/util/install/fedora.sh
@@ -3,6 +3,11 @@
_qmk_install() {
echo "Installing dependencies"
+ . /etc/os-release
+ if [ "$VERSION_ID" == "39" ]; then
+ sudo dnf $SKIP_PROMPT copr enable erovia/dfu-programmer
+ fi
+
# TODO: Check whether devel/headers packages are really needed
sudo dnf $SKIP_PROMPT install \
clang diffutils git gcc glibc-headers kernel-devel kernel-headers \