diff options
author | Daniel Baumann <daniel@debian.org> | 2011-08-24 20:34:01 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-08-24 22:46:32 +0200 |
commit | 3ceb68b7d4eb5b28269c0780a808c3725c5f5668 (patch) | |
tree | ffcf3feed5e674de5a814b5e5269cd20c0042bfc /scripts/build/lb_config | |
parent | 9d73420afc451a6367bec6873c74c649d08b9c01 (diff) | |
download | vyos-live-build-3ceb68b7d4eb5b28269c0780a808c3725c5f5668.tar.gz vyos-live-build-3ceb68b7d4eb5b28269c0780a808c3725c5f5668.zip |
Introducing --apt-sources option to control if the live system should have deb-src entries in sources.list.
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 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}" |