diff --git a/distribution/packages/build.gradle b/distribution/packages/build.gradle index a980c4d415045..a02f907f86aef 100644 --- a/distribution/packages/build.gradle +++ b/distribution/packages/build.gradle @@ -175,6 +175,9 @@ Closure commonPackageConfig(String type, boolean jdk, String architecture) { with jdkFiles(project, 'linux', architecture) } } + into('agent') { + with agentFiles() + } // we need to specify every intermediate directory in these paths so the package managers know they are explicitly // intended to manage them; otherwise they may be left behind on uninstallation. duplicate calls of the same // directory are fine