summaryrefslogtreecommitdiff
path: root/scripts/build/config
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-28 05:13:11 +0000
committerRaphaƫl Hertzog <hertzog@debian.org>2020-04-23 14:51:09 +0200
commit39e4d3e3cbcc8d37700cfe46a95f669b4d9479ea (patch)
treee30a4295f421d6386d16a310c58659a0058f93f7 /scripts/build/config
parentcede584a5cece40511c94fcec31569218d00419c (diff)
downloadvyos-live-build-39e4d3e3cbcc8d37700cfe46a95f669b4d9479ea.tar.gz
vyos-live-build-39e4d3e3cbcc8d37700cfe46a95f669b4d9479ea.zip
--binary-images can support only a single type
whilst some parts of the codebase were set up to work with multiple types specified, others did not work with it and would not necessarily be easy to adjust. this thus makes some tweaks to adjust things accordingly. - option renamed to singular form (maintaining backwards compatibility) - a validation check has been added - unnecessary glob style type references fixed - checks with In_list changed to a direct singular comparison - typo of type "netboot" written as just "net" fixed (though unreachable so of no consequence; really the code could be removed but it's trivial) Gbp-Dch: Short
Diffstat (limited to 'scripts/build/config')
-rwxr-xr-xscripts/build/config6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/config b/scripts/build/config
index 705d8e180..3cb31f660 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -31,7 +31,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\
\t [--archive-areas ARCHIVE_AREA|\"ARCHIVE_AREAS\"]\n\
\t [--backports true|false]\n\
\t [--binary-filesystem fat16|fat32|ext2|ext3|ext4|ntfs]\n\
-\t [-b|--binary-images iso|iso-hybrid|netboot|tar|hdd]\n\
+\t [-b|--binary-image iso|iso-hybrid|netboot|tar|hdd]\n\
\t [--bootappend-install PARAMETER|\"PARAMETERS\"]\n\
\t [--bootappend-live PARAMETER|\"PARAMETERS\"]\n\
\t [--bootappend-live-failsafe PARAMETER|\"PARAMETERS\"]\n\
@@ -151,7 +151,7 @@ Local_arguments ()
mirror-binary-security:,mirror-debian-installer:,
archive-areas:,parent-archive-areas:,chroot-filesystem:,
gzip-options:,image-name:,interactive:,keyring-packages:,linux-flavours:,linux-packages:,
- security:,updates:,backports:,binary-filesystem:,binary-images:,
+ security:,updates:,backports:,binary-filesystem:,binary-image:,binary-images:,
apt-indices:,bootappend-install:,bootappend-live:,bootappend-live-failsafe:,bootloader:,bootloaders:,checksums:,compression:,config:,zsync:,build-with-chroot:,
debian-installer:,debian-installer-distribution:,debian-installer-preseedfile:,debian-installer-gui:,
grub-splash:,isohybrid-options:,hdd-label:,hdd-size:,hdd-partition-start:,iso-application:,iso-preparer:,iso-publisher:,
@@ -519,7 +519,7 @@ Local_arguments ()
shift 2
;;
- -b|--binary-images)
+ -b|--binary-image|--binary-images)
LIVE_IMAGE_TYPE="${2}"
shift 2
;;