Adding mirror option handling for derivatives.
This commit is contained in:
parent
3047936fb5
commit
ff807068b9
|
@ -295,14 +295,17 @@ Set_defaults ()
|
|||
case "${LB_MODE}" in
|
||||
debian)
|
||||
LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-http://ftp.de.debian.org/debian/}"
|
||||
LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-${LB_PARENT_MIRROR_BOOTSTRAP}}"
|
||||
;;
|
||||
|
||||
emdebian)
|
||||
LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-http://buildd.emdebian.org/grip/}"
|
||||
LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-${LB_PARENT_MIRROR_BOOTSTRAP}}"
|
||||
;;
|
||||
|
||||
progress)
|
||||
LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-http://cdn.debian.net/debian/}"
|
||||
LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://archive.progress-linux.org/progress/}"
|
||||
;;
|
||||
|
||||
ubuntu)
|
||||
|
@ -315,23 +318,29 @@ Set_defaults ()
|
|||
LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-http://ports.ubuntu.com/}"
|
||||
;;
|
||||
esac
|
||||
|
||||
LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-${LB_PARENT_MIRROR_BOOTSTRAP}}"
|
||||
;;
|
||||
esac
|
||||
|
||||
LB_PARENT_MIRROR_CHROOT="${LB_PARENT_MIRROR_CHROOT:-${LB_PARENT_MIRROR_BOOTSTRAP}}"
|
||||
LB_MIRROR_CHROOT="${LB_MIRROR_CHROOT:-${LB_MIRROR_BOOTSTRAP}}"
|
||||
|
||||
# Setting security mirror to fetch packages from
|
||||
case "${LB_MODE}" in
|
||||
debian)
|
||||
LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-http://security.debian.org/}"
|
||||
LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-${LB_PARENT_MIRROR_CHROOT_SECURITY}}"
|
||||
;;
|
||||
|
||||
emdebian)
|
||||
LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-none}"
|
||||
LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-${LB_PARENT_MIRROR_CHROOT_SECURITY}}"
|
||||
;;
|
||||
|
||||
progress)
|
||||
LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-http://cdn.debian.net/debian-security/}"
|
||||
LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-${LB_MIRROR_CHROOT}}"
|
||||
;;
|
||||
|
||||
ubuntu)
|
||||
|
@ -344,13 +353,21 @@ Set_defaults ()
|
|||
LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-http://ports.ubuntu.com/}"
|
||||
;;
|
||||
esac
|
||||
|
||||
LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-${LB_PARENT_MIRROR_CHROOT_SECURITY}}"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Setting volatile mirror to fetch packages from
|
||||
case "${LB_MODE}" in
|
||||
debian|progress)
|
||||
debian)
|
||||
LB_PARENT_MIRROR_CHROOT_VOLATILE="${LB_PARENT_MIRROR_CHROOT_VOLATILE:-${LB_PARENT_MIRROR_CHROOT}}"
|
||||
LB_MIRROR_CHROOT_VOLATILE="${LB_MIRROR_CHROOT_VOLATILE:-${LB_PARENT_MIRROR_CHROOT}}"
|
||||
;;
|
||||
|
||||
progress)
|
||||
LB_PARENT_MIRROR_CHROOT_VOLATILE="${LB_PARENT_MIRROR_CHROOT_VOLATILE:-${LB_PARENT_MIRROR_CHROOT}}"
|
||||
LB_MIRROR_CHROOT_VOLATILE="${LB_MIRROR_CHROOT_VOLATILE:-${LB_MIRROR_CHROOT}}"
|
||||
;;
|
||||
|
||||
ubuntu)
|
||||
|
@ -363,10 +380,13 @@ Set_defaults ()
|
|||
LB_PARENT_MIRROR_CHROOT_VOLATILE="${LB_PARENT_MIRROR_CHROOT_VOLATILE:-http://ports.ubuntu.com/}"
|
||||
;;
|
||||
esac
|
||||
|
||||
LB_MIRROR_CHROOT_VOLATILE="${LB_MIRROR_CHROOT_VOLATILE:-${LB_PARENT_MIRROR_CHROOT}}"
|
||||
;;
|
||||
|
||||
*)
|
||||
LB_PARENT_MIRROR_CHROOT_VOLATILE="${LB_PARENT_MIRROR_CHROOT_VOLATILE:-none}"
|
||||
LB_MIRROR_CHROOT_VOLATILE="${LB_MIRROR_CHROOT_VOLATILE:-none}"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -374,21 +394,34 @@ Set_defaults ()
|
|||
case "${LB_MODE}" in
|
||||
debian)
|
||||
LB_PARENT_MIRROR_CHROOT_BACKPORTS="${LB_PARENT_MIRROR_CHROOT_BACKPORTS:-http://backports.debian.org/debian-backports/}"
|
||||
LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS:-${LB_PARENT_MIRROR_CHROOT_BACKPORTS}}"
|
||||
;;
|
||||
|
||||
progress)
|
||||
LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS:-${LB_MIRROR_CHROOT}}"
|
||||
;;
|
||||
|
||||
*)
|
||||
LB_PARENT_MIRROR_CHROOT_BACKPORTS="${LB_PARENT_MIRROR_CHROOT_BACKPORTS:-none}"
|
||||
LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS:-none}"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Setting mirror which ends up in the image
|
||||
case "${LB_MODE}" in
|
||||
debian|progress)
|
||||
debian)
|
||||
LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY:-http://cdn.debian.net/debian/}"
|
||||
LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-${LB_PARENT_MIRROR_BINARY}}"
|
||||
;;
|
||||
|
||||
progress)
|
||||
LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY:-http://cdn.debian.net/debian/}"
|
||||
LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-${LB_MIRROR_CHROOT}}"
|
||||
;;
|
||||
|
||||
emdebian)
|
||||
LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY:-http://buildd.emdebian.org/grip/}"
|
||||
LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-${LB_PARENT_MIRROR_BINARY}}"
|
||||
;;
|
||||
|
||||
ubuntu)
|
||||
|
@ -401,6 +434,8 @@ Set_defaults ()
|
|||
LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY:-http://ports.ubuntu.com/}"
|
||||
;;
|
||||
esac
|
||||
|
||||
LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-${LB_PARENT_MIRROR_BINARY}}"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -408,14 +443,17 @@ Set_defaults ()
|
|||
case "${LB_MODE}" in
|
||||
debian)
|
||||
LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-http://security.debian.org/}"
|
||||
LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-${LB_PARENT_MIRROR_BINARY_SECURITY}}"
|
||||
;;
|
||||
|
||||
emdebian)
|
||||
LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-none}"
|
||||
LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-${LB_PARENT_MIRROR_BINARY_SECURITY}}"
|
||||
;;
|
||||
|
||||
progress)
|
||||
LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-http://cdn.debian.net/debian-security/}"
|
||||
LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-${LB_MIRROR_CHROOT}}"
|
||||
;;
|
||||
|
||||
ubuntu)
|
||||
|
@ -428,13 +466,21 @@ Set_defaults ()
|
|||
LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-http://ports.ubuntu.com/}"
|
||||
;;
|
||||
esac
|
||||
|
||||
LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-${LB_PARENT_MIRROR_BINARY_SECURITY}}"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Setting volatile mirror which ends up in the image
|
||||
case "${LB_MODE}" in
|
||||
debian|progress)
|
||||
debian)
|
||||
LB_PARENT_MIRROR_BINARY_VOLATILE="${LB_PARENT_MIRROR_BINARY_VOLATILE:-${LB_PARENT_MIRROR_BINARY}}"
|
||||
LB_MIRROR_BINARY_VOLATILE="${LB_MIRROR_BINARY_VOLATILE:-${LB_PARENT_MIRROR_BINARY}}"
|
||||
;;
|
||||
|
||||
progress)
|
||||
LB_PARENT_MIRROR_BINARY_VOLATILE="${LB_PARENT_MIRROR_BINARY_VOLATILE:-${LB_PARENT_MIRROR_BINARY}}"
|
||||
LB_MIRROR_BINARY_VOLATILE="${LB_MIRROR_BINARY_VOLATILE:-none}"
|
||||
;;
|
||||
|
||||
ubuntu)
|
||||
|
@ -458,14 +504,31 @@ Set_defaults ()
|
|||
case "${LB_MODE}" in
|
||||
debian)
|
||||
LB_PARENT_MIRROR_BINARY_BACKPORTS="${LB_PARENT_MIRROR_BINARY_BACKPORTS:-http://backports.debian.org/debian-backports/}"
|
||||
LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS:-${LB_PARENT_MIRROR_BINARY_BACKPORTS}}"
|
||||
;;
|
||||
|
||||
progress)
|
||||
LB_PARENT_MIRROR_BINARY_BACKPORTS="${LB_PARENT_MIRROR_BINARY_BACKPORTS:-none}"
|
||||
LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS:-${LB_MIRROR_CHROOT}}"
|
||||
;;
|
||||
|
||||
*)
|
||||
LB_PARENT_MIRROR_BINARY_BACKPORTS="${LB_PARENT_MIRROR_BINARY_BACKPORTS:-none}"
|
||||
LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS:-${LB_PARENT_MIRROR_BINARY_BACKPORTS}}"
|
||||
;;
|
||||
esac
|
||||
|
||||
LB_PARENT_MIRROR_DEBIAN_INSTALLER="${LB_PARENT_MIRROR_DEBIAN_INSTALLER:-${LB_PARENT_MIRROR_BOOTSTRAP}}"
|
||||
case "${LB_MODE}" in
|
||||
progress)
|
||||
LB_PARENT_MIRROR_DEBIAN_INSTALLER="${LB_PARENT_MIRROR_DEBIAN_INSTALLER:-${LB_PARENT_MIRROR_BOOTSTRAP}}"
|
||||
LB_MIRROR_DEBIAN_INSTALLER="${LB_MIRROR_DEBIAN_INSTALLER:-${LB_MIRROR_CHROOT}}"
|
||||
;;
|
||||
|
||||
*)
|
||||
LB_PARENT_MIRROR_DEBIAN_INSTALLER="${LB_PARENT_MIRROR_DEBIAN_INSTALLER:-${LB_PARENT_MIRROR_BOOTSTRAP}}"
|
||||
LB_MIRROR_DEBIAN_INSTALLER="${LB_MIRROR_DEBIAN_INSTALLER:-${LB_PARENT_MIRROR_DEBIAN_INSTALLER}}"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "${LB_REPOSITORIES}" ]
|
||||
then
|
||||
|
@ -508,17 +571,13 @@ Set_defaults ()
|
|||
|
||||
# Setting keyring packages
|
||||
case "${LB_MODE}" in
|
||||
debian)
|
||||
LB_KEYRING_PACKAGES="${LB_KEYRING_PACKAGES:-debian-archive-keyring}"
|
||||
;;
|
||||
|
||||
emdebian)
|
||||
LB_KEYRING_PACKAGES="${LB_KEYRING_PACKAGES:-debian-archive-keyring}"
|
||||
;;
|
||||
|
||||
ubuntu)
|
||||
LB_KEYRING_PACKAGES="${LB_KEYRING_PACKAGES:-ubuntu-keyring}"
|
||||
;;
|
||||
|
||||
*)
|
||||
LB_KEYRING_PACKAGES="${LB_KEYRING_PACKAGES:-debian-archive-keyring}"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Setting language string
|
||||
|
@ -710,19 +769,9 @@ Set_defaults ()
|
|||
LB_TASKS="$(echo ${LB_TASKS} | sed -e 's| ||g')"
|
||||
|
||||
# Setting security updates option
|
||||
if [ "${LB_PARENT_MIRROR_CHROOT_SECURITY}" = "none" ] || [ "${LB_PARENT_MIRROR_BINARY_SECURITY}" = "none" ]
|
||||
then
|
||||
LB_SECURITY="false"
|
||||
fi
|
||||
|
||||
LB_SECURITY="${LB_SECURITY:-true}"
|
||||
|
||||
# Setting volatile updates option
|
||||
if [ "${LB_PARENT_MIRROR_CHROOT_VOLATILE}" = "none" ] || [ "${LB_PARENT_MIRROR_BINARY_VOLATILE}" = "none" ]
|
||||
then
|
||||
LB_VOLATILE="false"
|
||||
fi
|
||||
|
||||
LB_VOLATILE="${LB_VOLATILE:-true}"
|
||||
|
||||
## config/binary
|
||||
|
|
|
@ -161,6 +161,26 @@
|
|||
[\fB\-\-parent\-mirror\-binary\-backports\fP \fIURL\fP]
|
||||
.br
|
||||
[\fB\-\-parent\-mirror\-debian\-installer\fP \fIURL\fP]
|
||||
.br
|
||||
[\fB\-\-mirror\-bootstrap\fP \fIURL\fP]
|
||||
.br
|
||||
[\fB\-\-mirror\-chroot\fP \fIURL\fP]
|
||||
.br
|
||||
[\fB\-\-mirror\-chroot\-security\fP \fIURL\fP]
|
||||
.br
|
||||
[\fB\-\-mirror\-chroot\-volatile\fP \fIURL\fP]
|
||||
.br
|
||||
[\fB\-\-mirror\-chroot\-backports\fP \fIURL\fP]
|
||||
.br
|
||||
[\fB\-\-mirror\-binary\fP \fIURL\fP]
|
||||
.br
|
||||
[\fB\-\-mirror\-binary\-security\fP \fIURL\fP]
|
||||
.br
|
||||
[\fB\-\-mirror\-binary\-volatile\fP \fIURL\fP]
|
||||
.br
|
||||
[\fB\-\-mirror\-binary\-backports\fP \fIURL\fP]
|
||||
.br
|
||||
[\fB\-\-mirror\-debian\-installer\fP \fIURL\fP]
|
||||
.br
|
||||
[\fB\-\-mode\fP debian|emdebian|ubuntu]
|
||||
.br
|
||||
|
@ -598,6 +618,46 @@ configured in the final image. By default,
|
|||
sets the location of the mirror that will be used to fetch the debian
|
||||
installer images. By default, this points to the same mirror used to build
|
||||
the live system, i.e. the value of \-\-parent\-mirror\-bootstrap.
|
||||
.IP "\-m|\fB\-\-mirror\-bootstrap\fP \fIURL\fP" 4
|
||||
sets the location of the debian package mirror that should be used to
|
||||
bootstrap the derivative from. This defaults to
|
||||
http://ftp.de.debian.org/debian/ which may not be a good default if you live
|
||||
outside of Europe.
|
||||
.IP "\fB\-\-mirror\-chroot\fP \fIURL\fP" 4
|
||||
sets the location of the debian package mirror that will be used to fetch
|
||||
the packages of the derivative in order to build the live system. By
|
||||
default, this is set to the value of \-\-mirror\-bootstrap.
|
||||
.IP "\fB\-\-mirror\-chroot\-security\fP \fIURL\fP" 4
|
||||
sets the location of the debian security package mirror that will be used to
|
||||
fetch the packages of the derivative in order to build the live system. By
|
||||
default, this points to http://security.debian.org/debian/.
|
||||
.IP "\fB\-\-mirror\-chroot\-volatile\fP \fIURL\fP" 4
|
||||
sets the location of the debian volatile package mirror that will be used to
|
||||
fetch packages of the derivative in order to build the live system. By
|
||||
default, this is set to the value of \-\-mirror\-chroot.
|
||||
.IP "\fB\-\-mirror\-chroot\-backports\fP \fIURL\fP" 4
|
||||
sets the location of the debian backports package mirror that will be used
|
||||
to fetch packages of the derivative in order to build the live system. By
|
||||
default, this points to http://backports.debian.org/debian\-backports/.
|
||||
.IP "\fB\-\-mirror\-binary\fP \fIURL\fP" 4
|
||||
sets the location of the derivative package mirror that should end up
|
||||
configured in the final image and which is the one a user would see and
|
||||
use. This has not necessarily to be the same that is used to build the
|
||||
image, e.g. if you use a local mirror but want to have an official mirror in
|
||||
the image.
|
||||
.IP "\fB\-\-mirror\-binary\-security\fP \fIURL\fP" 4
|
||||
sets the location of the derivatives security package mirror that should end
|
||||
up configured in the final image.
|
||||
.IP "\fB\-\-mirror\-binary\-volatile\fP \fIURL\fP" 4
|
||||
sets the location of the derivatives volatile package mirror that should end
|
||||
up configured in the final image.
|
||||
.IP "\fB\-\-mirror\-binary\-backports\fP \fIURL\fP" 4
|
||||
sets the location of the derivatives backports package mirror that should
|
||||
end up configured in the final image.
|
||||
.IP "\fB\-\-mirror\-debian\-installer\fP \fIURL\fP" 4
|
||||
sets the location of the mirror that will be used to fetch the debian
|
||||
installer images of the derivative. By default, this points to the same
|
||||
mirror used to build the live system, i.e. the value of \-\-mirror\-bootstrap.
|
||||
.IP "\fB\-\-mode\fP debian|emdebian|ubuntu" 4
|
||||
defines a global mode to load project specific defaults. By default this is
|
||||
set to debian.
|
||||
|
|
|
@ -156,6 +156,26 @@
|
|||
[\fB\-\-parent\-mirror\-binary\-backports\fR \fIURL\fR]
|
||||
.br
|
||||
[\fB\-\-parent\-mirror\-debian\-installer\fR \fIURL\fR]
|
||||
.br
|
||||
[\fB\-\-mirror\-bootstrap\fR \fIURL\fR]
|
||||
.br
|
||||
[\fB\-\-mirror\-chroot\fR \fIURL\fR]
|
||||
.br
|
||||
[\fB\-\-mirror\-chroot\-security\fR \fIURL\fR]
|
||||
.br
|
||||
[\fB\-\-mirror\-chroot\-volatile\fR \fIURL\fR]
|
||||
.br
|
||||
[\fB\-\-mirror\-chroot\-backports\fR \fIURL\fR]
|
||||
.br
|
||||
[\fB\-\-mirror\-binary\fR \fIURL\fR]
|
||||
.br
|
||||
[\fB\-\-mirror\-binary\-security\fR \fIURL\fR]
|
||||
.br
|
||||
[\fB\-\-mirror\-binary\-volatile\fR \fIURL\fR]
|
||||
.br
|
||||
[\fB\-\-mirror\-binary\-backports\fR \fIURL\fR]
|
||||
.br
|
||||
[\fB\-\-mirror\-debian\-installer\fR \fIURL\fR]
|
||||
.br
|
||||
[\fB\-\-mode\fR debian|emdebian|ubuntu]
|
||||
.br
|
||||
|
@ -383,6 +403,26 @@ sets the location of the debian volatile package mirror that should end up confi
|
|||
sets the location of the debian backports package mirror that should end up configured in the final image. By default, 'http://backports.debian.org/debian-backports/' is used.
|
||||
.IP "\fB\-\-parent\-mirror\-debian\-installer\fR \fIURL\fR" 4
|
||||
sets the location of the mirror that will be used to fetch the debian installer images. By default, this points to the same mirror used to build the live system, i.e. the value of \-\-parent\-mirror\-bootstrap.
|
||||
.IP "\-m|\fB\-\-mirror\-bootstrap\fR \fIURL\fR" 4
|
||||
sets the location of the debian package mirror that should be used to bootstrap the derivative from. This defaults to http://ftp.de.debian.org/debian/ which may not be a good default if you live outside of Europe.
|
||||
.IP "\fB\-\-mirror\-chroot\fR \fIURL\fR" 4
|
||||
sets the location of the debian package mirror that will be used to fetch the packages of the derivative in order to build the live system. By default, this is set to the value of \-\-mirror\-bootstrap.
|
||||
.IP "\fB\-\-mirror\-chroot\-security\fR \fIURL\fR" 4
|
||||
sets the location of the debian security package mirror that will be used to fetch the packages of the derivative in order to build the live system. By default, this points to http://security.debian.org/debian/.
|
||||
.IP "\fB\-\-mirror\-chroot\-volatile\fR \fIURL\fR" 4
|
||||
sets the location of the debian volatile package mirror that will be used to fetch packages of the derivative in order to build the live system. By default, this is set to the value of \-\-mirror\-chroot.
|
||||
.IP "\fB\-\-mirror\-chroot\-backports\fR \fIURL\fR" 4
|
||||
sets the location of the debian backports package mirror that will be used to fetch packages of the derivative in order to build the live system. By default, this points to http://backports.debian.org/debian-backports/.
|
||||
.IP "\fB\-\-mirror\-binary\fR \fIURL\fR" 4
|
||||
sets the location of the derivative package mirror that should end up configured in the final image and which is the one a user would see and use. This has not necessarily to be the same that is used to build the image, e.g. if you use a local mirror but want to have an official mirror in the image.
|
||||
.IP "\fB\-\-mirror\-binary\-security\fR \fIURL\fR" 4
|
||||
sets the location of the derivatives security package mirror that should end up configured in the final image.
|
||||
.IP "\fB\-\-mirror\-binary\-volatile\fR \fIURL\fR" 4
|
||||
sets the location of the derivatives volatile package mirror that should end up configured in the final image.
|
||||
.IP "\fB\-\-mirror\-binary\-backports\fR \fIURL\fR" 4
|
||||
sets the location of the derivatives backports package mirror that should end up configured in the final image.
|
||||
.IP "\fB\-\-mirror\-debian\-installer\fR \fIURL\fR" 4
|
||||
sets the location of the mirror that will be used to fetch the debian installer images of the derivative. By default, this points to the same mirror used to build the live system, i.e. the value of \-\-mirror\-bootstrap.
|
||||
.IP "\fB\-\-mode\fR debian|emdebian|ubuntu" 4
|
||||
defines a global mode to load project specific defaults. By default this is set to debian.
|
||||
.IP "\fB\-\-net\-root\-filesystem\fR nfs|cfs" 4
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -103,6 +103,16 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\
|
|||
\t [--parent-mirror-binary-volatile URL]\n\
|
||||
\t [--parent-mirror-binary-backports URL]\n\
|
||||
\t [--parent-mirror-debian-installer URL]\n\
|
||||
\t [--mirror-bootstrap URL]\n\
|
||||
\t [--mirror-chroot URL]\n\
|
||||
\t [--mirror-chroot-security URL]\n\
|
||||
\t [--mirror-chroot-volatile URL]\n\
|
||||
\t [--mirror-chroot-backports URL]\n\
|
||||
\t [--mirror-binary URL]\n\
|
||||
\t [--mirror-binary-security URL]\n\
|
||||
\t [--mirror-binary-volatile URL]\n\
|
||||
\t [--mirror-binary-backports URL]\n\
|
||||
\t [--mirror-debian-installer URL]\n\
|
||||
\t [--mode debian|emdebian|ubuntu]\n\
|
||||
\t [--net-root-filesystem nfs|cfs]\n\
|
||||
\t [--net-root-mountoptions OPTIONS]\n\
|
||||
|
@ -143,7 +153,10 @@ Local_arguments ()
|
|||
initramfs:,initsystem:,fdisk:,losetup:,mode:,repositories:,root-command:,use-fakeroot:,tasksel:,includes:,
|
||||
templates:,architectures:,bootstrap-config:,bootstrap-flavour:,bootstrap-keyring:,clean,
|
||||
distribution:,parent-distribution:,parent-debian-installer-distribution:,parent-mirror-bootstrap:,parent-mirror-chroot:,parent-mirror-chroot-security:,parent-mirror-chroot-volatile:,parent-mirror-chroot-backports:,parent-mirror-binary:,
|
||||
parent-mirror-binary-security:,parent-mirror-binary-volatile:,parent-mirror-binary-backports:,parent-mirror-debian-installer:,archive-areas:,chroot-filesystem:,exposed-root:,virtual-root-size:,
|
||||
parent-mirror-binary-security:,parent-mirror-binary-volatile:,parent-mirror-binary-backports:,parent-mirror-debian-installer:,
|
||||
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:,
|
||||
apt-indices:,bootappend-install:,bootappend-live:,bootloader:,checksums:,compression:,build-with-chroot:,
|
||||
|
@ -395,11 +408,6 @@ Local_arguments ()
|
|||
shift 2
|
||||
;;
|
||||
|
||||
--parent-debian-installer-distribution)
|
||||
LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${2}"
|
||||
shift 2
|
||||
;;
|
||||
|
||||
-m|--parent-mirror-bootstrap)
|
||||
LB_PARENT_MIRROR_BOOTSTRAP="${2}"
|
||||
shift 2
|
||||
|
@ -450,6 +458,56 @@ Local_arguments ()
|
|||
shift 2
|
||||
;;
|
||||
|
||||
--mirror-bootstrap)
|
||||
LB_MIRROR_BOOTSTRAP="${2}"
|
||||
shift 2
|
||||
;;
|
||||
|
||||
--mirror-chroot)
|
||||
LB_MIRROR_CHROOT="${2}"
|
||||
shift 2
|
||||
;;
|
||||
|
||||
--mirror-chroot-security)
|
||||
LB_MIRROR_CHROOT_SECURITY="${2}"
|
||||
shift 2
|
||||
;;
|
||||
|
||||
--mirror-chroot-volatile)
|
||||
LB_MIRROR_CHROOT_VOLATILE="${2}"
|
||||
shift 2
|
||||
;;
|
||||
|
||||
--mirror-chroot-backports)
|
||||
LB_MIRROR_CHROOT_BACKPORTS="${2}"
|
||||
shift 2
|
||||
;;
|
||||
|
||||
--mirror-binary)
|
||||
LB_MIRROR_BINARY="${2}"
|
||||
shift 2
|
||||
;;
|
||||
|
||||
--mirror-binary-security)
|
||||
LB_MIRROR_BINARY_SECURITY="${2}"
|
||||
shift 2
|
||||
;;
|
||||
|
||||
--mirror-binary-volatile)
|
||||
LB_MIRROR_BINARY_VOLATILE="${2}"
|
||||
shift 2
|
||||
;;
|
||||
|
||||
--mirror-binary-backports)
|
||||
LB_MIRROR_BINARY_BACKPORTS="${2}"
|
||||
shift 2
|
||||
;;
|
||||
|
||||
--mirror-debian-installer)
|
||||
LB_MIRROR_DEBIAN_INSTALLER="${2}"
|
||||
shift 2
|
||||
;;
|
||||
|
||||
--archive-areas)
|
||||
LB_ARCHIVE_AREAS="${2}"
|
||||
shift 2
|
||||
|
@ -587,6 +645,11 @@ Local_arguments ()
|
|||
shift 2
|
||||
;;
|
||||
|
||||
--parent-debian-installer-distribution)
|
||||
LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${2}"
|
||||
shift 2
|
||||
;;
|
||||
|
||||
--debian-installer-preseedfile)
|
||||
LB_DEBIAN_INSTALLER_PRESEEDFILE="${2}"
|
||||
shift 2
|
||||
|
@ -1033,6 +1096,46 @@ LB_PARENT_MIRROR_BINARY_BACKPORTS="${LB_PARENT_MIRROR_BINARY_BACKPORTS}"
|
|||
# (Default: ${LB_PARENT_MIRROR_BOOTSTRAP})
|
||||
LB_PARENT_MIRROR_DEBIAN_INSTALLER="${LB_PARENT_MIRROR_DEBIAN_INSTALLER}"
|
||||
|
||||
# \$LB_MIRROR_BOOTSTRAP: set mirror to bootstrap from
|
||||
# (Default: ${LB_MIRROR_BOOTSTRAP})
|
||||
LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP}"
|
||||
|
||||
# \$LB_MIRROR_CHROOT: set mirror to fetch packages from
|
||||
# (Default: ${LB_MIRROR_CHROOT})
|
||||
LB_MIRROR_CHROOT="${LB_MIRROR_CHROOT}"
|
||||
|
||||
# \$LB_MIRROR_CHROOT_SECURITY: set security mirror to fetch packages from
|
||||
# (Default: ${LB_MIRROR_CHROOT_SECURITY})
|
||||
LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY}"
|
||||
|
||||
# \$LB_MIRROR_CHROOT_VOLATILE: set volatile mirror to fetch packages from
|
||||
# (Default: ${LB_MIRROR_CHROOT_VOLATILE})
|
||||
LB_MIRROR_CHROOT_VOLATILE="${LB_MIRROR_CHROOT_VOLATILE}"
|
||||
|
||||
# \$LB_MIRROR_CHROOT_BACKPORTS: set backports mirror to fetch packages from
|
||||
# (Default: ${LB_MIRROR_CHROOT_BACKPORTS})
|
||||
LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS}"
|
||||
|
||||
# \$LB_MIRROR_BINARY: set mirror which ends up in the image
|
||||
# (Default: ${LB_MIRROR_BINARY})
|
||||
LB_MIRROR_BINARY="${LB_MIRROR_BINARY}"
|
||||
|
||||
# \$LB_MIRROR_BINARY_SECURITY: set security mirror which ends up in the image
|
||||
# (Default: ${LB_MIRROR_BINARY_SECURITY})
|
||||
LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY}"
|
||||
|
||||
# \$LB_MIRROR_BINARY_VOLATILE: set volatile mirror which ends up in the image
|
||||
# (Default: ${LB_MIRROR_BINARY_VOLATILE})
|
||||
LB_MIRROR_BINARY_VOLATILE="${LB_MIRROR_BINARY_VOLATILE}"
|
||||
|
||||
# \$LB_MIRROR_BINARY_BACKPORTS: set backports mirror which ends up in the image
|
||||
# (Default: ${LB_MIRROR_BINARY_BACKPORTS})
|
||||
LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS}"
|
||||
|
||||
# \$LB_MIRROR_DEBIAN_INSTALLER: set debian-installer mirror
|
||||
# (Default: ${LB_MIRROR_BOOTSTRAP})
|
||||
LB_MIRROR_DEBIAN_INSTALLER="${LB_MIRROR_DEBIAN_INSTALLER}"
|
||||
|
||||
# \$LB_ARCHIVE_AREAS: select archive areas to use
|
||||
# (Default: ${LB_ARCHIVE_AREAS})
|
||||
LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS}"
|
||||
|
|
Loading…
Reference in New Issue