diff options
| author | BK <BlitzKraft@users.noreply.github.com> | 2018-11-03 13:38:37 -0400 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-11-03 10:38:37 -0700 |
| commit | bdc72740cb5f9d7d6d5df574b39721ec479dc733 (patch) | |
| tree | ac21bd30f3a3299aa7552594b6f43ca4c0c274a1 /util | |
| parent | 292a87ad0442293aadfe6910c9e5f19a53e54a81 (diff) | |
| download | qmk_firmware-bdc72740cb5f9d7d6d5df574b39721ec479dc733.tar.gz qmk_firmware-bdc72740cb5f9d7d6d5df574b39721ec479dc733.zip | |
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 | |||
| 86 | app-arch/unzip \ | 86 | app-arch/unzip \ |
| 87 | app-arch/zip \ | 87 | app-arch/zip \ |
| 88 | app-mobilephone/dfu-util \ | 88 | app-mobilephone/dfu-util \ |
| 89 | dev-embedded/avrdude \ | ||
| 89 | net-misc/wget \ | 90 | net-misc/wget \ |
| 90 | sys-devel/gcc \ | 91 | sys-devel/gcc \ |
| 91 | sys-devel/crossdev dev-embedded/avrdude | 92 | sys-devel/crossdev |
| 92 | sudo crossdev -s4 --stable --g =4.9.4 --portage --verbose --target avr | 93 | sudo crossdev -s4 --stable --g =4.9.4 --portage --verbose --target avr |
| 93 | echo Done! | 94 | echo "Done!" |
| 94 | else | 95 | else |
| 95 | echo "Quitting..." | 96 | echo "Quitting..." |
| 96 | fi | 97 | fi |
| 97 | 98 | ||
| 99 | elif grep ID /etc/os-release | grep -q sabayon; then | ||
| 100 | sudo equo install \ | ||
| 101 | app-arch/unzip \ | ||
| 102 | app-arch/zip \ | ||
| 103 | app-mobilephone/dfu-util \ | ||
| 104 | dev-embedded/avrdude \ | ||
| 105 | net-misc/wget \ | ||
| 106 | sys-devel/gcc \ | ||
| 107 | sys-devel/crossdev | ||
| 108 | sudo crossdev -s4 --stable --g =4.9.4 --portage --verbose --target avr | ||
| 109 | echo "Done!" | ||
| 110 | |||
| 98 | elif grep ID /etc/os-release | grep -qE "opensuse|tumbleweed"; then | 111 | elif grep ID /etc/os-release | grep -qE "opensuse|tumbleweed"; then |
| 99 | CROSS_AVR_GCC=cross-avr-gcc8 | 112 | CROSS_AVR_GCC=cross-avr-gcc8 |
| 100 | if grep ID /etc/os-release | grep -q "15.0"; then | 113 | if grep ID /etc/os-release | grep -q "15.0"; then |
