diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2019-08-13 11:43:02 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2019-08-13 11:43:02 +0300 |
commit | b67b34db4f6c9d6811a741f002bf0c64aa869413 (patch) | |
tree | 02738d401470dc7d0b9235fdaffefa5fd73f9e8e | |
parent | 372668ca94f2c9df1c88f16698a923ed851bfc16 (diff) |
Add support for Debian/bullseye
-rw-r--r-- | cerbero/enums.py | 1 | ||||
-rw-r--r-- | cerbero/utils/__init__.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cerbero/enums.py b/cerbero/enums.py index 89f3bb17..70303d2c 100644 --- a/cerbero/enums.py +++ b/cerbero/enums.py @@ -71,6 +71,7 @@ class DistroVersion: DEBIAN_JESSIE = 'debian_08_jessie' DEBIAN_STRETCH = 'debian_09_stretch' DEBIAN_BUSTER = 'debian_10_buster' + DEBIAN_BULLSEYE = 'debian_11_bullseye' UBUNTU_LUCID = 'ubuntu_10_04_lucid' UBUNTU_MAVERICK = 'ubuntu_10_10_maverick' UBUNTU_NATTY = 'ubuntu_11_04_natty' diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py index fd32581e..f0aacc84 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -220,6 +220,8 @@ def system_info(): distro_version = DistroVersion.DEBIAN_STRETCH elif d[1].startswith('10.') or d[1].startswith('buster'): distro_version = DistroVersion.DEBIAN_BUSTER + elif d[1].startswith('11.') or d[1].startswith('bullseye'): + distro_version = DistroVersion.DEBIAN_BULLSEYE else: raise FatalError("Distribution '%s' not supported" % str(d)) elif d[0] in ['RedHat', 'Fedora', 'CentOS', 'Red Hat Enterprise Linux Server', 'CentOS Linux']: |