diff options
author | BK <BlitzKraft@users.noreply.github.com> | 2018-11-03 18:38:37 +0100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-11-03 18:38:37 +0100 |
commit | bdc72740cb5f9d7d6d5df574b39721ec479dc733 (patch) | |
tree | ac21bd30f3a3299aa7552594b6f43ca4c0c274a1 /util | |
parent | 292a87ad0442293aadfe6910c9e5f19a53e54a81 (diff) | |
download | qmk_firmware-bdc72740cb5f9d7d6d5df574b39721ec479dc733.tar.gz qmk_firmware-bdc72740cb5f9d7d6d5df574b39721ec479dc733.tar.xz |
Add distro support for sabayon (#4320)
* Add distro support for sabayon
Sabayon is a gentoo based distro with a different package manager. Does
not need any use flags or masking for the required packages.
* Add missing backslash
* Put echo string in quotes, remove extra newline
* Order gentoo/sabayon packages alphabetically.
Diffstat (limited to 'util')
-rwxr-xr-x | util/linux_install.sh | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/util/linux_install.sh b/util/linux_install.sh index d3b9328d7..8dc28be6e 100755 --- a/util/linux_install.sh +++ b/util/linux_install.sh @@ -86,15 +86,28 @@ elif grep ID /etc/os-release | grep -q gentoo; then app-arch/unzip \ app-arch/zip \ app-mobilephone/dfu-util \ + dev-embedded/avrdude \ net-misc/wget \ sys-devel/gcc \ - sys-devel/crossdev dev-embedded/avrdude + sys-devel/crossdev sudo crossdev -s4 --stable --g =4.9.4 --portage --verbose --target avr - echo Done! + echo "Done!" else echo "Quitting..." fi +elif grep ID /etc/os-release | grep -q sabayon; then + sudo equo install \ + app-arch/unzip \ + app-arch/zip \ + app-mobilephone/dfu-util \ + dev-embedded/avrdude \ + net-misc/wget \ + sys-devel/gcc \ + sys-devel/crossdev + sudo crossdev -s4 --stable --g =4.9.4 --portage --verbose --target avr + echo "Done!" + elif grep ID /etc/os-release | grep -qE "opensuse|tumbleweed"; then CROSS_AVR_GCC=cross-avr-gcc8 if grep ID /etc/os-release | grep -q "15.0"; then |