X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.common;h=9d59dcb9b6af73b09d36918526848bbf7f79a641;hb=refs%2Fheads%2Fmaster;hp=2007f1126bc6e2dcd41909867160d7695ad9b14c;hpb=fef31bedb34f230ff1c4fd6e8e77ba272efd6c8a;p=build.git diff --git a/build.common b/build.common index 2007f112..9d59dcb9 100644 --- a/build.common +++ b/build.common @@ -65,7 +65,7 @@ function pl_getReleaseName () { [Ss]L*) releasename=sl$release ;; - wheezy|jessie|trusty|xenial|bionic) + wheezy|jessie|trusty|xenial|bionic|focal|jammy) releasename=$distro ;; *) @@ -108,7 +108,7 @@ pl_DISTRO=$(pl_getDistro) # select basearch of the host devel environment - protected for macos for local tests # try arch for testing stuff on a mac -pl_DISTRO_ARCH=$(uname -i 2>/dev/null || arch 2> /dev/null || echo unknownarch) +pl_DISTRO_ARCH=$(arch 2> /dev/null || echo unknownarch) # the release number (plain number) pl_DISTRO_RELEASE=$(pl_getRelease)