blob: 3077f55d0de99ff80be2464dac18a816d73f9cec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI:append = " file://automount.service \
file://automount.sh \
file://99-udisks2.rules \
"
SYSTEMD_AUTO_ENABLE = "enable"
SYSTEMD_SERVICE:${PN}:append = " automount.service"
do_install:append () {
sed -i 's/^WantedBy=.*/WantedBy=multi-user.target/' ${D}${systemd_unitdir}/system/udisks2.service
install -d ${D}${base_libdir}/systemd/system
install -m 0644 ${UNPACKDIR}/automount.service ${D}${systemd_unitdir}/system
install -d ${D}${libexecdir}
install -m 0755 ${UNPACKDIR}/automount.sh ${D}${libexecdir}/automount.sh
install -d ${D}${sysconfdir}/udev/rules.d
install -m 0644 ${UNPACKDIR}/99-udisks2.rules ${D}${sysconfdir}/udev/rules.d
}
FILES:${PN}:append = " \
${base_libdir}/systemd/system/automount.service \
${libexecdir}/automount.sh \
"
|