obexpush: create /var/obexpush on installation
authorBenjamin Schieder <blindcoder@scavenger.homeip.net>
Wed, 9 Dec 2009 09:01:47 +0000 (09:01 +0000)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Wed, 9 Dec 2009 10:19:14 +0000 (11:19 +0100)
* it is the default path in the ARGS, so it should better exist
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
recipes/obexpush/obexpush_1.0.0.bb

index 7b73b10..13b8508 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.caside.lancs.ac.uk/java_bt.php"
 SECTION = "console/network"
 LICENSE = "GPL"
 DEPENDS = "glib-2.0 openobex bluez-libs"
-PR = "r5"
+PR = "r6"
 
 SRC_URI = "http://www.caside.lancs.ac.uk/bt/obexpush.tar.gz \
            file://add-obextool.patch;patch=1 \
@@ -43,6 +43,7 @@ do_install() {
 
        install -d ${D}${sysconfdir}/init.d
        install -d ${D}${sysconfdir}/default
+       install -d ${D}/var/obexpush
        install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/opd
        install -m 0755 ${WORKDIR}/opd_args ${D}${sysconfdir}/default/opd_args
 }