[v9.3.x] Packaging: Use rpm-digest sha256 when creating rpm packages (#59587)

Packaging: Use rpm-digest sha256 when creating rpm packages (#59510)

* Use rpm-digest sha256 when creating rpm packages

* only append this argument with rpm builds

(cherry picked from commit 76a586195a)

Co-authored-by: Kevin Minehart <kmineh0151@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-11-30 10:50:23 -05:00
committed by GitHub
co-authored by Kevin Minehart
parent 98095a6af2
commit ced2d228f7
+1
View File
@@ -392,6 +392,7 @@ func executeFPM(options linuxPackageOptions, packageRoot, srcDir string) error {
switch options.packageType {
case packageTypeRpm:
args = append(args, "-t", "rpm", "--rpm-posttrans", "packaging/rpm/control/posttrans")
args = append(args, "--rpm-digest", "sha256")
case packageTypeDeb:
args = append(args, "-t", "deb", "--deb-no-default-config-files")
default: