[oe-commits] erin : add opd_args file to append arguments for starting opd
GIT User account
git at amethyst.openembedded.net
Wed Dec 17 12:56:45 UTC 2008
Module: openembedded.git
Branch: john_lee/openmoko-merges
Commit: f51ad6650e139baa861b0890cb2d18edb1bbb6fc
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f51ad6650e139baa861b0890cb2d18edb1bbb6fc
Author: erin <erin at debian.tw.openmoko.com>
Date: Tue Dec 2 13:57:18 2008 +0800
add opd_args file to append arguments for starting opd
put few packages to task-openmoko-feed for bluetooth usage
---
packages/obexpush/files/opd_args | 1 +
packages/obexpush/obexpush_1.0.0.bb | 7 +++++--
packages/tasks/task-openmoko-feed.bb | 2 ++
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/packages/obexpush/files/opd_args b/packages/obexpush/files/opd_args
new file mode 100644
index 0000000..db1fb57
--- /dev/null
+++ b/packages/obexpush/files/opd_args
@@ -0,0 +1 @@
+OPD_ARGS="--mode OBEX --path /home/root --channel 10 --sdp --metadata"
diff --git a/packages/obexpush/obexpush_1.0.0.bb b/packages/obexpush/obexpush_1.0.0.bb
index 4ec591d..cfc09df 100644
--- a/packages/obexpush/obexpush_1.0.0.bb
+++ b/packages/obexpush/obexpush_1.0.0.bb
@@ -3,11 +3,12 @@ HOMEPAGE = "http://www.caside.lancs.ac.uk/java_bt.php"
SECTION = "console/network"
LICENSE = "GPL"
DEPENDS = "glib-2.0 openobex bluez-libs"
-PR = "r3"
+PR = "r4"
SRC_URI = "http://www.caside.lancs.ac.uk/bt/obexpush.tar.gz \
file://add-obextool.patch;patch=1 \
- file://init"
+ file://init \
+ file://opd_args"
S = "${WORKDIR}/obexpush"
inherit update-rc.d
@@ -41,6 +42,8 @@ do_install() {
install -m 0755 opd/opd ${D}${sbindir}
install -d ${D}${sysconfdir}/init.d
+ install -d ${D}${sysconfdir}/default
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/opd
+ install -m 0755 ${WORKDIR}/opd_args ${D}${sysconfdir}/default/opd_args
}
diff --git a/packages/tasks/task-openmoko-feed.bb b/packages/tasks/task-openmoko-feed.bb
index 1d661e7..197f775 100644
--- a/packages/tasks/task-openmoko-feed.bb
+++ b/packages/tasks/task-openmoko-feed.bb
@@ -29,6 +29,8 @@ RDEPENDS_task-openmoko-feed = "\
ntpclient ntp \
openssh openssh-scp openssh-ssh openssh-sshd openssh-sftp openssh-misc \
python python-pygtk python-pyserial python-gst python-pygame \
+ python-lightblue python-pybluez \
+ obexpush \
ruby \
libsdl-x11 libsdl-mixer libsdl-net libsdl-ttf \
settingsgui \
More information about the Openembedded-commits
mailing list