summaryrefslogtreecommitdiff
path: root/scripts/build/lb_config
diff options
context:
space:
mode:
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 a3051b5e9..b4d66a1f7 100755
--- a/scripts/build/lb_config
+++ b/scripts/build/lb_config
@@ -38,6 +38,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\
\t [--apt-pipeline DEPTH]\n\
\t [--apt-recommends true|false]\n\
\t [--apt-secure true|false]\n\
+\t [--apt-source true|false]\n\
\t [-a|--architectures ARCHITECTURE]\n\
\t [-b|--binary-images iso|iso-hybrid|net|tar|usb-hdd]\n\
\t [--binary-filesystem fat16|fat32|ext2]\n\
@@ -149,7 +150,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\
Local_arguments ()
{
LONG_OPTIONS="apt:,apt-ftp-proxy:,apt-http-proxy:,apt-options:,aptitute-options:,
- apt-pipeline:,apt-recommends:,apt-secure:,bootstrap:,cache:,cache-indices:,cache-packages:,
+ apt-pipeline:,apt-recommends:,apt-secure:,apt-source:,bootstrap:,cache:,cache-indices:,cache-packages:,
cache-stages:,debconf-frontend:,debconf-nowarnings:,debconf-priority:,dump,
initramfs:,initramfs-compression:,initsystem:,fdisk:,losetup:,mode:,root-command:,use-fakeroot:,tasksel:,includes:,
templates:,architectures:,bootstrap-flavour:,bootstrap-keyring:,clean,
@@ -270,6 +271,11 @@ Local_arguments ()
shift 2
;;
+ --apt-source)
+ LB_APT_SOURCE="${2}"
+ shift 2
+ ;;
+
--bootstrap)
LB_BOOTSTRAP="${2}"
shift 2
@@ -909,6 +915,10 @@ LB_APT_RECOMMENDS="${LB_APT_RECOMMENDS}"
# (Default: ${LB_APT_SECURE})
LB_APT_SECURE="${LB_APT_SECURE}"
+# \$LB_APT_SOURCE: set apt/aptitude source entries in sources.list
+# (Default: ${LB_APT_SOURCE})
+LB_APT_SOURCE="${LB_APT_SOURCE}"
+
# \$LB_BOOTSTRAP: set bootstrap program
# (Default: ${LB_BOOTSTRAP})
LB_BOOTSTRAP="${LB_BOOTSTRAP}"