Skip to content

Commit 7da7c48

Browse files
authored
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
1 parent 0bbf114 commit 7da7c48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ override_dh_auto_install:
3838
mkdir $(DESTDIR)/$(SYSCONFDIR)/profile.d
3939
mkdir $(DESTDIR)/usr/share/$(PACKAGE)-agent
4040
mkdir $(DESTDIR)/usr/share/$(PACKAGE)-agent/plugins
41-
install -D agent/target/cloud-agent-$(VERSION).jar $(DESTDIR)/usr/share/$(PACKAGE)-agent/lib/$(PACKAGE)-agent.jar
41+
mkdir $(DESTDIR)/usr/share/$(PACKAGE)-agent/lib
4242
install -D plugins/hypervisors/kvm/target/cloud-plugin-hypervisor-kvm-$(VERSION).jar $(DESTDIR)/usr/share/$(PACKAGE)-agent/lib/
4343
install -D plugins/hypervisors/kvm/target/dependencies/* $(DESTDIR)/usr/share/$(PACKAGE)-agent/lib/
4444

0 commit comments

Comments
 (0)