summaryrefslogtreecommitdiff
path: root/stage4
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.org>2016-05-05 19:43:33 +0100
committerSerge Schneider <serge@raspberrypi.org>2016-05-05 21:21:42 +0100
commitbdca3e3b48e72df796ec7b1a24a26c08b2dcfa67 (patch)
tree8d64818c7e99350b5c306144d3a0726626745619 /stage4
parent19a1b94d2a34b795e570f25708fa0ae45bcbbf38 (diff)
Rework
Diffstat (limited to 'stage4')
-rw-r--r--stage4/00-install-packages/00-packages7
-rwxr-xr-xstage4/02-extras/00-run.sh5
2 files changed, 8 insertions, 4 deletions
diff --git a/stage4/00-install-packages/00-packages b/stage4/00-install-packages/00-packages
index f8b3ea4..950e320 100644
--- a/stage4/00-install-packages/00-packages
+++ b/stage4/00-install-packages/00-packages
@@ -3,7 +3,6 @@ libreoffice-sdbc-hsqldb
sonic-pi
python idle python3-pygame python-pygame python-tk
python3 idle3 python3-tk
-python3-rpi.gpio
python3-pgzero
python-serial python3-serial
python-picamera python3-picamera
@@ -22,6 +21,8 @@ tree
scratch nuscratch
greenfoot bluej
nodered
-python-gpiozero python3-gpiozero
-raspi-gpio
libgl1-mesa-dri libgles1-mesa libgles2-mesa xcompmgr
+geany
+piclone
+pulseaudio-module-bluetooth
+wiringpi pigpio python-pigpio python3-pigpio raspi-gpio python-gpiozero python3-gpiozero python3-rpi.gpio
diff --git a/stage4/02-extras/00-run.sh b/stage4/02-extras/00-run.sh
index a4a64ab..74c9d9e 100755
--- a/stage4/02-extras/00-run.sh
+++ b/stage4/02-extras/00-run.sh
@@ -1,7 +1,10 @@
#!/bin/bash -e
HASH=`wget https://api.github.com/repos/KenT2/python-games/git/refs/heads/master -qO -| grep \"sha\" | cut -f 2 -d ':' | cut -f 2 -d \"`
-HASH_LOCAL=`cat files/python_games.hash`
+
+if [ -f files/python_games.hash ]; then
+ HASH_LOCAL=`cat files/python_games.hash`
+fi
if [ ! -e files/python_games.tar.gz ] || [ "$HASH" != "$HASH_LOCAL" ]; then
wget "https://github.com/KenT2/python-games/tarball/master" -O files/python_games.tar.gz