1
0
Fork 0

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.
This commit is contained in:
BK 2018-11-03 13:38:37 -04:00 committed by Drashna Jaelre
parent 292a87ad04
commit bdc72740cb

View file

@ -86,15 +86,28 @@ elif grep ID /etc/os-release | grep -q gentoo; then
app-arch/unzip \ app-arch/unzip \
app-arch/zip \ app-arch/zip \
app-mobilephone/dfu-util \ app-mobilephone/dfu-util \
dev-embedded/avrdude \
net-misc/wget \ net-misc/wget \
sys-devel/gcc \ sys-devel/gcc \
sys-devel/crossdev dev-embedded/avrdude sys-devel/crossdev
sudo crossdev -s4 --stable --g =4.9.4 --portage --verbose --target avr sudo crossdev -s4 --stable --g =4.9.4 --portage --verbose --target avr
echo Done! echo "Done!"
else else
echo "Quitting..." echo "Quitting..."
fi 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 elif grep ID /etc/os-release | grep -qE "opensuse|tumbleweed"; then
CROSS_AVR_GCC=cross-avr-gcc8 CROSS_AVR_GCC=cross-avr-gcc8
if grep ID /etc/os-release | grep -q "15.0"; then if grep ID /etc/os-release | grep -q "15.0"; then