From: Daan De Meyer Date: Sun, 19 Jul 2020 10:12:54 +0000 (+0100) Subject: Fix detect_distribution on ubuntu X-Git-Tag: v6~54^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F452%2Fhead;p=thirdparty%2Fmkosi.git Fix detect_distribution on ubuntu --- diff --git a/mkosi b/mkosi index 835adb136..ff601c921 100755 --- a/mkosi +++ b/mkosi @@ -4046,7 +4046,7 @@ def detect_distribution() -> Tuple[Optional[Distribution], Optional[str]]: if d is not None: break - if d == Distribution.debian and (version_codename or extracted_codename): + if (d == Distribution.debian or d == Distribution.ubuntu) and (version_codename or extracted_codename): # debootstrap needs release codenames, not version numbers if version_codename: version_id = version_codename