mirror of
https://github.com/dschmenk/apple2pi.git
synced 2024-11-23 06:32:07 +00:00
Jessie compatible package
This commit is contained in:
parent
bffa979352
commit
1df8fb5d5d
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
||||
PACKAGE=a2pi
|
||||
VERSION=0.2.0
|
||||
VERSION=0.2.1
|
||||
DIST=$(PACKAGE)-$(VERSION)
|
||||
DISTDIR=./$(DIST)
|
||||
|
||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -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
24
debian/postinst
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user