summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-08-27 14:47:10 +0200
committerDaniel Baumann <daniel@debian.org>2012-08-27 14:47:10 +0200
commit80bfaf9f0a316bc6c95d461fe9344ebff3a46a8b (patch)
tree1859048dfbbe74ebe8a6efe42031de30633d72d3 /scripts
parentd7064dfb271fca5b779e18655102d2eddecd0c35 (diff)
downloadvyos-live-build-80bfaf9f0a316bc6c95d461fe9344ebff3a46a8b.tar.gz
vyos-live-build-80bfaf9f0a316bc6c95d461fe9344ebff3a46a8b.zip
Exposing --debootstrap-options and --cdebootstrap-options publicly.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_config14
1 files changed, 13 insertions, 1 deletions
diff --git a/scripts/build/lb_config b/scripts/build/lb_config
index 0a72cefd6..50416382b 100755
--- a/scripts/build/lb_config
+++ b/scripts/build/lb_config
@@ -140,7 +140,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\
Local_arguments ()
{
- LONG_OPTIONS="apt:,apt-ftp-proxy:,apt-http-proxy:,apt-options:,aptitute-options:,
+ LONG_OPTIONS="apt:,apt-ftp-proxy:,apt-http-proxy:,apt-options:,aptitute-options:debootstrap-options:,cdebootstrap-ptions,
apt-pipeline:,apt-recommends:,apt-secure:,apt-source-archives:,bootstrap:,cache:,cache-indices:,cache-packages:,
cache-stages:,debconf-frontend:,debconf-nowarnings:,debconf-priority:,dump,
initramfs:,initramfs-compression:,initsystem:,fdisk:,losetup:,mode:,system:,root-command:,use-fakeroot:,tasksel:,
@@ -273,6 +273,16 @@ Local_arguments ()
shift 2
;;
+ --debootstrap-options)
+ DEBOOTSTRAP_OPTIONS="${2}"
+ shift 2
+ ;;
+
+ --cdebootstrap-options)
+ CDEBOOTSTRAP_OPTIONS="${2}"
+ shift 2
+ ;;
+
--cache)
LB_CACHE="${2}"
shift 2
@@ -1075,6 +1085,8 @@ _QUIET="${_QUIET}"
# Internal stuff (FIXME)
APT_OPTIONS="${APT_OPTIONS}"
APTITUDE_OPTIONS="${APTITUDE_OPTIONS}"
+DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS}"
+CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS}"
GZIP_OPTIONS="${GZIP_OPTIONS}"
ISOHYBRID_OPTIONS="${ISOHYBRID_OPTIONS}"
EOF