Auto merge of #28958 - sagudev:patch-2, r=jdm

Update bootstrap.py to support Ubuntu 22.04

None
This commit is contained in:
bors-servo 2022-08-27 09:02:06 -04:00 committed by GitHub
commit 08bc2d5357
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -382,7 +382,7 @@ def get_linux_distribution():
raise Exception('unsupported version of %s: %s' % (distrib, version))
distrib, version = 'Ubuntu', base_version
elif distrib.lower() == 'ubuntu':
if version > '21.10':
if version > '22.04':
raise Exception('unsupported version of %s: %s' % (distrib, version))
# Fixme: we should allow checked/supported versions only
elif distrib.lower() not in [