From: Lucas De Marchi Date: Fri, 17 May 2019 04:05:35 +0000 (-0700) Subject: Fix BootProtocols parsing X-Git-Tag: v6~119^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F338%2Fhead;p=thirdparty%2Fmkosi.git Fix BootProtocols parsing Mark it with the same action as other lists, otherwise its parsing from a config file is broken. --- diff --git a/mkosi b/mkosi index 7551d0227..352799711 100755 --- a/mkosi +++ b/mkosi @@ -3208,7 +3208,7 @@ def create_parser() -> ArgumentParserMkosi: help='Do not run tests as part of build script, if supported') group.add_argument("--with-tests", action=BooleanAction, default=True, help=argparse.SUPPRESS) # Compatibility option group.add_argument("--cache", dest='cache_path', help='Package cache path', metavar='PATH') - group.add_argument("--extra-tree", action='append', dest='extra_trees', default=[], + group.add_argument("--extra-tree", action=CommaDelimitedListAction, dest='extra_trees', default=[], help='Copy an extra tree on top of image', metavar='PATH') group.add_argument("--skeleton-tree", action='append', dest='skeleton_trees', default=[], help='Use a skeleton tree to bootstrap the image before installing anything', metavar='PATH')