live-build/scripts/build
Lyndon Brown f8a401f068 config: add --validate option
running `lb config --validate` causes the script to stop after running
the validation check on the config compiled at that point, prior to
writing the config to disk.

this gives users the ability to check the validity of a config without
modifying or rewriting the saved config.

note that if users provide new config options alongside --validate, these
are taken into account in the check performed.

the 'check complete' message will not be seen if an error is reported by
the check function, while it will be seen if only warnings are given, but
it would require a redesign of the validation check function to make any
improvement in that area, and it's perhaps not worth it.

Gbp-Dch: Short
2020-04-23 14:53:06 +02:00
..
binary chroot_prep: expand coverage 2020-04-23 09:38:02 +00:00
binary_checksums strip progress-linux distro hacks 2020-03-20 10:19:33 +00:00
binary_chroot stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
binary_disk --binary-images can support only a single type 2020-04-23 14:51:09 +02:00
binary_grub-efi --binary-images can support only a single type 2020-04-23 14:51:09 +02:00
binary_grub-legacy --binary-images can support only a single type 2020-04-23 14:51:09 +02:00
binary_grub-pc --binary-images can support only a single type 2020-04-23 14:51:09 +02:00
binary_hdd --binary-images can support only a single type 2020-04-23 14:51:09 +02:00
binary_hooks stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
binary_includes --binary-images can support only a single type 2020-04-23 14:51:09 +02:00
binary_iso bootloaders: improve bootloader list handling 2020-04-23 11:52:04 +01:00
binary_linux-image stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
binary_loadlin loadlin: fix missing directory error 2020-04-01 19:04:14 +00:00
binary_loopback_cfg grub2|loopback: define common target 2020-04-23 10:18:41 +02:00
binary_manifest stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
binary_memtest stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
binary_netboot --binary-images can support only a single type 2020-04-23 14:51:09 +02:00
binary_onie stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
binary_package-lists strip progress-linux distro hacks 2020-03-20 10:19:33 +00:00
binary_rootfs binary_rootfs: use new chroot_prep helper 2020-04-23 09:38:02 +00:00
binary_syslinux --binary-images can support only a single type 2020-04-23 14:51:09 +02:00
binary_tar --binary-images can support only a single type 2020-04-23 14:51:09 +02:00
binary_win32-loader strip progress-linux distro hacks 2020-03-20 10:19:33 +00:00
binary_zsync --binary-images can support only a single type 2020-04-23 14:51:09 +02:00
bootstrap bootstrap_archives: remove useless param 2020-04-23 09:38:02 +00:00
bootstrap_archives bootstrap_archives: remove useless param 2020-04-23 09:38:02 +00:00
bootstrap_cache bootstrap_cache: validate action param 2020-04-01 18:03:20 +00:00
bootstrap_debootstrap stagefiles: further robustify with auto filenames 2020-03-17 18:57:02 +00:00
build config: rename Check_config_defaults() to Validate_config() 2020-04-23 14:51:58 +02:00
chroot chroot_prep: expand coverage 2020-04-23 09:38:02 +00:00
chroot_apt chroot_apt: fix broken removal 2020-04-23 10:05:51 +00:00
chroot_archives archives: clarify var 2020-03-20 11:43:01 +00:00
chroot_cache stagefiles: fix doc mistake 2020-03-17 22:09:51 +00:00
chroot_debianchroot stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_devpts stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_dpkg chroot_dpkg: remove redundant chmod 2020-04-23 09:57:25 +00:00
chroot_firmware remove some unwanted quoting of list parameters 2020-04-23 09:38:01 +00:00
chroot_hacks stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_hooks stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_hostname stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_hosts stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_includes stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_install-packages stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_interactive stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_linux-image stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_package-lists stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_prep chroot_prep: warn if running archives helper for bootstrap stage 2020-04-23 09:38:02 +00:00
chroot_preseed stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_proc stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_resolv Fix permissions & ownership of copied /etc/resolv.conf 2020-04-23 12:20:35 +02:00
chroot_selinuxfs stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_sysfs stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_sysv-rc stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_tmpfs stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
clean locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
config config: add --validate option 2020-04-23 14:53:06 +02:00
efi-image amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
grub-cpmodules amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
installer chroot_prep: expand coverage 2020-04-23 09:38:02 +00:00
installer_debian-installer --binary-images can support only a single type 2020-04-23 14:51:09 +02:00
installer_preseed strip progress-linux distro hacks 2020-03-20 10:19:33 +00:00
source chroot_prep: expand coverage 2020-04-23 09:38:02 +00:00
source_checksums strip progress-linux distro hacks 2020-03-20 10:19:33 +00:00
source_debian bootloaders: improve bootloader list handling 2020-04-23 11:52:04 +01:00
source_disk strip progress-linux distro hacks 2020-03-20 10:19:33 +00:00
source_hdd remove some unwanted quoting of list parameters 2020-04-23 09:38:01 +00:00
source_hooks stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
source_iso stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
source_live stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
source_tar remove some unwanted quoting of list parameters 2020-04-23 09:38:01 +00:00