Jessie compatible package

This commit is contained in:
dschmenk 2015-11-18 11:27:27 -08:00
parent bffa979352
commit 1df8fb5d5d
3 changed files with 20 additions and 12 deletions

View File

@ -1,5 +1,5 @@
PACKAGE=a2pi
VERSION=0.2.0
VERSION=0.2.1
DIST=$(PACKAGE)-$(VERSION)
DISTDIR=./$(DIST)

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
a2pi (0.2.1-0) unstable; urgency=low
* First Jessie package
-- David Schmenk <dschmenk@gmail.com> Tue, 17 Nov 2015 19:27:59 -0800
a2pi (0.2.0-2) unstable; urgency=low
* Add support for Raspberry Pi version 2

24
debian/postinst vendored
View File

@ -30,15 +30,17 @@ case "$1" in
#
# Disable getty on built-in serial port.
#
ttyline=`grep ttyAMA0 /etc/inittab`
case "$ttyline" in
T0*)
mv /etc/inittab /etc/inittab.bak
sed 's/^T0/#T0/' /etc/inittab.bak > /etc/inittab
;;
*)
;;
esac
if [ -e /etc/inittab ] ; then
ttyline=`grep ttyAMA0 /etc/inittab`
case "$ttyline" in
T0*)
mv /etc/inittab /etc/inittab.bak
sed 's/^T0/#T0/' /etc/inittab.bak > /etc/inittab
;;
*)
;;
esac
fi
#
# Disable joystick as a mouse in X
#
@ -48,7 +50,7 @@ case "$1" in
#
# Add default Pi user,pi, to groups fuse and input
#
addgroup pi fuse
# addgroup pi fuse
# addgroup pi input # already there by default
#
# Allow other users (root) to access FUSE mount points
@ -76,7 +78,7 @@ case "$1" in
# Add schmenk.is-a-geek.com to apt sources
#
if [ "$(grep schmenk /etc/apt/sources.list)" = "" ] ; then
echo "deb http://schmenk.is-a-geek.com/raspbian wheezy contrib" >> /etc/apt/sources.list
echo "deb http://schmenk.is-a-geek.com/raspbian jessie contrib" >> /etc/apt/sources.list
fi
#
# Remove old install