blob: fd195e90d0cb9f32d7a2efd1221f497c4a3df7d8 (
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
|
FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
SRC_URI_append = "\
file://weston.service \
file://weston.ini \
"
inherit systemd
DEPENDS_append = " systemd"
do_install_append() {
mkdir -p ${D}${systemd_unitdir}/system/
cp ${WORKDIR}/weston.service ${D}${systemd_unitdir}/system/
mkdir -p ${D}${systemd_unitdir}/system/multi-user.target.wants/
ln -sf /lib/systemd/system/weston.service ${D}/${systemd_unitdir}/system/multi-user.target.wants/weston.service
WESTON_INI_CONFIG=${sysconfdir}/xdg/weston
install -d ${D}${WESTON_INI_CONFIG}
install -m 0644 ${WORKDIR}/weston.ini ${D}${WESTON_INI_CONFIG}/weston.ini
}
FILES_${PN} += " \
${systemd_unitdir}/system/* \
${sysconfdir}/xdg/weston/weston.ini \
"
|