Skip to content

Commit 2c5e406

Browse files
authored
Add Sha256 header in elasticsearch RPMs (#75569)
This adds support for Sha256 header signature in our RPMs by updating the dependency to the readline library to a version we have patched until the provided PR (craigwblake/redline#157) got merged and released by the redline folks. This work is related to #58257
1 parent 9104061 commit 2c5e406

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

distribution/packages/build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,23 @@ 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:caa0ede')
59+
}
60+
}
61+
}
62+
5063
dependencies {
5164
classpath "com.github.breskeby:gradle-ospackage-plugin:98455c1"
5265
}
66+
5367
}
5468

5569
apply plugin: "nebula.ospackage-base"

0 commit comments

Comments
 (0)