Swapped in python3-distro in place of lsb_release.

ubuntu/lunar
Aaron Rainbolt 2 years ago
parent 7d65c43dc8
commit fbc09d2b52

@ -23,7 +23,7 @@ from urllib.error import HTTPError
from urllib.error import URLError
import socket
import logging
from lsb_release import get_distro_information
import distro
global sources
sources = """# Automatically generated by Calamares on DATE.
@ -137,7 +137,7 @@ def get_subdomain_by_country(countrycode):
def getcodename():
"""Return the codename of the distribution, similar to lsb_release -cs"""
return get_distro_information()["CODENAME"]
return distro.codename()
def changesources(subdomain):

8
debian/changelog vendored

@ -1,3 +1,11 @@
calamares-settings-ubuntu (1:23.04.4) lunar; urgency=medium
* Switch from using the lsb_release python module to the distro module, as
the python module for lsb_release no longer exists in Lunar.
(LP: #2008685)
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Tue, 28 Feb 2023 19:27:13 -0600
calamares-settings-ubuntu (1:23.04.3) lunar; urgency=medium
* Fixed a syntax error that led to incorrect sidebar coloring (LP: #1991251).

Loading…
Cancel
Save