From: Leon Romanovsky <leonro@xxxxxxxxxxxx> In addition to developers who are using cbuild script to build for specific OSes, this script is in use by verification teams to ensure that RPM/DEB packages are correct. Every update of distribution, e.g fc28 to fc29, breaks their scripts, so provide aliases to latest OS supported. * fedora for fcXX changes * ubuntu for LTS variants Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> --- buildlib/cbuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildlib/cbuild b/buildlib/cbuild index d70943ad..c0ebfb0d 100755 --- a/buildlib/cbuild +++ b/buildlib/cbuild @@ -140,6 +140,7 @@ class fc28(Environment): specfile = "redhat/rdma-core.spec"; ninja_cmd = "ninja-build"; is_rpm = True; + aliases = {"fedora"}; def get_docker_file(self): res = DockerFile(self.docker_parent); @@ -193,7 +194,7 @@ class bionic(APTEnvironment): docker_parent = "ubuntu:18.04" pkgs = xenial.pkgs name = "ubuntu-18.04"; - aliases = {"bionic"}; + aliases = {"bionic", "ubuntu"}; class jessie(APTEnvironment): docker_parent = "debian:8" -- 2.19.1