Skip to content

Commit e4baf2e

Browse files
committed
Packaging fixes for v2
1 parent c43299d commit e4baf2e

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

debian/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
hackclock (2.0.0) stable; urgency=low
1+
hackclock (2.0.0-1) stable; urgency=low
22

33
* I2C audio
44
* Raspberry Pi Zero support

debian/compat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7
1+
9

debian/python-hackclock.postinst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ chown -R pi:pi /home/pi/hack-clock
88

99
# Install those Python modules that only exist via pip
1010
echo "Installing missing Python modules..."
11-
pip install --upgrade -r /usr/share/doc/hack-clock/requirements.txt
11+
pip install --upgrade -r /usr/share/doc/hack-clock/requirements.txt
1212

1313
# Set the hifiberry-dac i2s module
1414
echo "Installing I2S audio..."
@@ -34,4 +34,7 @@ elif [ -e $MOD_CONFIG ] && grep -q "^snd-bcm2835" $MOD_CONFIG; then
3434
sudo sed -i "s|^snd-bcm2835|#snd-bcm2835|" $MOD_CONFIG &> /dev/null
3535
fi
3636

37+
# Boot upon start
38+
update-rc.d hack-clock defaults
39+
3740
echo "Please reboot your Raspberry Pi!"

package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
cd ..
44
echo "Compressing file..."
5-
tar Jcf hackclock_2.0.0.orig.tar.xz hack-clock/
5+
tar Jcf hackclock_2.0.0-1.orig.tar.xz hack-clock/
66

77
cd hack-clock
88
dpkg-buildpackage -rfakeroot -uc -us

0 commit comments

Comments
 (0)