diff options
| author | Ross Burton <ross@openedhand.com> | 2008-10-08 15:25:21 +0000 |
|---|---|---|
| committer | Ross Burton <ross@openedhand.com> | 2008-10-08 15:25:21 +0000 |
| commit | 93cd99156acebc734f0ffc55c6120d595f5ff210 (patch) | |
| tree | 3f13b1fdb08bc21102e86cb26bcc3b77a6b3c1c2 /meta/packages | |
| parent | 986e49c43bce4539e0847b2232eb91a649af291b (diff) | |
| download | poky-93cd99156acebc734f0ffc55c6120d595f5ff210.tar.gz | |
devicekit: initial package
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5463 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
| -rw-r--r-- | meta/packages/devicekit/devicekit_git.bb | 34 | ||||
| -rw-r--r-- | meta/packages/devicekit/files/volatile | 1 |
2 files changed, 35 insertions, 0 deletions
diff --git a/meta/packages/devicekit/devicekit_git.bb b/meta/packages/devicekit/devicekit_git.bb new file mode 100644 index 0000000000..1f08570ba8 --- /dev/null +++ b/meta/packages/devicekit/devicekit_git.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | LICENSE = "GPL" | ||
| 2 | DEPENDS = "dbus-glib" | ||
| 3 | |||
| 4 | SRC_URI = "git://anongit.freedesktop.org/DeviceKit/DeviceKit;protocol=git \ | ||
| 5 | file://volatile" | ||
| 6 | |||
| 7 | PV = "002+git${SRCREV}" | ||
| 8 | SRCREV = "014d168ba4bf40c9bae487bacff8bf2aa054b5f6" | ||
| 9 | |||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | inherit autotools pkgconfig | ||
| 13 | |||
| 14 | do_install_append() { | ||
| 15 | install -d ${D}/etc/default/volatiles | ||
| 16 | install -m 0644 ${WORKDIR}/volatile ${D}/etc/default/volatiles/devicekit | ||
| 17 | } | ||
| 18 | |||
| 19 | pkg_postinst_devicekit () { | ||
| 20 | # can't do this offline | ||
| 21 | if [ "x$D" != "x" ]; then | ||
| 22 | exit 1 | ||
| 23 | fi | ||
| 24 | |||
| 25 | /etc/init.d/populate-volatile.sh update | ||
| 26 | |||
| 27 | DBUSPID=`pidof dbus-daemon` | ||
| 28 | |||
| 29 | if [ "x$DBUSPID" != "x" ]; then | ||
| 30 | /etc/init.d/dbus-1 reload | ||
| 31 | fi | ||
| 32 | } | ||
| 33 | |||
| 34 | FILES_${PN} += "${datadir}/dbus-1/" | ||
diff --git a/meta/packages/devicekit/files/volatile b/meta/packages/devicekit/files/volatile new file mode 100644 index 0000000000..1e399642e0 --- /dev/null +++ b/meta/packages/devicekit/files/volatile | |||
| @@ -0,0 +1 @@ | |||
| d root root 0700 /var/run/devkit none | |||
