diff options
author | Raphaël Hertzog <hertzog@debian.org> | 2016-12-16 10:00:36 +0100 |
---|---|---|
committer | Raphaël Hertzog <hertzog@debian.org> | 2016-12-16 10:00:36 +0100 |
commit | 75aa6dec5bf886c30f3a4ff7f99d94459fd99d5f (patch) | |
tree | 470038877874eba0f87edbe1b2d9963a6f119205 | |
parent | 50b6a2952394783c286cfa3ee0a1c09ced67e936 (diff) | |
download | vyos-live-build-75aa6dec5bf886c30f3a4ff7f99d94459fd99d5f.tar.gz vyos-live-build-75aa6dec5bf886c30f3a4ff7f99d94459fd99d5f.zip |
Minor updates to lb_config and its manual page
* Update the manual page with the missiong --bootappend-live-failsafe
option.
* Keep supporting the former --bootloader (without s).
-rw-r--r-- | debian/changelog | 3 | ||||
-rw-r--r-- | manpages/en/lb_config.1 | 8 | ||||
-rwxr-xr-x | scripts/build/config | 6 |
3 files changed, 12 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog index 77fb01684..fb27df833 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,9 @@ live-build (1:20161213) UNRELEASED; urgency=medium * Cleanup binary_loopback_cfg and offer more freedom in overriding the default grub-pc configuration. + * Update the manual page with the missiong --bootappend-live-failsafe + option. + * Keep supporting the former --bootloader (without s). -- Raphaël Hertzog <hertzog@debian.org> Tue, 13 Dec 2016 18:31:44 +0100 diff --git a/manpages/en/lb_config.1 b/manpages/en/lb_config.1 index 70d910980..310d756d7 100644 --- a/manpages/en/lb_config.1 +++ b/manpages/en/lb_config.1 @@ -39,7 +39,9 @@ .br [\fB\-\-bootappend\-live\fR \fIPARAMETER\fR|\fI"PARAMETERS"\fR] .br - [\fB\-\-bootloader\fR grub|grub2|syslinux|grub-efi] + [\fB\-\-bootappend\-live\-failsafe\fR \fIPARAMETER\fR|\fI"PARAMETERS"\fR] +.br + [\fB\-\-bootloaders\fR grub-legacy|grub-pc|syslinux|grub-efi] .br [\fB\-\-cache\fR true|false] .br @@ -267,7 +269,9 @@ defines the filesystem to be used in the image type. This only has an effect if sets boot parameters specific to debian\-installer, if included. .IP "\fB\-\-bootappend\-live\fR \fIPARAMETER\fR|""\fIPARAMETERS\fR""" 4 sets boot parameters specific to debian\-live. A complete list of boot parameters can be found in the \fIlive\-boot\fR(7) and \fIlive\-config\fR(7) manual pages. -.IP "\fB\-\-bootloader\fR grub|grub2|syslinux|grub-efi" 4 +.IP "\fB\-\-bootappend\-live\-failsafe\fR \fIPARAMETER\fR|""\fIPARAMETERS\fR""" 4 +sets boot parameters specific to debian\-live failsafe boot entries. A complete list of boot parameters can be found in the \fIlive\-boot\fR(7) and \fIlive\-config\fR(7) manual pages. +.IP "\fB\-\-bootloaders\fR grub-legacy|grub-pc|syslinux|grub-efi" 4 defines which bootloader is being used in the generated image. This has only an effect if the selected binary image type does allow to choose the bootloader. For example, if you build a iso, always syslinux (or more precise, isolinux) is being used. Also note that some combinations of binary images types and bootloaders may be possible but live\-build does not support them yet. \fBlb config\fR will fail to create such a not yet supported configuration and give a explanation about it. For hdd images on amd64 and i386, the default is syslinux. .IP "\fB\-\-cache\fR true|false" 4 defines globally if any cache should be used at all. Different caches can be controlled through the their own options. diff --git a/scripts/build/config b/scripts/build/config index 9c2d90444..c692a926f 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -32,7 +32,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\ \t [--bootappend-install PARAMETER|\"PARAMETERS\"]\n\ \t [--bootappend-live PARAMETER|\"PARAMETERS\"]\n\ \t [--bootappend-live-failsafe PARAMETER|\"PARAMETERS\"]\n\ -\t [--bootloaders grub-legacy|grub-pc|syslinux]\n\ +\t [--bootloaders grub-legacy|grub-pc|syslinux|grub-efi]\n\ \t [--cache true|false]\n\ \t [--cache-indices true|false]\n\ \t [--cache-packages true|false]\n\ @@ -140,7 +140,7 @@ Local_arguments () 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:, - apt-indices:,bootappend-install:,bootappend-live:,bootappend-live-failsafe:,bootloaders:,checksums:,compression:,config:,zsync:,build-with-chroot:, + 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:, iso-volume:,jffs2-eraseblock:,memtest:,net-root-filesystem:,net-root-mountoptions:, @@ -499,7 +499,7 @@ Local_arguments () shift 2 ;; - --bootloaders) + --bootloaders|--bootloader) LB_BOOTLOADERS="${2}" shift 2 ;; |