Reenabled the command line option for colored messages for lb_config. The functionality was added 2008-11-01, but was not really active.

This commit is contained in:
Roland Clobus 2019-05-29 12:51:43 +02:00 committed by Luca Boccassi
parent f62a6f9dea
commit c4abbbcc7e
2 changed files with 6 additions and 1 deletions

View File

@ -52,6 +52,8 @@
[\fB\-\-cache\-stages\fR \fISTAGE\fR|\fI"STAGES"\fR]
.br
[\fB\-\-checksums\fR md5|sha1|sha256|none]
.br
[\fB\-\-color]
.br
[\fB\-\-compression\fR bzip2|gzip|lzip|none]
.br
@ -289,6 +291,8 @@ defines if downloaded packages files should be cached which is true by default.
sets which stages should be cached. By default set to bootstrap. As an exception to the normal stage names, also rootfs can be used here which does only cache the generated root filesystem in filesystem.{dir,ext*,squashfs}. This is useful during development if you want to rebuild the binary stage but not regenerate the root filesystem all the time.
.IP "\fB\-\-checksums\fR md5|sha1|sha256|none" 4
defines if the binary image should contain a file called md5sums.txt, sha1sums.txt and/or sha256sums.txt. These lists all files on the image together with their checksums. This in turn can be used by live\-boot's built\-in integrity\-check to verify the medium if specified at boot prompt. In general, this should not be false and is an important feature of live system released to the public. However, during development of very big images it can save some time by not calculating the checksums.
.IP "\fB\-\-color\fR" 4
turn on color in the messages.
.IP "\fB\-\-compression\fR bzip2|gzip|lzip|none" 4
defines the compression program to be used to compress tarballs. Defaults to gzip.
.IP "\fB\-\-config\fR \fIGIT_URL\fR::\fIGIT_ID\fR" 4

View File

@ -38,6 +38,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\
\t [--cache-packages true|false]\n\
\t [--cache-stages STAGE|\"STAGES\"]\n\
\t [--checksums md5|sha1|sha256|sha512|none]\n\
\t [--color]\n\
\t [--compression bzip2|gzip|lzip|xz|none]\n\
\t [--config GIT_URL::GIT_BRANCH]\n\
\t [--zsync true|false]\n\
@ -149,7 +150,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:,debug,force,
loadlin:,win32-loader:,source:,source-images:,breakpoints,conffile:,color,debug,force,
help,ignore-system-defaults,quiet,usage,verbose,version,bootstrap-qemu-static:,bootstrap-qemu-arch:,
uefi-secure-boot:,
bootstrap-qemu-exclude:"