debian: remove duplicate agent jar copy (#4927)

* debian: remove duplicate agent jar copy

The cloud-agent is dependency of the KVM hypervisor plugin, don't
explicitly install/copy it again.

Fixes #4906

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

* Update rules
This commit is contained in:
Rohit Yadav 2021-04-20 16:46:59 +05:30 committed by GitHub
parent 0bbf114c79
commit 7da7c48a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
debian/rules vendored
View File

@ -38,7 +38,7 @@ override_dh_auto_install:
mkdir $(DESTDIR)/$(SYSCONFDIR)/profile.d
mkdir $(DESTDIR)/usr/share/$(PACKAGE)-agent
mkdir $(DESTDIR)/usr/share/$(PACKAGE)-agent/plugins
install -D agent/target/cloud-agent-$(VERSION).jar $(DESTDIR)/usr/share/$(PACKAGE)-agent/lib/$(PACKAGE)-agent.jar
mkdir $(DESTDIR)/usr/share/$(PACKAGE)-agent/lib
install -D plugins/hypervisors/kvm/target/cloud-plugin-hypervisor-kvm-$(VERSION).jar $(DESTDIR)/usr/share/$(PACKAGE)-agent/lib/
install -D plugins/hypervisors/kvm/target/dependencies/* $(DESTDIR)/usr/share/$(PACKAGE)-agent/lib/