Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup installation procedure for different Fedora versions. #19159

Merged
merged 1 commit into from
Nov 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion util/install/fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ _qmk_install() {
clang diffutils git gcc glibc-headers kernel-devel kernel-headers \
make unzip wget zip python3 avr-binutils avr-gcc avr-gcc-c++ avr-libc \
arm-none-eabi-binutils-cs arm-none-eabi-gcc-cs arm-none-eabi-gcc-cs-c++ \
arm-none-eabi-newlib avrdude dfu-programmer dfu-util hidapi libusb-devel
arm-none-eabi-newlib avrdude dfu-programmer dfu-util hidapi

# Handle discrepancies between different Fedora versions
sudo dnf $SKIP_PROMPT install libusb-devel \
|| sudo dnf $SKIP_PROMPT install libusb1-devel libusb-compat-0.1-devel \
|| sudo dnf $SKIP_PROMPT install libusb0-devel

python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt
}