Skip to content

Commit 0e27c62

Browse files
authored
Update rpm build to add sha256 payload and file digest (#75731) (#75826)
This is a follow up on #75569 and should fix installation problems in FIPS enabled environments.
1 parent 76cb3e3 commit 0e27c62

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

distribution/packages/build.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,19 @@ buildscript {
4747
mavenCentral()
4848
maven { url 'https://jitpack.io' }
4949
}
50+
51+
// We rely on a patched version of the redline library used to build rpm packages
52+
// to support sha256header in our elasticsearch RPMs
53+
// TODO: Update / remove this dependency once https://github.com/craigwblake/redline/pull/157 got merged
54+
// Be aware that it seems the redline project hasnt been active for a while
55+
configurations.all {
56+
resolutionStrategy {
57+
dependencySubstitution {
58+
substitute module('org.redline-rpm:redline') using module('com.github.breskeby:redline:9c85270')
59+
}
60+
}
61+
}
62+
5063
dependencies {
5164
classpath "com.github.breskeby:gradle-ospackage-plugin:98455c1"
5265
}

0 commit comments

Comments
 (0)