X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.common;h=9d59dcb9b6af73b09d36918526848bbf7f79a641;hb=672ad567d30d1d9232d7b3bd5050c6c8168e0475;hp=4535cf9ed15ce1a862f7a0704af90ccab6fab78f;hpb=e633a7bfb6688c8c2cdde1a8ec1715bdbee3510c;p=build.git diff --git a/build.common b/build.common index 4535cf9e..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|focal) + 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)