aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-support/udisks/udisks_1.0.5.bbappend
blob: eee64eeecb6076f5b628492c8b030ed98dd8603b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SRC_URI += "file://org.freedesktop.UDisks.conf \
            file://udisks.service \
            file://automount.sh \
           "
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

    install -d ${D}${libexecdir}
    install -m 0755 ${WORKDIR}/automount.sh ${D}${libexecdir}/automount.sh
}