summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-11 21:30:58 +0000
committerRaphaƫl Hertzog <hertzog@debian.org>2020-03-16 13:32:16 +0000
commit49e68da5ee11a1e9dd7a6dfe1bcfcb8a0d21fe42 (patch)
tree4d6bcc52c055d97781a872e0595011aa9467862d /scripts
parent2cf397df668b1a2de2e2857f69e8f39bbf84f164 (diff)
downloadvyos-live-build-49e68da5ee11a1e9dd7a6dfe1bcfcb8a0d21fe42.tar.gz
vyos-live-build-49e68da5ee11a1e9dd7a6dfe1bcfcb8a0d21fe42.zip
allow turning off colour
necessary to give control when colour is default enabled Gbp-Dch: Short
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/config8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/build/config b/scripts/build/config
index 0f84c28c7..1d0c150ff 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -106,6 +106,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\
\t [--net-root-path PATH]\n\
\t [--net-root-server IP|HOSTNAME]\n\
\t [--net-tarball true|false]\n\
+\t [--no-color]\n\
\t [--onie true|false]\n\
\t [--onie-kernel-cmdline \"OPTION1 OPTION2\"]\n\
\t [--parent-archive-areas ARCHIVE_AREA|\"ARCHIVE_AREAS\"]\n\
@@ -157,7 +158,7 @@ Local_arguments ()
iso-volume:,jffs2-eraseblock:,memtest:,net-root-filesystem:,net-root-mountoptions:,
net-root-path:,net-root-server:,net-cow-filesystem:,net-cow-mountoptions:,net-cow-path:,
net-cow-server:,net-tarball:,onie:,onie-kernel-cmdline:,firmware-binary:,firmware-chroot:,swap-file-path:,swap-file-size:,
- loadlin:,win32-loader:,source:,source-images:,breakpoints,conffile:,color,debug,force,
+ loadlin:,win32-loader:,source:,source-images:,breakpoints,conffile:,color,no-color,debug,force,
help,ignore-system-defaults,quiet,usage,verbose,version,bootstrap-qemu-static:,bootstrap-qemu-arch:,
uefi-secure-boot:,
bootstrap-qemu-exclude:"
@@ -777,6 +778,11 @@ Local_arguments ()
shift
;;
+ --no-color)
+ _COLOR="false"
+ shift
+ ;;
+
--debug)
_DEBUG="true"
shift