-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathupdatemgr_git.bb
More file actions
51 lines (44 loc) · 1018 Bytes
/
updatemgr_git.bb
File metadata and controls
51 lines (44 loc) · 1018 Bytes
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
DESCRIPTION = "XenClient Update Manager"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM="file://../COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b"
DEPENDS = " \
libargo \
libxch-rpc \
libxchxenstore \
libxchutils \
xen \
hkg-hsyslog \
hkg-network \
hkg-monadprompt \
hkg-http \
hkg-xenstore \
hkg-parsec \
hkg-deepseq \
hkg-text \
hkg-mtl \
hkg-json \
hkg-regex-posix \
hkg-hinotify \
hkg-lifted-base \
hkg-monad-control \
hkg-transformers-base \
hkg-monad-loops \
rpc-autogen \
"
RDEPENDS_${PN} += " \
glibc-gconv-utf-32 \
openssl-bin \
"
require manager.inc
SRC_URI += " \
file://updatemgr.initscript \
"
S = "${WORKDIR}/git/updatemgr"
inherit update-rc.d haskell
INITSCRIPT_PACKAGES = "${PN}"
INITSCRIPT_NAME_${PN} = "updatemgr"
INITSCRIPT_PARAMS_${PN} = "defaults 80"
do_install_append() {
install -m 0755 -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/updatemgr.initscript ${D}${sysconfdir}/init.d/updatemgr
}