Skip to content

Commit

Permalink
Add dfu-programmer to pacman -S (qmk#6619)
Browse files Browse the repository at this point in the history
* Add `dfu-programmer` to `pacman -S` (qmk#6618)

`dfu-programmer` now resides at `extra/dfu-programmer` and is no longer
in the AUR

* Add `--needed` option to `pacman -S` for efficiency

* Fix

* Update util/linux_install.sh

Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
  • Loading branch information
2 people authored and Philip Karlsson committed Dec 3, 2019
1 parent 0b68844 commit 7c71d54
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions util/linux_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ elif grep ID /etc/os-release | grep -qE 'debian|ubuntu'; then

elif grep ID /etc/os-release | grep -q 'arch\|manjaro'; then
sudo pacman -U https://archive.archlinux.org/packages/a/avr-gcc/avr-gcc-8.3.0-1-x86_64.pkg.tar.xz
sudo pacman -S \
sudo pacman -S --needed \
arm-none-eabi-binutils \
arm-none-eabi-gcc \
arm-none-eabi-newlib \
Expand All @@ -71,6 +71,7 @@ elif grep ID /etc/os-release | grep -q 'arch\|manjaro'; then
avr-gcc \
base-devel \
clang \
dfu-programmer \
dfu-util \
diffutils \
gcc \
Expand All @@ -79,10 +80,6 @@ elif grep ID /etc/os-release | grep -q 'arch\|manjaro'; then
unzip \
wget \
zip
git clone https://aur.archlinux.org/dfu-programmer.git /tmp/dfu-programmer
cd /tmp/dfu-programmer || exit 1
makepkg -sic
rm -rf /tmp/dfu-programmer/

elif grep ID /etc/os-release | grep -q gentoo; then
echo "$GENTOO_WARNING" | fmt
Expand Down

0 comments on commit 7c71d54

Please sign in to comment.