1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-06 13:17:44 +03:00

ukify: Require specifying --tools for each tools directory

Instead of consuming N arguments as tools directories, let's always
only consume one argument per specification of --tools. This avoids
issues where the linux image and initrd are interpreted as tools
directories.
This commit is contained in:
Daan De Meyer 2023-01-02 14:53:47 +01:00
parent 737dab1a8d
commit 4f312ba07b

View File

@ -687,7 +687,7 @@ usage: ukify [options…] linux initrd…
p.add_argument('--tools',
type=pathlib.Path,
nargs='+',
action='append',
help='Directories to search for tools (systemd-measure, llvm-objcopy, ...)')
p.add_argument('--output', '-o',