Skip to content

Commit b1d7938

Browse files
committed
Start to deprecate the $distro + '-rpm-version...
Stash with Ubuntu. In fact start to deprecate specifying any version of daos-* packages unless a specific version is requested. Signed-off-by: Brian J. Murrell <[email protected]> Skip-PR-comments: true
1 parent 5966b3e commit b1d7938

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

vars/getDAOSPackages.groovy

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,12 @@ String call(String distro, String next_version, String add_daos_pkgs) {
3131
pkgs = 'daos{,-client}'
3232
}
3333

34-
String version = daosPackagesVersion(distro, next_version)
34+
if (!distro.startsWith('ubuntu')) {
35+
String version = daosPackagesVersion(distro, next_version)
3536

36-
if (version != '') {
37-
if (distro.startsWith('ubuntu20')) {
38-
pkgs += '='
39-
} else {
40-
pkgs += '-'
37+
if (version != '') {
38+
pkgs += '-' + version
4139
}
42-
pkgs += daosPackagesVersion(distro, next_version)
4340
}
4441
return pkgs
4542
}

0 commit comments

Comments
 (0)