Skip to content

Commit

Permalink
Packaging fixes for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
deckerego committed Jan 31, 2017
1 parent c43299d commit e4baf2e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion debian/compat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7
9
5 changes: 4 additions & 1 deletion debian/python-hackclock.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand All @@ -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!"
2 changes: 1 addition & 1 deletion package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e4baf2e

Please sign in to comment.