summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/gpsd/files/gpsd21
-rw-r--r--packages/gpsd/files/om-gta02/gpsd-default3
-rw-r--r--packages/gpsd/gpsd_2.34.bb2
-rw-r--r--packages/openmoko2/openmoko-sound-system2/session1
-rw-r--r--packages/openmoko2/openmoko-sound-system2_0.1.0.bb4
-rw-r--r--packages/resolvconf/resolvconf_1.28.bb3
6 files changed, 13 insertions, 21 deletions
diff --git a/packages/gpsd/files/gpsd b/packages/gpsd/files/gpsd
index e536837e1c..91f09c1b75 100755
--- a/packages/gpsd/files/gpsd
+++ b/packages/gpsd/files/gpsd
@@ -10,6 +10,7 @@
#. /etc/rc.d/init.d/functions
RETVAL=0
+DAEMON=/usr/sbin/gpsd
prog="gpsd"
test -f /etc/default/$prog && . /etc/default/$prog
@@ -40,29 +41,24 @@ start() {
if [ -e "${GPS_DEV}" ]
then
- gpsd ${GPSD_OPTS} ${GPS_DEV}
- echo "success"
+ start-stop-daemon -S -x ${DAEMON} -- ${GPSD_OPTS} ${GPS_DEV}
+ echo "success"
else
# User needs to symlink ${GPS_DEV} to the right thing
echo "No ${GPS_DEV} GPS device, aborting gpsd startup. Check /etc/default/$prog"
fi
RETVAL=$?
echo
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/gpsd
return $RETVAL
}
stop() {
# Stop daemons.
echo -n "Shutting down $prog: "
- killall gpsd
+ start-stop-daemon -K -x ${DAEMON}
# killproc gpsd
RETVAL=$?
echo
- if [ $RETVAL -eq 0 ]
- then
- rm -f /var/lock/subsys/gpsd;
- fi
return $RETVAL
}
@@ -79,19 +75,12 @@ case "$1" in
start
RETVAL=$?
;;
- condrestart)
- if [ -f /var/lock/subsys/gpsd ]; then
- stop
- start
- RETVAL=$?
- fi
- ;;
status)
# status gpsd
# RETVAL=$?
;;
*)
- echo "Usage: $0 {start|stop|restart|condrestart|status}"
+ echo "Usage: $0 {start|stop|restart|status}"
exit 1
esac
diff --git a/packages/gpsd/files/om-gta02/gpsd-default b/packages/gpsd/files/om-gta02/gpsd-default
new file mode 100644
index 0000000000..be43103412
--- /dev/null
+++ b/packages/gpsd/files/om-gta02/gpsd-default
@@ -0,0 +1,3 @@
+# If you must specify a non-NMEA driver, uncomment and modify the next line
+#GPSD_OPTS=
+GPS_DEV="/dev/ttySAC1"
diff --git a/packages/gpsd/gpsd_2.34.bb b/packages/gpsd/gpsd_2.34.bb
index 8e46cb01eb..4f4e3a3a78 100644
--- a/packages/gpsd/gpsd_2.34.bb
+++ b/packages/gpsd/gpsd_2.34.bb
@@ -1,4 +1,4 @@
require gpsd.inc
-PR = "r9"
+PR = "r10"
diff --git a/packages/openmoko2/openmoko-sound-system2/session b/packages/openmoko2/openmoko-sound-system2/session
index 7ba07e9784..7cc4d49ea3 100644
--- a/packages/openmoko2/openmoko-sound-system2/session
+++ b/packages/openmoko2/openmoko-sound-system2/session
@@ -6,7 +6,6 @@ add-autoload-source input module-alsa-source source_name=input
# Load several protocols
load-module module-esound-protocol-unix
-load-module module-simple-protocol-tcp
load-module module-native-protocol-unix
load-module module-cli-protocol-unix
diff --git a/packages/openmoko2/openmoko-sound-system2_0.1.0.bb b/packages/openmoko2/openmoko-sound-system2_0.1.0.bb
index 33cd5648d4..ec45bfa641 100644
--- a/packages/openmoko2/openmoko-sound-system2_0.1.0.bb
+++ b/packages/openmoko2/openmoko-sound-system2_0.1.0.bb
@@ -13,7 +13,7 @@ RDEPENDS = "\
"
RREPLACES = "openmoko-sound-system"
RPROVIDES = "openmoko-sound-system"
-PR = "r5"
+PR = "r5.01"
inherit openmoko-base update-rc.d
@@ -28,7 +28,7 @@ do_install() {
install -d ${D}/${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/pulseaudio ${D}/${sysconfdir}/init.d/
install -d ${D}/${sysconfdir}/pulse
- install -m 0755 ${WORKDIR}/session ${D}/${sysconfdir}/pulse/session
+ install -m 0755 ${WORKDIR}/session ${D}/${sysconfdir}/pulse/session
}
PACKAGE_ARCH = "all"
diff --git a/packages/resolvconf/resolvconf_1.28.bb b/packages/resolvconf/resolvconf_1.28.bb
index 2aa2fccc8b..48017bce27 100644
--- a/packages/resolvconf/resolvconf_1.28.bb
+++ b/packages/resolvconf/resolvconf_1.28.bb
@@ -9,7 +9,7 @@ AUTHOR = "Thomas Hood"
HOMEPAGE = "http://packages.debian.org/resolvconf"
DEPENDS = "bash"
RDEPENDS = "bash"
-PR = "r1"
+PR = "r2"
SRC_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/resolvconf_${PV}.tar.gz"
@@ -21,6 +21,7 @@ do_install () {
install -d ${D}${sysconfdir} ${D}${sbindir} ${D}${base_sbindir} ${D}${localstatedir}/run/resolvconf/interface
install -d ${D}${mandir}/man8 ${D}${docdir}/${P}
cp -pPR etc/* ${D}${sysconfdir}/
+ mkdir -p ${D}${sysconfdir}/resolvconf/run/interface
install -m 0755 bin/resolvconf ${D}${base_sbindir}/
install -m 0644 README ${D}${docdir}/${P}/
install -m 0644 man/resolvconf.8 ${D}${mandir}/man8/