diff options
author | Daniel Baumann <daniel@debian.org> | 2012-04-27 20:31:49 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-04-27 20:31:49 +0200 |
commit | 58cb79b8cdfe7b2dce672b033d75d5fc1461851b (patch) | |
tree | a20032b8cad7b9b9eec5b834dae71ef109450179 /scripts/build/lb_config | |
parent | 4b333fb98091936fe0cd805e3164e31a4759d810 (diff) | |
download | vyos-live-build-58cb79b8cdfe7b2dce672b033d75d5fc1461851b.tar.gz vyos-live-build-58cb79b8cdfe7b2dce672b033d75d5fc1461851b.zip |
Transforming failsafe boot parameter into an own option.
Diffstat (limited to 'scripts/build/lb_config')
-rwxr-xr-x | scripts/build/lb_config | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/scripts/build/lb_config b/scripts/build/lb_config index 26f34cc9e..f1ae30cdf 100755 --- a/scripts/build/lb_config +++ b/scripts/build/lb_config @@ -44,6 +44,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\ \t [--binary-filesystem fat16|fat32|ext2|ext3|ext4]\n\ \t [--bootappend-install PARAMETER|\"PARAMETERS\"]\n\ \t [--bootappend-live PARAMETER|\"PARAMETERS\"]\n\ +\t [--bootappend-failsafe PARAMETER|\"PARAMETERS\"]\n\ \t [--bootloader grub|syslinux|yaboot]\n\ \t [--bootstrap cdebootstrap|cdebootstrap-static|debootstrap|copy]\n\ \t [-f|--bootstrap-flavour minimal|standard]\n\ @@ -166,7 +167,7 @@ Local_arguments () archives:,archive-areas:,parent-archive-areas:,chroot-filesystem:,exposed-root:, gzip-options:,hooks:,interactive:,keyring-packages:,linux-flavours:,linux-packages:, package-lists:,security:,volatile:,backports:,binary-filesystem:,binary-images:, - apt-indices:,bootappend-install:,bootappend-live:,bootloader:,checksums:,compression:,build-with-chroot:, + apt-indices:,bootappend-install:,bootappend-live:,bootappend-failsafe:,bootloader:,checksums:,compression:,build-with-chroot:, debian-installer:,debian-installer-distribution:,debian-installer-preseedfile:,debian-installer-gui:, grub-splash:,isohybrid-options:,hdd-label:,hdd-size:,iso-application:,iso-preparer:,iso-publisher:, iso-volume:,jffs2-eraseblock:,memtest:,net-root-filesystem:,net-root-mountoptions:, @@ -610,6 +611,11 @@ Local_arguments () shift 2 ;; + --bootappend-failsafe) + LB_BOOTAPPEND_FAILSAFE="${2}" + shift 2 + ;; + --bootloader) LB_BOOTLOADER="${2}" shift 2 @@ -1296,6 +1302,10 @@ LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE}" # (Default: empty) LB_BOOTAPPEND_INSTALL="${LB_BOOTAPPEND_INSTALL}" +# \$LB_BOOTAPPEND_FAILSAFE: set boot parameters +# (Default: empty) +LB_BOOTAPPEND_FAILSAFE="${LB_BOOTAPPEND_FAILSAFE}" + # \$LB_BOOTLOADER: set bootloader # (Default: ${LB_BOOTLOADER}) LB_BOOTLOADER="${LB_BOOTLOADER}" |