mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
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
This commit is contained in:
parent
3b53fdb53a
commit
76a586195a
@ -400,6 +400,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:
|
||||
|
Loading…
Reference in New Issue
Block a user