diff --git a/debian/changelog b/debian/changelog index 8b7aa59..2eee7be 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hackclock (2.0.0) stable; urgency=low +hackclock (2.0.0-1) stable; urgency=low * I2C audio * Raspberry Pi Zero support diff --git a/debian/compat b/debian/compat index 7f8f011..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -7 +9 diff --git a/debian/python-hackclock.postinst b/debian/python-hackclock.postinst index 5ecbaa5..a807291 100644 --- a/debian/python-hackclock.postinst +++ b/debian/python-hackclock.postinst @@ -8,7 +8,7 @@ chown -R pi:pi /home/pi/hack-clock # Install those Python modules that only exist via pip echo "Installing missing Python modules..." -pip install --upgrade -r /usr/share/doc/hack-clock/requirements.txt +pip install --upgrade -r /usr/share/doc/hack-clock/requirements.txt # Set the hifiberry-dac i2s module echo "Installing I2S audio..." @@ -34,4 +34,7 @@ elif [ -e $MOD_CONFIG ] && grep -q "^snd-bcm2835" $MOD_CONFIG; then sudo sed -i "s|^snd-bcm2835|#snd-bcm2835|" $MOD_CONFIG &> /dev/null fi +# Boot upon start +update-rc.d hack-clock defaults + echo "Please reboot your Raspberry Pi!" diff --git a/package.sh b/package.sh index dff38aa..cc0be5e 100755 --- a/package.sh +++ b/package.sh @@ -2,7 +2,7 @@ cd .. echo "Compressing file..." -tar Jcf hackclock_2.0.0.orig.tar.xz hack-clock/ +tar Jcf hackclock_2.0.0-1.orig.tar.xz hack-clock/ cd hack-clock dpkg-buildpackage -rfakeroot -uc -us