add indicators

This commit is contained in:
Yossi 2017-07-20 11:41:57 +03:00
parent d7ad71d97e
commit f28811d7ba

View File

@ -272,6 +272,13 @@ if [ ${OS_TYPE} == "drideOS" ]; then
fi fi
if [ ${OS_TYPE} == "drideOS" ]; then
echo "========== Install Indicators ============"
sudo apt-get install scons
cd /home/Cardigan/modules/indicators
sudo python setup.py
fi
@ -306,6 +313,35 @@ echo "========== Setup sound to I2S ============"
sudo curl -sS https://dride.io/code/i2samp.sh | bash sudo curl -sS https://dride.io/code/i2samp.sh | bash
echo "========== Setup mic ============"
# https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-and-test
echo "========== Setup RTC ============"
# https://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi/set-rtc-time
sudo apt-get install python-smbus i2c-tools
# TODO: turn on ISC on raspi-config...
# add to sudo nano /boot/config.txt
# dtoverlay=i2c-rtc,pcf8523
# Remove hw-clock
sudo apt-get -y remove fake-hwclock
sudo update-rc.d -f fake-hwclock remove
# copy new file to
#sudo nano /lib/udev/hwclock-set
# set HW clock
sudo hwclock -D -r
echo "========== Setup NeoPixel ============"
# TODO: ....
echo "========== Install Dride-core [Cardigan] ============" echo "========== Install Dride-core [Cardigan] ============"
cd /home cd /home
# https://s3.amazonaws.com/dride/releases/cardigan/latest.zip # https://s3.amazonaws.com/dride/releases/cardigan/latest.zip