From ef9b1e8487d2d238da443438e4a4b4abdc07af9d Mon Sep 17 00:00:00 2001 From: jnqnfe Date: Wed, 10 Dec 2014 07:51:50 +0100 Subject: [PATCH] Fix missing grub2 option in bootloader selection (Closes: #772671). --- manpages/en/lb_config.1 | 4 ++-- scripts/build/config | 2 +- templates/cgi/debian/form.html | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/manpages/en/lb_config.1 b/manpages/en/lb_config.1 index 3cb8c6bc8..b8916cb94 100644 --- a/manpages/en/lb_config.1 +++ b/manpages/en/lb_config.1 @@ -39,7 +39,7 @@ .br [\fB\-\-bootappend\-live\fR \fIPARAMETER\fR|\fI"PARAMETERS"\fR] .br - [\fB\-\-bootloader\fR grub|syslinux] + [\fB\-\-bootloader\fR grub|grub2|syslinux] .br [\fB\-\-bootstrap\fR cdebootstrap|cdebootstrap-static|debootstrap] .br @@ -265,7 +265,7 @@ 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|syslinux" 4 +.IP "\fB\-\-bootloader\fR grub|grub2|syslinux" 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\-\-bootstrap\fR cdebootstrap|cdebootstrap-static|debootstrap" 4 defines which program is used to bootstrap the debian chroot, default is debootstrap. diff --git a/scripts/build/config b/scripts/build/config index 5d4ef72c3..845ec7b3d 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 [--bootloader grub|syslinux]\n\ +\t [--bootloader grub|grub2|syslinux]\n\ \t [--bootstrap cdebootstrap|cdebootstrap-static|debootstrap]\n\ \t [--cache true|false]\n\ \t [--cache-indices true|false]\n\ diff --git a/templates/cgi/debian/form.html b/templates/cgi/debian/form.html index d8c76e865..94f760ddb 100644 --- a/templates/cgi/debian/form.html +++ b/templates/cgi/debian/form.html @@ -173,6 +173,7 @@