config: sort config_keys and fix layout

Adjust the layout to match the formatting of other options and sort the
array.

Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230418-build-default-arch-v5-1-5223fab65867@postmarketos.org%3E
This commit is contained in:
Caleb Connolly 2023-04-30 17:29:25 +01:00 committed by Oliver Smith
parent c6bcb0dacf
commit 681fcfe775
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 28 additions and 26 deletions

View File

@ -60,32 +60,34 @@ required_programs = [
sudo = which_sudo()
# Keys saved in the config file (mostly what we ask in 'pmbootstrap init')
config_keys = ["aports",
"ccache_size",
"device",
"extra_packages",
"hostname",
"build_pkgs_on_install",
"is_default_channel",
"jobs",
"kernel",
"keymap",
"locale",
"mirror_alpine",
"mirrors_postmarketos",
"nonfree_firmware",
"nonfree_userland",
"ssh_keys",
"ssh_key_glob",
"timezone",
"ui",
"ui_extras",
"user",
"work",
"boot_size",
"extra_space",
"sudo_timer",
"qemu_redir_stdio"]
config_keys = [
"aports",
"boot_size",
"build_pkgs_on_install",
"ccache_size",
"device",
"extra_packages",
"extra_space",
"hostname",
"is_default_channel",
"jobs",
"kernel",
"keymap",
"locale",
"mirror_alpine",
"mirrors_postmarketos",
"nonfree_firmware",
"nonfree_userland",
"qemu_redir_stdio",
"ssh_key_glob",
"ssh_keys",
"sudo_timer",
"timezone",
"ui",
"ui_extras",
"user",
"work",
]
# Config file/commandline default values
# $WORK gets replaced with the actual value for args.work (which may be