mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
packaging: Do not depend on JNA and don't include it in the classpath
It's now packaged with maven due to libvirt 0.5.1 and will be included in the classpath automatically.
This commit is contained in:
parent
3ae80acb40
commit
e6fd794ca0
2
debian/control
vendored
2
debian/control
vendored
@ -22,7 +22,7 @@ Description: CloudStack server library
|
|||||||
|
|
||||||
Package: cloudstack-agent
|
Package: cloudstack-agent
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: openjdk-6-jre | openjdk-7-jre, cloudstack-common (= ${source:Version}), lsb-base (>= 3.2), libcommons-daemon-java, libjna-java, openssh-client, libvirt0, sysvinit-utils, qemu-kvm, libvirt-bin, uuid-runtime, rsync, grep, iproute, perl-base, perl-modules, ebtables, vlan, wget, jsvc, ipset, python-libvirt
|
Depends: openjdk-6-jre | openjdk-7-jre, cloudstack-common (= ${source:Version}), lsb-base (>= 3.2), libcommons-daemon-java, openssh-client, libvirt0, sysvinit-utils, qemu-kvm, libvirt-bin, uuid-runtime, rsync, grep, iproute, perl-base, perl-modules, ebtables, vlan, wget, jsvc, ipset, python-libvirt
|
||||||
Conflicts: cloud-agent, cloud-agent-libs, cloud-agent-deps, cloud-agent-scripts
|
Conflicts: cloud-agent, cloud-agent-libs, cloud-agent-deps, cloud-agent-scripts
|
||||||
Description: CloudStack agent
|
Description: CloudStack agent
|
||||||
The CloudStack agent is in charge of managing shared computing resources in
|
The CloudStack agent is in charge of managing shared computing resources in
|
||||||
|
|||||||
@ -61,8 +61,7 @@ PCP=`ls /usr/share/cloudstack-agent/plugins/*.jar 2>/dev/null | tr '\n' ':' | se
|
|||||||
|
|
||||||
# We need to append the JSVC daemon JAR to the classpath
|
# We need to append the JSVC daemon JAR to the classpath
|
||||||
# AgentShell implements the JSVC daemon methods
|
# AgentShell implements the JSVC daemon methods
|
||||||
# We also need JNA in the classpath (from the distribution) for the Libvirt Java bindings
|
export CLASSPATH="/usr/share/java/commons-daemon.jar:$ACP:$PCP:/etc/cloudstack/agent:/usr/share/cloudstack-common/scripts"
|
||||||
export CLASSPATH="/usr/share/java/commons-daemon.jar:/usr/share/java/jna.jar:$ACP:$PCP:/etc/cloudstack/agent:/usr/share/cloudstack-common/scripts"
|
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
echo -n $"Starting $PROGNAME: "
|
echo -n $"Starting $PROGNAME: "
|
||||||
|
|||||||
@ -112,7 +112,6 @@ The Apache CloudStack files shared between agent and management server
|
|||||||
%package agent
|
%package agent
|
||||||
Summary: CloudStack Agent for KVM hypervisors
|
Summary: CloudStack Agent for KVM hypervisors
|
||||||
Requires: java >= 1.6.0
|
Requires: java >= 1.6.0
|
||||||
Requires: jna >= 3.2.4
|
|
||||||
Requires: %{name}-common = %{_ver}
|
Requires: %{name}-common = %{_ver}
|
||||||
Requires: libvirt
|
Requires: libvirt
|
||||||
Requires: bridge-utils
|
Requires: bridge-utils
|
||||||
|
|||||||
@ -60,8 +60,7 @@ PCP=`ls /usr/share/cloudstack-agent/plugins/*.jar 2>/dev/null | tr '\n' ':' | se
|
|||||||
|
|
||||||
# We need to append the JSVC daemon JAR to the classpath
|
# We need to append the JSVC daemon JAR to the classpath
|
||||||
# AgentShell implements the JSVC daemon methods
|
# AgentShell implements the JSVC daemon methods
|
||||||
# We also need JNA in the classpath (from the distribution) for the Libvirt Java bindings
|
export CLASSPATH="/usr/share/java/commons-daemon.jar:$ACP:$PCP:/etc/cloudstack/agent"
|
||||||
export CLASSPATH="/usr/share/java/commons-daemon.jar:/usr/share/java/jna.jar:$ACP:$PCP:/etc/cloudstack/agent"
|
|
||||||
|
|
||||||
wait_for_network() {
|
wait_for_network() {
|
||||||
i=1
|
i=1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user