live-build/scripts/build
Lyndon Brown 665372c19d config: catch and report unexpected arguments
after handling arguments, catch and report any remaining "non-option"
arguments.

for instance users could make the basic mistake of using
`lb config --bootloaders syslinux grub-efi`, i.e. failing to quote the
multiple bootloaders (i actually encountered a user doing this who swore
that "it just worked"). catching and reporting such mistakes could be
valuable to users.

previous behaviour:
```
$ lb config --bootloaders syslinux grub-efi
P: Updating config tree for a debian/buster/amd64 system
P: Symlinking hooks...
```

new behaviour:
```
$ lb config --bootloaders syslinux grub-efi
[2020-05-05 18:56:07] lb config --bootloaders syslinux grub-efi
E: Unexpected argument found: grub-efi
```

Gbp-Dch: Short
2020-05-05 19:02:35 +01:00
..
binary rename binary_loopback_cfg to binary_grub_cfg 2020-05-04 22:15:09 +01:00
binary_checksums config: s/LIVE_IMAGE_NAME/LB_IMAGE_NAME/ 2020-04-23 16:54:31 +00:00
binary_chroot stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
binary_disk disk_info: obey new UTC timestamp control 2020-05-03 23:20:39 +01:00
binary_grub-efi rename binary_loopback_cfg to binary_grub_cfg 2020-05-04 22:15:09 +01:00
binary_grub-legacy config: improve BIOS/EFI bootloader selection handling 2020-05-04 21:40:13 +01:00
binary_grub-pc rename binary_loopback_cfg to binary_grub_cfg 2020-05-04 22:15:09 +01:00
binary_grub_cfg rename binary_loopback_cfg to binary_grub_cfg 2020-05-04 22:15:09 +01:00
binary_hdd config: improve BIOS/EFI bootloader selection handling 2020-05-04 21:40:13 +01:00
binary_hooks stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
binary_includes config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ 2020-04-23 16:54:31 +00:00
binary_iso binary_iso: properly handle multiple bootloaders 2020-05-04 21:48:03 +01:00
binary_linux-image rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
binary_loadlin rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
binary_manifest config: s/LIVE_IMAGE_NAME/LB_IMAGE_NAME/ 2020-04-23 16:54:31 +00:00
binary_memtest rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
binary_netboot config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ 2020-04-23 16:54:31 +00:00
binary_onie config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ 2020-04-23 16:54:31 +00:00
binary_package-lists rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
binary_rootfs rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
binary_syslinux config: improve BIOS/EFI bootloader selection handling 2020-05-04 21:40:13 +01:00
binary_tar config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ 2020-04-23 16:54:31 +00:00
binary_win32-loader rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
binary_zsync config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ 2020-04-23 16:54:31 +00: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 adjust action arg consumption order 2020-05-03 01:31:47 +01:00
bootstrap_debootstrap debootstrap: fix wrong param for Check_package call 2020-05-05 00:52:13 +01:00
build extend config validation to all build components 2020-05-04 13:26:19 +01:00
chroot chroot_prep: expand coverage 2020-04-23 09:38:02 +00:00
chroot_apt adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_archives archives: output actual error for bad pass param 2020-05-03 01:31:47 +01:00
chroot_cache adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_debianchroot adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_devpts adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_dpkg adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_firmware firmware: robustify and simplify archive area checking 2020-04-23 15:46:43 +02:00
chroot_hacks config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ 2020-04-23 16:54:31 +00:00
chroot_hooks stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_hostname adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_hosts adjust action arg consumption order 2020-05-03 01:31:47 +01: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 rename LB_ARCHITECTURES to LB_ARCHITECTURE 2020-04-23 15:54:19 +02:00
chroot_prep improve stagefiles encapsulation 2020-05-02 14:49:45 +01:00
chroot_preseed stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
chroot_proc adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_resolv adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_selinuxfs adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_sysfs adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_sysv-rc adjust action arg consumption order 2020-05-03 01:31:47 +01:00
chroot_tmpfs adjust action arg consumption order 2020-05-03 01:31:47 +01:00
clean get rid of a couple of useless variables 2020-05-04 13:21:12 +01:00
config config: catch and report unexpected arguments 2020-05-05 19:02:35 +01: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 config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ 2020-04-23 16:54:31 +00: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 config: s/LIVE_IMAGE_NAME/LB_IMAGE_NAME/ 2020-04-23 16:54:31 +00:00
source_debian config: improve BIOS/EFI bootloader selection handling 2020-05-04 21:40:13 +01:00
source_disk disk_info: obey new UTC timestamp control 2020-05-03 23:20:39 +01:00
source_hdd config: s/LIVE_IMAGE_NAME/LB_IMAGE_NAME/ 2020-04-23 16:54:31 +00:00
source_hooks stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
source_iso config: fix stale live-build version in iso-preparer 2020-05-03 23:20:39 +01:00
source_live stagefiles: s/Require_stagefile/Require_stagefiles/ 2020-03-17 22:59:37 +00:00
source_tar config: s/LIVE_IMAGE_NAME/LB_IMAGE_NAME/ 2020-04-23 16:54:31 +00:00