Workaround for dfu-programmer on Fedora 39 (#22945)

master
Joel Challis 2024-01-23 10:02:03 +00:00 committed by GitHub
parent 3495cbc638
commit b7468f4785
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,11 @@
_qmk_install() { _qmk_install() {
echo "Installing dependencies" 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 # TODO: Check whether devel/headers packages are really needed
sudo dnf $SKIP_PROMPT install \ sudo dnf $SKIP_PROMPT install \
clang diffutils git gcc glibc-headers kernel-devel kernel-headers \ clang diffutils git gcc glibc-headers kernel-devel kernel-headers \