From d9118a33b3a25839fde8626cde313115ddb79376 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sun, 13 Feb 2022 10:30:49 -0500 Subject: Switch from flags to an 'additional repository' menu (#977) * Add multilib flag to enable this repository and enable multi-lib testing if testing flag is also passed * Fix comments * Attempt to force pacman to use the config file from the host * Make sure the pacman configuration is copied to target * flake8 * Call enable on additional-repositories * Add method to select additional repositories * Add menu option for additional repos * This is a bit cleaner than having it all on one line * Add import * Use [] as default instead of None * Use empty array for default option here * Try this to ensure a valid array is returned on skipping * Add additional-repositories to schema * Missed changing this comment earlier --- schema.json | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'schema.json') diff --git a/schema.json b/schema.json index bbb0b8c9..aacf3f07 100644 --- a/schema.json +++ b/schema.json @@ -4,6 +4,14 @@ "description": "A schema for the archinstall command config, more info over at https://archinstall.readthedocs.io/installing/guided.html#options-for-config", "type": "object", "properties": { + "additional-repositories": { + "description": "Additional repositories to optionally enable", + "type": "string", + "enum": [ + "multilib", + "testing" + ] + }, "audio": { "description": "Audio server to be installed", "type": "string", -- cgit v1.2.3-70-g09d2