blob: e7f844a2ec2bc190807553adf57be475d236a4bd (
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
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
71
72
73
74
75
76
77
78
79
80
81
|
include python-nova.inc
inherit useradd
pkg_postinst_${SRCNAME}-common () {
if [ "x$D" != "x" ]; then
exit 1
fi
if [ -d $D/home/root/ ]; then
echo "source /etc/nova/openrc" >> $D/home/root/.bashrc
elif [ -d $D/root/ ]; then
echo "source /etc/nova/openrc" >> $D/root/.bashrc
fi
}
PACKAGES += "${SRCNAME}-common ${SRCNAME}-common-misc"
#FILES_${PN} = "${files_${PN}}"
#
#FILES_${SRCNAME}-common = "${files_${SRCNAME}-common}"
#
#FILES_${SRCNAME}-common-misc = "${files_${SRCNAME}-compute} ${files_${SRCNAME}-controller}"
FILES_${PN} = "${libdir}/python*"
FILES_${SRCNAME}-common = " \
${bindir}/nova-manage \
${bindir}/nova-rootwrap \
${sysconfdir}/sudoers.d"
FILES_${SRCNAME}-common-misc = " \
${bindir}/nova-compute \
${sysconfdir}/${SRCNAME}/* \
${sysconfdir}/init.d/nova-compute \
${bindir} \
${sysconfdir}/init.d/nova-all"
RDEPENDS_${SRCNAME}-common = "${PN} openssl openssl-misc libxml2 libxslt \
iptables curl dnsmasq sudo procps"
USERADD_PACKAGES = "${PN}"
GROUPADD_PARAM_${PN} = "--system nova"
USERADD_PARAM_${PN} = "--system --home /var/lib/nova -g nova \
--no-create-home --shell /bin/false nova"
RDEPENDS_${PN} = " python-modules \
python-misc \
python-argparse \
python-amqplib \
python-anyjson \
python-babel \
python-boto \
python-cinderclient \
python-cheetah \
python-eventlet \
python-feedparser \
python-glanceclient \
python-greenlet \
python-httplib2 \
python-iso8601 \
python-kombu \
python-lxml \
python-netaddr \
python-oslo.config \
python-paste \
python-pastedeploy \
python-paramiko \
python-pyasn1 \
python-setuptools-git \
python-simplejson \
python-setuptools \
python-sqlalchemy \
python-sqlalchemy-migrate \
python-stevedore \
python-suds \
python-quantumclient \
python-routes \
python-webob \
python-websockify \
"
|