summaryrefslogtreecommitdiffstats
path: root/recipes-support/udisks/udisks_1.0.5.bbappend
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-04-21 06:00:01 +0300
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-04-22 00:42:34 +0000
commitde757e7e891465b394a10bafdfe0dca407d46448 (patch)
tree5120310a137ca945e89566a0ea88e7cce91eef67 /recipes-support/udisks/udisks_1.0.5.bbappend
parent4d0eb00b594443de4200087b72903711d8a388b6 (diff)
udisks: auto enable systemd service
MediaPlayer needs udisks to be running on startup to detect media removal Bug-AGL: SPEC-483 Change-Id: I57389d3af8f4d2600baa2b24d437646ed1c7414e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'recipes-support/udisks/udisks_1.0.5.bbappend')
-rw-r--r--recipes-support/udisks/udisks_1.0.5.bbappend14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-support/udisks/udisks_1.0.5.bbappend b/recipes-support/udisks/udisks_1.0.5.bbappend
new file mode 100644
index 000000000..2c6b11cc8
--- /dev/null
+++ b/recipes-support/udisks/udisks_1.0.5.bbappend
@@ -0,0 +1,14 @@
+SRC_URI += "file://org.freedesktop.UDisks.conf \
+ file://udisks.service \
+ "
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+SYSTEMD_AUTO_ENABLE = "enable"
+
+do_install_append () {
+ install -d ${D}${sysconfdir}/dbus-1/system.d
+ install -m 644 ${WORKDIR}/org.freedesktop.UDisks.conf ${D}${sysconfdir}/dbus-1/system.d/
+
+ install -d ${D}${base_libdir}/systemd/system
+ install -m 0644 ${WORKDIR}/udisks.service ${D}${base_libdir}/systemd/system
+}