-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathxenmgr_git.bb
More file actions
71 lines (62 loc) · 1.74 KB
/
xenmgr_git.bb
File metadata and controls
71 lines (62 loc) · 1.74 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
DESCRIPTION = "XenClient xenmgr"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://../COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b"
DEPENDS = " \
xen \
xen-tools \
libxenmgr-core \
libxchutils \
libxchargo \
libxchxenstore \
libxchdb \
libxch-rpc \
hkg-json \
hkg-hsyslog \
hkg-regex-posix \
hkg-network \
hkg-attoparsec \
hkg-zlib \
hkg-parsec \
hkg-deepseq \
hkg-text \
hkg-mtl \
hkg-split \
xenmgr-data \
rpc-autogen \
"
require manager.inc
SRC_URI += " \
file://xenmgr_dbus.conf \
file://xenstore-init-extra \
file://xenmgr.initscript \
"
S = "${WORKDIR}/git/xenmgr"
inherit haskell update-rc.d
do_install_append() {
install -m 0755 ${S}/setup-ica-vm ${D}${bindir}/setup-ica-vm
install -m 0755 -d ${D}${sysconfdir}/dbus-1/system.d
install -m 0644 ${WORKDIR}/xenmgr_dbus.conf ${D}${sysconfdir}/dbus-1/system.d/
install -m 0755 -d ${D}${datadir}/xenclient
install -m 0755 ${WORKDIR}/xenstore-init-extra ${D}${datadir}/xenclient/
install -m 0755 -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/xenmgr.initscript ${D}${sysconfdir}/init.d/xenmgr
install -m 0755 -d ${D}${datadir}/xenmgr-1.0/templates
install -m 0755 -d ${D}${datadir}/xenmgr-1.0/templates/default
install -m 0644 ${S}/../templates/default/* ${D}${datadir}/xenmgr-1.0/templates/default/
}
RDEPENDS_${PN} += " \
glibc-gconv-utf-32 \
xenclient-eula \
xenclient-caps \
heimdallr \
bash \
openssl-bin \
"
INITSCRIPT_NAME = "xenmgr"
INITSCRIPT_PARAMS = "defaults 80"
FILES_${PN} += " \
${datadir}/xenmgr-1.0/templates/default/* \
${datadir}/xenclient \
${sysconfdir}/dbus-1/system.d/xenmgr_dbus.conf \
${sysconfdir}/init.d/xenmgr \
"