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