Skip to content

Commit

Permalink
Update rpm build to add sha256 payload and file digest (#75731) (#75826)
Browse files Browse the repository at this point in the history
This is a follow up on #75569

and should fix installation problems in FIPS enabled environments.
  • Loading branch information
breskeby authored Jul 29, 2021
1 parent 76cb3e3 commit 0e27c62
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions distribution/packages/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,19 @@ buildscript {
mavenCentral()
maven { url 'https://jitpack.io' }
}

// We rely on a patched version of the redline library used to build rpm packages
// to support sha256header in our elasticsearch RPMs
// TODO: Update / remove this dependency once https://github.com/craigwblake/redline/pull/157 got merged
// Be aware that it seems the redline project hasnt been active for a while
configurations.all {
resolutionStrategy {
dependencySubstitution {
substitute module('org.redline-rpm:redline') using module('com.github.breskeby:redline:9c85270')
}
}
}

dependencies {
classpath "com.github.breskeby:gradle-ospackage-plugin:98455c1"
}
Expand Down

0 comments on commit 0e27c62

Please sign in to comment.