summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchax <mislav.cakaric@homecontrol.no>2019-05-21 12:01:11 +0200
committerFlorian Didron <fdidron@users.noreply.github.com>2019-06-04 09:34:43 +0800
commitf3c7a253cae77c1e7b4624502028e55f74ed53d1 (patch)
tree2b363d4a8080982c3b70d67ab11dc7426f8c75d3
parent877b962dccba2df19988ef824848955c6c793f53 (diff)
Add Solus support to linux_install.sh script
Add Solus support to linux_install.sh script added update-repo command before install command
-rw-r--r--changelog.md1
-rwxr-xr-xutil/linux_install.sh22
2 files changed, 23 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index ef88fa078a..fc5a556ac9 100644
--- a/changelog.md
+++ b/changelog.md
@@ -22,3 +22,4 @@
05-06-2019 - More readable fix of Mousekeys issue
05-06-2019 - Changes to Split Common and OLED code
05-16-2019 - Add RGB Light Effect Range functionality
+05-26-2019 - Add Solus support for Linux install script
diff --git a/util/linux_install.sh b/util/linux_install.sh
index 53f50d7f18..9f957e7d0c 100755
--- a/util/linux_install.sh
+++ b/util/linux_install.sh
@@ -6,6 +6,8 @@ GENTOO_WARNING="This script will make a USE change in order to ensure that that
SLACKWARE_WARNING="You will need the following packages from slackbuilds.org:\n\tarm-binutils\n\tarm-gcc\n\tavr-binutils\n\tavr-gcc\n\tavr-libc\n\tavrdude\n\tdfu-programmer\n\tdfu-util\n\tnewlib\nThese packages will be installed with sudo and sboinstall, so ensure that your user is added to sudoers and that sboinstall is configured."
+SOLUS_INFO="Your tools are now installed. To start using them, open new terminal or source these scripts:\n\t/usr/share/defaults/etc/profile.d/50-arm-toolchain-path.sh\n\t/usr/share/defaults/etc/profile.d/50-avr-toolchain-path.sh"
+
if grep ID /etc/os-release | grep -qE "fedora"; then
sudo dnf install \
arm-none-eabi-binutils-cs \
@@ -156,6 +158,26 @@ elif grep ID /etc/os-release | grep -q slackware; then
echo "Quitting..."
fi
+elif grep ID /etc/os-release | grep -q solus; then
+ sudo eopkg ur
+ sudo eopkg it \
+ -c system.devel \
+ arm-none-eabi-gcc \
+ arm-none-eabi-binutils \
+ arm-none-eabi-newlib \
+ avr-libc \
+ avr-binutils \
+ avr-gcc \
+ avrdude \
+ dfu-util \
+ dfu-programmer \
+ python3 \
+ git \
+ wget \
+ zip \
+ unzip
+ printf "\n$SOLUS_INFO\n"
+
else
echo "Sorry, we don't recognize your OS. Help us by contributing support!"
echo