summaryrefslogtreecommitdiff
path: root/scripts/build/lb_config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-01-07 21:56:33 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:41 +0100
commit6d87f0dde3a22c9c49a727025913484e35819dbf (patch)
tree36de314485f69c21100ce5cec8c3216b1ae69e42 /scripts/build/lb_config
parent8f4fb88a7161d924be52587d24087a4f10d60a75 (diff)
downloadvyos-live-build-6d87f0dde3a22c9c49a727025913484e35819dbf.tar.gz
vyos-live-build-6d87f0dde3a22c9c49a727025913484e35819dbf.zip
Adding derivatives handling for progress.
Diffstat (limited to 'scripts/build/lb_config')
-rwxr-xr-xscripts/build/lb_config12
1 files changed, 11 insertions, 1 deletions
diff --git a/scripts/build/lb_config b/scripts/build/lb_config
index e61c86550..2b0d99d46 100755
--- a/scripts/build/lb_config
+++ b/scripts/build/lb_config
@@ -67,6 +67,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\
\t [--debian-installer-gui true|false]\n\
\t [--debug]\n\
\t [-d|--distribution CODENAME]\n\
+\t [--parent-distribution CODENAME]\n\
\t [--dump]\n\
\t [--fdisk fdisk|fdisk.dist]\n\
\t [--force]\n\
@@ -139,7 +140,7 @@ Local_arguments ()
cache-stages:,debconf-frontend:,debconf-nowarnings:,debconf-priority:,dump,
initramfs:,fdisk:,losetup:,mode:,repositories:,root-command:,use-fakeroot:,tasksel:,includes:,
templates:,architectures:,bootstrap-config:,bootstrap-flavour:,bootstrap-keyring:,clean,
- distribution:,mirror-bootstrap:,mirror-chroot:,mirror-chroot-security:,mirror-chroot-volatile:,mirror-chroot-backports:,mirror-binary:,
+ distribution:,parent-distribution:,mirror-bootstrap:,mirror-chroot:,mirror-chroot-security:,mirror-chroot-volatile:,mirror-chroot-backports:,mirror-binary:,
mirror-binary-security:,mirror-binary-volatile:,mirror-binary-backports:,mirror-debian-installer:,archive-areas:,chroot-filesystem:,exposed-root:,virtual-root-size:,
gzip-options:,hooks:,interactive:,keyring-packages:,language:,linux-flavours:,linux-packages:,
packages:,package-lists:,tasks:,security:,volatile:,backports:,binary-filesystem:,binary-images:,
@@ -382,6 +383,11 @@ Local_arguments ()
esac
;;
+ --parent-distribution)
+ LB_PARENT_DISTRIBUTION="${2}"
+ shift 2
+ ;;
+
-m|--mirror-bootstrap)
LB_MIRROR_BOOTSTRAP="${2}"
shift 2
@@ -963,6 +969,10 @@ LB_BOOTSTRAP_KEYRING="${LB_BOOTSTRAP_KEYRING}"
# (Default: ${LB_DISTRIBUTION})
LB_DISTRIBUTION="${LB_DISTRIBUTION}"
+# \$LB_PARENT_DISTRIBUTION: select parent distribution to use
+# (Default: ${LB_PARENT_DISTRIBUTION})
+LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION}"
+
# \$LB_MIRROR_BOOTSTRAP: set mirror to bootstrap from
# (Default: ${LB_MIRROR_BOOTSTRAP})
LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP}"