From: Daan De Meyer Date: Fri, 14 Feb 2025 09:20:40 +0000 (+0100) Subject: Add back compat for OBS until a new version is deployed X-Git-Tag: v26~385 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65974a6c35e11e326969bd9bb50b220a112f0eed;p=thirdparty%2Fmkosi.git Add back compat for OBS until a new version is deployed See https://github.com/openSUSE/obs-build/pull/1059 --- diff --git a/mkosi/config.py b/mkosi/config.py index 120292d4a..047f3f344 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -4076,6 +4076,9 @@ def create_argument_parser(chdir: bool = True) -> argparse.ArgumentParser: metavar=s.metavar, help=s.help if long == s.long else argparse.SUPPRESS, action=ConfigAction, + # TODO: Remove once https://github.com/openSUSE/obs-build/pull/1059 is deployed in OBS. + nargs="?" if s.dest == "checksum" else None, + const="yes" if s.dest == "checksum" else None, ) return parser