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

This commit is contained in:
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

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 \