Exclude the demo folder form the JDK (#47161)
The folder contains jars with source code that fail the lintian test on debian (based) distributions.
This commit is contained in:
parent
944421627d
commit
813b130e08
|
@ -395,6 +395,7 @@ configure(subprojects.findAll { ['archives', 'packages'].contains(it.name) }) {
|
|||
}
|
||||
return copySpec {
|
||||
from project.jdks."bundled_${platform}"
|
||||
exclude "demo/**"
|
||||
eachFile { FileCopyDetails details ->
|
||||
if (details.relativePath.segments[-2] == 'bin' || details.relativePath.segments[-1] == 'jspawnhelper') {
|
||||
details.mode = 0755
|
||||
|
|
|
@ -24,7 +24,6 @@ import org.elasticsearch.packaging.util.Distribution;
|
|||
import org.elasticsearch.packaging.util.FileUtils;
|
||||
import org.elasticsearch.packaging.util.Shell;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
|
@ -38,7 +37,6 @@ public class DebMetadataTests extends PackagingTestCase {
|
|||
assumeTrue("only deb", distribution.packaging == Distribution.Packaging.DEB);
|
||||
}
|
||||
|
||||
@Ignore
|
||||
public void test05CheckLintian() {
|
||||
sh.run("lintian --fail-on-warnings " + FileUtils.getDistributionFile(distribution()));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue