summaryrefslogtreecommitdiffstats
path: root/meta-openmoko
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-08-08 14:42:27 +0000
committerRoss Burton <ross@openedhand.com>2008-08-08 14:42:27 +0000
commit1e3ea1559a49029e3c0cc87290cb159bf6da93c5 (patch)
treee57b20a989d678d803ce59ef224bd6a52d2e8abb /meta-openmoko
parent3cf90d10ba28e556f3e0df96d72ec4237674ea9b (diff)
downloadopenembedded-core-1e3ea1559a49029e3c0cc87290cb159bf6da93c5.tar.gz
openembedded-core-1e3ea1559a49029e3c0cc87290cb159bf6da93c5.tar.bz2
openembedded-core-1e3ea1559a49029e3c0cc87290cb159bf6da93c5.zip
gsmd2: install the system service dbus files
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5037 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-openmoko')
-rw-r--r--meta-openmoko/packages/freesmartphone/gsmd2_git.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-openmoko/packages/freesmartphone/gsmd2_git.bb b/meta-openmoko/packages/freesmartphone/gsmd2_git.bb
index 92e52b9bac..8c1cf5b7e2 100644
--- a/meta-openmoko/packages/freesmartphone/gsmd2_git.bb
+++ b/meta-openmoko/packages/freesmartphone/gsmd2_git.bb
@@ -6,7 +6,7 @@ DEPENDS = "dbus-native dbus dbus-glib"
RDEPENDS = "gsm0710muxd"
LICENSE = "GPL"
PV = "0.1.0+gitr${SRCREV}"
-PR = "r2"
+PR = "r3"
SRC_URI = "${FREESMARTPHONE_GIT}/gsmd2.git;protocol=git;branch=master \
file://fix-dbus-location.patch;patch=1"
@@ -19,8 +19,12 @@ EXTRA_OECONF = "--disable-tests"
do_install_append () {
install -d ${D}${sysconfdir}/gsmd2
+
install -d ${D}${sysconfdir}/dbus-1/system.d/
install -m 0644 ${S}/res/freesmartphone.conf ${D}${sysconfdir}/dbus-1/system.d/
+
+ install -d ${D}${datadir}/dbus-1/system-services
+ install -m 0644 ${S}/gsmd2.service ${D}${datadir}/dbus-1/system-services/
}
PACKAGES =+ "libgsmd2 libfreesmartphone"
@@ -28,4 +32,4 @@ PACKAGES =+ "libgsmd2 libfreesmartphone"
FILES_libgsmd2 = "${libdir}/libgsmd2.so.* ${libdir}/gsmd2/*.so"
FILES_libfreesmartphone = "${libdir}/libfreesmartphone.so.*"
FILES_${PN}-dev += "${libdir}/gsmd2/*.*a"
-FILES_${PN} = "${bindir}/gsmd2 ${sysconfdir}/dbus-1/"
+FILES_${PN} = "${bindir}/gsmd2 ${sysconfdir}/dbus-1/ ${datadir}/dbus-1/"