summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorGuillaume Tucker <gtucker@gtucker.io>2026-09-07 13:10:04 +0200
committerNathan Chancellor <nathan@kernel.org>2026-10-02 22:17:21 +0200
commit69cb84e259b163671ff241621544368af84c7c8f (patch)
treeabd6718aca516cc8e79834049fdc12b5eba0c182 /scripts/basic
parent34f3b447600bcc56ae7c4d10db8dac754ad05357 (diff)
downloadlinux-next-69cb84e259b163671ff241621544368af84c7c8f.tar.gz
linux-next-69cb84e259b163671ff241621544368af84c7c8f.zip
scripts: add TOML config to container tool
Add support for a TOML configuration file to the scripts/container tool. This improves user experience by not having to keep passing the same command line options all the time or overly relying on built-in default values. Include the concept of 'profiles' with different named sections in the file to cover various use cases. Command line options take precedence over the config file, and values defined in profile sections take precedence over the default one. Add a -c option to override the location of the .container.toml config file which should otherwise be located in the current working directory. If not found, the file is silently ignored as it is not strictly required unless the -c option is used. Add a -p option to choose a particular profile section in the config file rather than the default. Signed-off-by: Guillaume Tucker <gtucker@gtucker.io> Acked-by: Nicolas Schier <n.schier@fritz.com> Link: https://patch.msgid.link/68b14a76a4cb2e6437c869bab948983a98acffbd.1788779245.git.gtucker@gtucker.io Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions