diff options
| author | Nick Brassel <nick@tzarc.org> | 2022-11-27 04:16:08 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-27 04:16:08 +1100 |
| commit | ad7b095da6b2a51a310725c1c0fcb6571b46e7e7 (patch) | |
| tree | 08f51a3cd5e4c842ca50d814b5292fdbc7ebe1a5 /util | |
| parent | 1e95f7be8f214c544bf99f415916a4a5f07a1e9b (diff) | |
Fixup installation procedure for different Fedora versions. (#19159)
Diffstat (limited to 'util')
| -rwxr-xr-x | util/install/fedora.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/util/install/fedora.sh b/util/install/fedora.sh index 6380f6d33f..03e05a42fe 100755 --- a/util/install/fedora.sh +++ b/util/install/fedora.sh | |||
| @@ -8,7 +8,12 @@ _qmk_install() { | |||
| 8 | clang diffutils git gcc glibc-headers kernel-devel kernel-headers \ | 8 | clang diffutils git gcc glibc-headers kernel-devel kernel-headers \ |
| 9 | make unzip wget zip python3 avr-binutils avr-gcc avr-gcc-c++ avr-libc \ | 9 | make unzip wget zip python3 avr-binutils avr-gcc avr-gcc-c++ avr-libc \ |
| 10 | arm-none-eabi-binutils-cs arm-none-eabi-gcc-cs arm-none-eabi-gcc-cs-c++ \ | 10 | arm-none-eabi-binutils-cs arm-none-eabi-gcc-cs arm-none-eabi-gcc-cs-c++ \ |
| 11 | arm-none-eabi-newlib avrdude dfu-programmer dfu-util hidapi libusb-devel | 11 | arm-none-eabi-newlib avrdude dfu-programmer dfu-util hidapi |
| 12 | |||
| 13 | # Handle discrepancies between different Fedora versions | ||
| 14 | sudo dnf $SKIP_PROMPT install libusb-devel \ | ||
| 15 | || sudo dnf $SKIP_PROMPT install libusb1-devel libusb-compat-0.1-devel \ | ||
| 16 | || sudo dnf $SKIP_PROMPT install libusb0-devel | ||
| 12 | 17 | ||
| 13 | python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt | 18 | python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt |
| 14 | } | 19 | } |
