summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorBK <BlitzKraft@users.noreply.github.com>2018-11-03 13:38:37 -0400
committerDrashna Jaelre <drashna@live.com>2018-11-03 10:38:37 -0700
commitbdc72740cb5f9d7d6d5df574b39721ec479dc733 (patch)
treeac21bd30f3a3299aa7552594b6f43ca4c0c274a1 /util
parent292a87ad0442293aadfe6910c9e5f19a53e54a81 (diff)
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-xutil/linux_install.sh17
1 files changed, 15 insertions, 2 deletions
diff --git a/util/linux_install.sh b/util/linux_install.sh
index d3b9328d79..8dc28be6ef 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