diff -Nru mkosi-5/debian/changelog mkosi-5/debian/changelog --- mkosi-5/debian/changelog 2019-07-08 03:30:49.000000000 +0100 +++ mkosi-5/debian/changelog 2021-04-09 08:44:19.000000000 +0100 @@ -1,3 +1,9 @@ +mkosi (5-1ubuntu1) UNRELEASED; urgency=medium + + * d/p/actually-support-Ubuntu.patch for debootstrap (LP: #1923145) + + -- Tj Fri, 09 Apr 2021 08:44:19 +0100 + mkosi (5-1) unstable; urgency=medium * New upstream release diff -Nru mkosi-5/debian/patches/actually-support-Ubuntu.patch mkosi-5/debian/patches/actually-support-Ubuntu.patch --- mkosi-5/debian/patches/actually-support-Ubuntu.patch 1970-01-01 01:00:00.000000000 +0100 +++ mkosi-5/debian/patches/actually-support-Ubuntu.patch 2021-04-09 08:42:54.000000000 +0100 @@ -0,0 +1,11 @@ +--- a/mkosi 2019-07-08 03:30:49.000000000 +0100 ++++ b/mkosi 2021-04-09 08:32:58.801226388 +0100 +@@ -3187,7 +3187,7 @@ + if dist_id is not None: + d = Distribution.__members__.get(dist_id, None) + +- if d == Distribution.debian and (version_codename or extracted_codename): ++ if d in (Distribution.debian, Distribution.ubuntu) and (version_codename or extracted_codename): + # debootstrap needs release codenames, not version numbers + if version_codename: + version_id = version_codename diff -Nru mkosi-5/debian/patches/series mkosi-5/debian/patches/series --- mkosi-5/debian/patches/series 2019-07-08 03:30:49.000000000 +0100 +++ mkosi-5/debian/patches/series 2021-04-09 08:43:32.000000000 +0100 @@ -1 +1,2 @@ mkosi.md-convert-emdash-into-regular-dash.patch +actually-support-Ubuntu.patch