From ddf47d7db518458f60d7ed77d4134a9620857630 Mon Sep 17 00:00:00 2001 From: Florent David Date: Mon, 11 Jul 2022 20:02:33 +0200 Subject: [PATCH] Add systemd module in linux and freebsd archives Signed-off-by: Florent David --- distribution/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distribution/build.gradle b/distribution/build.gradle index 356aaa269e106..21b7d85a7ef2b 100644 --- a/distribution/build.gradle +++ b/distribution/build.gradle @@ -217,7 +217,7 @@ ext.restTestExpansions = [ // loop over modules to also setup cross task dependencies and increment our modules counter project.rootProject.subprojects.findAll { it.parent.path == ':modules' }.each { Project module -> if (module.name == 'systemd') { - // the systemd module is only included in the package distributions + // the systemd module is only included in the package distributions or in linux and freebsd archives return } File licenses = new File(module.projectDir, 'licenses') @@ -367,7 +367,7 @@ configure(subprojects.findAll { ['archives', 'packages'].contains(it.name) }) { if (BuildParams.isSnapshotBuild()) { from(buildExternalTestModulesTaskProvider) } - if (project.path.startsWith(':distribution:packages')) { + if (project.path.startsWith(':distribution:packages') || ['freebsd-x64','linux-x64', 'linux-arm64'].contains(platform)) { from(buildSystemdModuleTaskProvider) } }