2017-06-04 00:19:01 +02:00
|
|
|
# options for live-build(7)
|
|
|
|
|
|
|
|
## config/source, source stage
|
|
|
|
```
|
|
|
|
# $LB_SOURCE: set source option
|
|
|
|
# (Default: false)
|
|
|
|
LB_SOURCE="false"
|
|
|
|
|
|
|
|
# $LB_SOURCE_IMAGES: set image type
|
|
|
|
# (Default: tar)
|
|
|
|
LB_SOURCE_IMAGES="tar"
|
|
|
|
```
|
|
|
|
|
|
|
|
## config/common
|
|
|
|
```
|
|
|
|
# $LB_APT: set package manager
|
|
|
|
# (Default: apt)
|
|
|
|
LB_APT="apt"
|
|
|
|
|
|
|
|
# $LB_APT_FTP_PROXY: set apt/aptitude ftp proxy
|
|
|
|
# (Default: autodetected or empty)
|
|
|
|
LB_APT_FTP_PROXY=""
|
|
|
|
|
|
|
|
# $LB_APT_HTTP_PROXY: set apt/aptitude http proxy
|
|
|
|
# (Default: autodetected or empty)
|
|
|
|
LB_APT_HTTP_PROXY=""
|
|
|
|
|
|
|
|
# $LB_APT_PIPELINE: set apt/aptitude pipeline depth
|
|
|
|
# (Default: )
|
|
|
|
LB_APT_PIPELINE=""
|
|
|
|
|
|
|
|
# $LB_APT_RECOMMENDS: set apt/aptitude recommends
|
|
|
|
# (Default: true)
|
|
|
|
LB_APT_RECOMMENDS="true"
|
|
|
|
|
|
|
|
# $LB_APT_SECURE: set apt/aptitude security
|
|
|
|
# (Default: true)
|
|
|
|
LB_APT_SECURE="true"
|
|
|
|
|
|
|
|
# $LB_APT_SOURCE_ARCHIVES: set apt/aptitude source entries in sources.list
|
|
|
|
# (Default: false)
|
|
|
|
LB_APT_SOURCE_ARCHIVES="false"
|
|
|
|
|
|
|
|
# $LB_CACHE: control cache
|
|
|
|
# (Default: true)
|
|
|
|
LB_CACHE="true"
|
|
|
|
|
|
|
|
# $LB_CACHE_INDICES: control if downloaded package indices should be cached
|
|
|
|
# (Default: false)
|
|
|
|
LB_CACHE_INDICES="false"
|
|
|
|
|
|
|
|
# $LB_CACHE_PACKAGES: control if downloaded packages files should be cached
|
|
|
|
# (Default: true)
|
|
|
|
LB_CACHE_PACKAGES="true"
|
|
|
|
|
|
|
|
# $LB_CACHE_STAGES: control if completed stages should be cached
|
|
|
|
# (Default: bootstrap)
|
|
|
|
LB_CACHE_STAGES="bootstrap"
|
|
|
|
|
|
|
|
# $LB_DEBCONF_FRONTEND: set debconf(1) frontend to use
|
|
|
|
# (Default: noninteractive)
|
|
|
|
LB_DEBCONF_FRONTEND="noninteractive"
|
|
|
|
|
|
|
|
# $LB_DEBCONF_PRIORITY: set debconf(1) priority to use
|
|
|
|
# (Default: critical)
|
|
|
|
LB_DEBCONF_PRIORITY="critical"
|
|
|
|
|
|
|
|
# $LB_INITRAMFS: set initramfs hook
|
|
|
|
# (Default: live-boot)
|
|
|
|
LB_INITRAMFS="live-boot"
|
|
|
|
|
|
|
|
# $LB_INITRAMFS_COMPRESSION: set initramfs compression
|
|
|
|
# (Default: gzip)
|
|
|
|
LB_INITRAMFS_COMPRESSION="gzip"
|
|
|
|
|
|
|
|
# $LB_INITSYSTEM: set init system
|
|
|
|
# (Default: systemd)
|
|
|
|
LB_INITSYSTEM="systemd"
|
|
|
|
|
|
|
|
# $LB_FDISK: set fdisk program
|
|
|
|
# (Default: autodetected)
|
|
|
|
LB_FDISK="fdisk"
|
|
|
|
|
|
|
|
# $LB_LOSETUP: set losetup program
|
|
|
|
# (Default: autodetected)
|
|
|
|
LB_LOSETUP="losetup"
|
|
|
|
|
|
|
|
# $LB_MODE: set distribution mode
|
|
|
|
# (Default: debian)
|
|
|
|
LB_MODE="debian"
|
|
|
|
|
|
|
|
# $LB_SYSTEM: set system type
|
|
|
|
# (Default: live)
|
|
|
|
LB_SYSTEM="live"
|
|
|
|
|
|
|
|
# $LB_TASKSEL: set tasksel program
|
|
|
|
# (Default: apt)
|
|
|
|
LB_TASKSEL="apt"
|
|
|
|
|
|
|
|
# live-build options
|
|
|
|
|
|
|
|
# $_BREAKPOINTS: enable breakpoints
|
|
|
|
# (Default: false)
|
|
|
|
#_BREAKPOINTS="false"
|
|
|
|
|
|
|
|
# $_DEBUG: enable debug
|
|
|
|
# (Default: true)
|
|
|
|
#_DEBUG="true"
|
|
|
|
|
|
|
|
# $_COLOR: enable color
|
|
|
|
# (Default: false)
|
|
|
|
#_COLOR="false"
|
|
|
|
|
|
|
|
# $_FORCE: enable force
|
|
|
|
# (Default: false)
|
|
|
|
#_FORCE="false"
|
|
|
|
|
|
|
|
# $_QUIET: enable quiet
|
|
|
|
# (Default: false)
|
|
|
|
_QUIET="false"
|
|
|
|
|
|
|
|
# $_VERBOSE: enable verbose
|
|
|
|
# (Default: true)
|
|
|
|
#_VERBOSE="true"
|
|
|
|
|
|
|
|
# Internal stuff (FIXME)
|
|
|
|
APT_OPTIONS="--yes"
|
|
|
|
APTITUDE_OPTIONS="--assume-yes"
|
|
|
|
DEBOOTSTRAP_OPTIONS=""
|
|
|
|
DEBOOTSTRAP_SCRIPT=""
|
|
|
|
GZIP_OPTIONS="-6 --rsyncable"
|
|
|
|
ISOHYBRID_OPTIONS=""
|
|
|
|
```
|
|
|
|
|
|
|
|
## config/chroot, chroot stage
|
|
|
|
```
|
|
|
|
# $LB_CHROOT_FILESYSTEM: set chroot filesystem
|
|
|
|
# (Default: squashfs)
|
|
|
|
LB_CHROOT_FILESYSTEM="squashfs"
|
|
|
|
|
|
|
|
# $LB_UNION_FILESYSTEM: set union filesystem
|
|
|
|
# (Default: overlay)
|
|
|
|
LB_UNION_FILESYSTEM="overlay"
|
|
|
|
|
|
|
|
# $LB_INTERACTIVE: set interactive build
|
|
|
|
# (Default: false)
|
|
|
|
LB_INTERACTIVE="false"
|
|
|
|
|
|
|
|
# $LB_KEYRING_PACKAGES: set keyring packages
|
|
|
|
# (Default: empty)
|
|
|
|
LB_KEYRING_PACKAGES="debian-archive-keyring"
|
|
|
|
|
|
|
|
# $LB_LINUX_FLAVOURS: set kernel flavour to use
|
|
|
|
# (Default: autodetected)
|
|
|
|
LB_LINUX_FLAVOURS="686-pae"
|
|
|
|
|
|
|
|
# $LB_LINUX_PACKAGES: set kernel packages to use
|
|
|
|
# (Default: autodetected)
|
|
|
|
LB_LINUX_PACKAGES="linux-image"
|
|
|
|
|
|
|
|
# $LB_SECURITY: enable security updates
|
|
|
|
# (Default: true)
|
|
|
|
LB_SECURITY="true"
|
|
|
|
|
|
|
|
# $LB_UPDATES: enable updates updates
|
|
|
|
# (Default: true)
|
|
|
|
LB_UPDATES="true"
|
|
|
|
|
|
|
|
# $LB_BACKPORTS: enable backports updates
|
|
|
|
# (Default: false)
|
|
|
|
LB_BACKPORTS="false"
|
|
|
|
```
|
|
|
|
|
|
|
|
## config/bootstrap, bootstrap stage
|
|
|
|
```
|
|
|
|
# $LB_DISTRIBUTION: select distribution to use
|
|
|
|
# (Default: stretch)
|
|
|
|
LB_DISTRIBUTION="stretch"
|
|
|
|
|
|
|
|
# $LB_PARENT_DISTRIBUTION: select parent distribution to use
|
|
|
|
# (Default: stretch)
|
|
|
|
LB_PARENT_DISTRIBUTION="stretch"
|
|
|
|
|
|
|
|
# $LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION: select parent distribution for debian-installer to use
|
|
|
|
# (Default: stretch)
|
|
|
|
LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="stretch"
|
|
|
|
|
|
|
|
# $LB_PARENT_MIRROR_BOOTSTRAP: set parent mirror to bootstrap from
|
|
|
|
# (Default: http://ftp.debian.org/debian/)
|
|
|
|
LB_PARENT_MIRROR_BOOTSTRAP="http://ftp.debian.org/debian/"
|
|
|
|
|
|
|
|
# $LB_PARENT_MIRROR_CHROOT: set parent mirror to fetch packages from
|
|
|
|
# (Default: http://ftp.debian.org/debian/)
|
|
|
|
LB_PARENT_MIRROR_CHROOT="http://ftp.debian.org/debian/"
|
|
|
|
|
|
|
|
# $LB_PARENT_MIRROR_CHROOT_SECURITY: set security parent mirror to fetch packages from
|
|
|
|
# (Default: http://security.debian.org/)
|
|
|
|
LB_PARENT_MIRROR_CHROOT_SECURITY="http://security.debian.org/"
|
|
|
|
|
|
|
|
# $LB_PARENT_MIRROR_BINARY: set parent mirror which ends up in the image
|
|
|
|
# (Default: http://httpredir.debian.org/debian/)
|
|
|
|
LB_PARENT_MIRROR_BINARY="http://httpredir.debian.org/debian/"
|
|
|
|
|
|
|
|
# $LB_PARENT_MIRROR_BINARY_SECURITY: set security parent mirror which ends up in the image
|
|
|
|
# (Default: http://security.debian.org/)
|
|
|
|
LB_PARENT_MIRROR_BINARY_SECURITY="http://security.debian.org/"
|
|
|
|
|
|
|
|
# $LB_PARENT_MIRROR_DEBIAN_INSTALLER: set debian-installer parent mirror
|
|
|
|
# (Default: http://ftp.debian.org/debian/)
|
|
|
|
LB_PARENT_MIRROR_DEBIAN_INSTALLER="http://ftp.debian.org/debian/"
|
|
|
|
|
|
|
|
# $LB_MIRROR_BOOTSTRAP: set mirror to bootstrap from
|
|
|
|
# (Default: http://ftp.debian.org/debian/)
|
|
|
|
LB_MIRROR_BOOTSTRAP="http://ftp.debian.org/debian/"
|
|
|
|
|
|
|
|
# $LB_MIRROR_CHROOT: set mirror to fetch packages from
|
|
|
|
# (Default: http://ftp.debian.org/debian/)
|
|
|
|
LB_MIRROR_CHROOT="http://ftp.debian.org/debian/"
|
|
|
|
|
|
|
|
# $LB_MIRROR_CHROOT_SECURITY: set security mirror to fetch packages from
|
|
|
|
# (Default: http://security.debian.org/)
|
|
|
|
LB_MIRROR_CHROOT_SECURITY="http://security.debian.org/"
|
|
|
|
|
|
|
|
# $LB_MIRROR_BINARY: set mirror which ends up in the image
|
|
|
|
# (Default: http://httpredir.debian.org/debian/)
|
|
|
|
LB_MIRROR_BINARY="http://httpredir.debian.org/debian/"
|
|
|
|
|
|
|
|
# $LB_MIRROR_BINARY_SECURITY: set security mirror which ends up in the image
|
|
|
|
# (Default: http://security.debian.org/)
|
|
|
|
LB_MIRROR_BINARY_SECURITY="http://security.debian.org/"
|
|
|
|
|
|
|
|
# $LB_MIRROR_DEBIAN_INSTALLER: set debian-installer mirror
|
|
|
|
# (Default: http://ftp.debian.org/debian/)
|
|
|
|
LB_MIRROR_DEBIAN_INSTALLER="http://ftp.debian.org/debian/"
|
|
|
|
|
|
|
|
# $LB_BOOTSTRAP_QEMU_ARCHITECTURES: architectures to use foreign bootstrap
|
|
|
|
# (Default: )
|
|
|
|
LB_BOOTSTRAP_QEMU_ARCHITECTURES=""
|
|
|
|
|
|
|
|
# $LB_BOOTSTRAP_QEMU_EXCLUDE: packages to exclude during foreign bootstrap
|
|
|
|
# (Default: )
|
|
|
|
LB_BOOTSTRAP_QEMU_EXCLUDE=""
|
|
|
|
|
|
|
|
# $LB_BOOTSTRAP_QEMU_STATIC: static qemu binary for foreign bootstrap
|
|
|
|
# (Default: )
|
|
|
|
LB_BOOTSTRAP_QEMU_STATIC=""
|
|
|
|
```
|