Manpages

NOM

lb_config - Create config directory

SYNOPSIS

lb config [live-build options]

lb config
[--apt apt|aptitude]
[--apt-ftp-proxy URL]
[--apt-http-proxy URL]
[--apt-indices true|false]
[--apt-options OPTION|"OPTIONS"]
[--apt-pipeline PROFONDEUR]
[--apt-recommends true|false]
[--apt-secure true|false]
[--apt-source-archives true|false]
[--aptitude-options OPTION|"OPTIONS"]
[-a|--architectures ARCHITECTURE]
[--archive-areas DOMAINE_D’ARCHIVE|"DOMAINES_D’ARCHIVE"]
[--backports true|false]
[--binary-filesystem fat16|fat32|ext2|ext3|ext4|ntfs]
[-b|--binary-images iso|iso-hybrid|netboot|tar|hdd]
[--bootappend-install PARAMÈTRES|"PARAMÈTRES"]
[--bootappend-live PARAMÈTRES|"PARAMÈTRES"]
[--bootappend-live-failsafe PARAMETER|"PARAMETERS"]
[--bootloaders grub-legacy|grub-pc|syslinux|grub-efi]
[--bootstrap-qemu-arch ARCH]
[--bootstrap-qemu-exclude PACKAGES]
[--bootstrap-qemu-static PATH]
[--breakpoints]

[--build-with-chroot true|false]

[--cache true|false]
[--cache-indices true|false]
[--cache-packages true|false]
[--cache-stages STAGE|"STAGES"]
[--checksums md5|sha1|sha224|sha256|sha384|sha512|none]
[--chroot-filesystem ext2|ext3|ext4|squashfs|jffs2|none]
[--clean]
[--color]

[--compression bzip2|gzip|lzip|xz|none]

[-c|--conffile FICHIER]
[--config GIT_URL::GIT_BRANCH]
[--debconf-frontend dialog|editor|noninteractive|readline]
[--debconf-priority low|medium|high|critical]
[--debian-installer true|cdrom|netinst|netboot|businesscard|live|false]
[--debian-installer-distribution daily|NOM_DE_CODE]
[--debian-installer-gui true|false]
[--debian-installer-preseedfile FICHIER|URL]
[--debootstrap-options OPTIONS]
[--debootstrap-script SCRIPT]
[--debug]
[-d|--distribution NOM_DE_CODE]
[--distribution-chroot CODENAME]
[--distribution-binary CODENAME]
[--dump]
[--fdisk fdisk|fdisk.dist]
[--firmware-binary true|false]
[--firmware-chroot true|false]
[--force]
[--grub-splash FICHIER]
[--gzip-options OPTION|"OPTIONS"]
[--hdd-label LABEL]
[--hdd-partition-start START]
[--hdd-size SIZE]
[--ignore-system-defaults]
[--image-name NAME]
[--initramfs none|live-boot]
[--initramfs-compression bzip2|gzip|lzma]
[--initsystem sysvinit|systemd|none]
[--interactive shell]
[--iso-application NOM]
[--iso-preparer NOM]
[--iso-publisher NOM]
[--iso-volume NOM]
[--isohybrid-options OPTION|"OPTIONS"]
[--jffs2-eraseblock TAILLE]
[--keyring-packages PAQUET|"PAQUETS"]
[-k|--linux-flavours VARIÉTÉ|"VARIÉTÉS"]
[--linux-packages "PAQUETS"]
[--loadlin true|false]
[--losetup losetup|losetup.orig]
[--memtest memtest86+|memtest86|none]
[--mirror-binary URL]
[--mirror-binary-security URL]
[--mirror-bootstrap URL]
[--mirror-chroot URL]
[--mirror-chroot-security URL]
[--mirror-debian-installer URL]
[--mode debian|progress-linux]
[--net-cow-filesystem nfs|cfs]
[--net-cow-mountoptions OPTIONS]
[--net-cow-path CHEMIN]
[--net-cow-server IP|NOM_D_HÔTE]
[--net-root-filesystem nfs|cfs]
[--net-root-mountoptions OPTIONS]
[--net-root-path CHEMIN]
[--net-root-server IP|NOM_D_HÔTE]
[--net-tarball true|false]
[--onie true|false]
[--onie-kernel-cmdline "OPTION1 OPTION2"]
[--parent-archive-areas ARCHIVE_AREA|"ARCHIVE_AREAS"]
[--parent-debian-installer-distribution NOM_DE_CODE]
[--parent-distribution NOM_DE_CODE]
[--parent-distribution-chroot CODENAME]
[--parent-distribution-binary CODENAME]
[--parent-mirror-binary URL]
[--parent-mirror-binary-security URL]
[-m|--parent-mirror-bootstrap URL]
[--parent-mirror-chroot URL]
[--parent-mirror-chroot-security URL]
[--parent-mirror-debian-installer URL]
[--quiet]
[--security true|false]
[--source true|false]
[-s|--source-images iso|netboot|tar|hdd]
[--swap-file-path PATH]

[--swap-file-size MB]

[--system live|normal]

[--tasksel apt|aptitude|tasksel]
[--uefi-secure-boot auto|enable|disable]
[--updates true|false]
[--verbose]
[--win32-loader true|false]
[--zsync true|false]

DESCRIPTION

lb config est une commande de haut-niveau (porcelaine) de live-build(7), la suite d’outils live systems.

lb config populates the configuration directory for live-build. This directory is named ’config’ and is created in the current directory where lb config was executed.

Note: lb config tries to be smart and sets defaults for some options depending on the setting of other options. This means that when generating a new configuration, you should call lb config only once with all options specified. Calling it several times with only a subset of the options each can result in non working configurations. This is also caused by the fact that lb config called with one option only changes that option, and leaves everything else as is unless it is not defined. However, lb config does warn about know impossible or likely impossible combinations that would lead to non working live systems. If unsure, remove config/{binary,bootstrap,chroot,common,source} and call lb config again.

OPTIONS

En plus de ses options spécifiques lb config fonctionne avec toutes les options génériques de live-build. Voir live-build(7) pour une liste complète de toutes les options génériques de live-build options.
--apt
apt|aptitude

définit si apt-get ou aptitude est utilisé pour installer des paquets lors de la construction de l’image. Par défaut : apt.

--apt-ftp-proxy URL

paramètre le proxy ftp à être utilisé par apt. Par défaut, cette option est vide. Notez que cette variable est uniquement pour le proxy qui est utilisé par apt à l’intérieur du chroot, il n’est utilisé pour rien d’autre.

--apt-http-proxy URL

paramètre le proxy http à être utilisé par apt. Par défaut, cette option est vide. Notez que cette variable est uniquement pour le proxy qui est utilisé par apt à l’intérieur du chroot, il n’est utilisé pour rien d’autre.

--apt-indices true|false

defines if the resulting images should have apt indices or not and defaults to true.

--apt-options OPTION|"OPTIONS"

définit les options par défaut qui seront ajoutées à chaque appel apt qui est fait à l’intérieur du chroot pendant la construction de l’image. Par défaut, ceci est paramétré à --yes pour permettre l’installation non-interactive de paquets.

--apt-pipeline PROFONDEUR

paramètre la profondeur du tube (pipeline) apt/aptitude. Dans les cas où le serveur distant n’est pas conforme aux RFC ou est bogué (comme Squid 2.0.2), cette option peut être une valeur de 0 à 5 indiquant combien de requêtes non-résolue APT devrait envoyer. Une valeur de zéro doit être spécifiée si l’hôte distant s’attarde improprement sur les connexions TCP - autrement, une corruption des données apparaîtra. Les hôtes qui nécessitent ceci sont en violation de la RFC 2068. Par défaut, live-build ne paramètre pas cette option.

--apt-recommends true|false

définit si apt devrait installer automatiquement les paquets recommandés. Par défaut : true.

--apt-secure true|false

définit si apt devrait vérifier les signatures de dépôt. Par défaut : true.

--apt-source-archives true|false

définit si les entrées deb-src doivent être incluses dans l’image live résultante ou non. Par défaut : true.

--aptitude-options OPTION|"OPTIONS"

définit les options par défaut qui seront ajoutées à chaque appel d’aptitude fait à l’intérieur du chroot pendant la construction de l’image. Par défaut, ceci est paramétré à --assume-yes pour permettre l’installation non-interactive de paquets.

-a|--architectures ARCHITECTURE

définit l’architecture de l’image devant être construite. Par défaut, ceci est paramètré sur l’architecture hôte. Notez que vous ne pouvez pas crossbuilder pour une autre architecture si votre système hôte n’est pas capable d’exécuter les binaires pour la distribution cible nativement. Par exemple, construire des images amd64 sur un i386 et vice versa est possible si vous avez un processeur i386 compatible 64bits et le bon noyau. Mais construire des images powerpc sur une système i386 n’est pas possible.

--archive-areas ARCHIVE_AREA|"ARCHIVE_AREAS"

defines which package archive areas of a debian packages archive should be used for configured debian package mirrors. By default, this is set to main. Remember to check the licenses of each packages with respect to their redistributability in your juristiction when enabling contrib or non-free with this mechanism.

--backports true|false

defines if debian backports package archives should be included in the image or not.

--binary-filesystem fat16|fat32|ext2|ext3|ext4|ntfs

defines the filesystem to be used in the image type. This only has an effect if the selected binary image type lets you choose a filesystem. For example, when selection iso the resulting CD/DVD has always the filesystem ISO9660. When building hdd images for usb sticks, this is active. Note that it defaults to fat16 on all architectures except sparc where it defaults to ext4. Also note that if you choose fat16 and your resulting binary image gets bigger than 2GB, the binary filesystem automatically gets switched to fat32.

-b|--binary-images iso|iso-hybrid|netboot|tar|hdd

définit le type d’image à construire. Par défaut, pour les images utilisant syslinux, ceci est paramétré pour iso-hybrid pour construire des images CD/DVD qui peuvent également être utilisée comme images hdd, pour les images non-syslinux, le défaut est iso.

--bootappend-install PARAMÈTRE|"PARAMÈTRES"

paramètre les options de démarrage spécifiques à debian-installer, si inclu.

--bootappend-live PARAMÈTRE|"PARAMÈTRES"

paramètre les options de démarrage spécifiques à debian-live. Une liste complète des paramètres de démarrage peut être trouvée dans les pages de manuel live-boot(7) et live-config(7).

--bootappend-live-failsafe PARAMETER|"PARAMETERS"

sets boot parameters specific to debian-live failsafe boot entries. A complete list of boot parameters can be found in the live-boot(7) and live-config(7) manual pages.

--bootloaders grub-legacy|grub-pc|syslinux|grub-efi

defines which bootloader is being used in the generated image. This has only an effect if the selected binary image type lets you choose the bootloader. For example, if you build a iso, always syslinux (or more precise, isolinux) is being used. Also note that some combinations of binary images types and bootloaders may be possible but live-build does not support them yet. lb config will fail to create such a not yet supported configuration and give a explanation about it. For hdd images on amd64 and i386, the default is syslinux.

--bootstrap-qemu-arch ARCH

sets the architectures to use foreign bootstrap. Defaults to empty.

--bootstrap-qemu-exclude PACKAGES

sets the packages to exclude during foreign bootstrap. Defaults to empty.

--bootstrap-qemu-static PATH

sets the static qemu binary for foreign bootstrap. Defaults to empty.

--breakpoints

inserts pauses during the generation of the image.

--build-with-chroot true|false

définit si live-build devrait utiliser les outils de l’intérieur du chroot pour construire l’image binaire ou non en utilisant et incluant les outils du système hôte. Ceci est une option très dangereuse, l’utilisation des outils du système hôte peut amener à des images teintées et même à des images non-démarrables si les versions des outils nécessaires du système hôte (principalement il s’agit des bootloaders comme syslinux et grub, et des outils auxiliaires tels que dosfstools, xorriso, squashfs-tools et autres) ne correspondent pas exactement à ce qui est présent au moment de la construction dans la distribution cible. Ne jamais désactivée cette option sauf si vous savez exactement ce que vous faites et avez compris complètement les conséquences.

--cache true|false

définit globalement si un cache devrait être utilisé. Les différents caches peuvent être controlés à travers leurs propres options.

--cache-indices true|false

defines if downloaded package indices and lists should be cached which is false by default. Enabling it lets you rebuild an image completely offline, however, you would not get updates anymore then.

--cache-packages true|false

définit si les fichiers de paquets téléchargés pourrait être cachés ce qui est vrai (true) par défaut. Le désactiver économise la consomation d’espace dans votre répertoire de construction mais rappelez-vous que vous créerez beaucoup de traffic non-nécessaire si vous effectuez une paire de reconstructions. En général, vous devriez toujours le laisser à vrai (true), toutefois, dans certains cas particuliers d’environnement de constructions, il peut être plus rapide de re-télécharger les paquets depuis le miroir réseau local plutôt que d’utiliser le disque local.

--cache-stages STAGE|"STAGES"

paramètre quels stages seront mis en cache. Par défaut, le paramètre est sur démarrage (bootstrap). En tant qu’exception au noms de stages normaux, rootfs peut également être utilisé ici ce qui met en cache uniquement le système de fichier racine généré dans filesystem.{dir,ext*,squashfs}. Ceci est utile le dévelopmment si vous désirez reconstruire le stage binaire mais pas régénéré le système de fichier à chaque reprise.

--checksums md5|sha1|sha224|sha256|sha384|sha512|none

defines if the binary image should contain a file called XXXsums.txt, where XXX is one of the mentioned checksum types. This file lists all files on the image together with their checksums. This in turn can be used by live-boot(7)’s built-in integrity-check to verify the medium if specified at boot prompt. In general, this should not be none and is an important feature of live system released to the public. However, during development of very big images it can save some time by not calculating the checksums.

--chroot-filesystem ext2|ext3|ext4|squashfs|jffs2|none

définit quel type de système de fichier devrait être utilisé pour l’image du système de fichier racine. Si vous utilisez none, alors aucune image de système de fichiers n’est créée et le contenu du système de fichier racine est copiée sur le système de fichiers de l’image binaire en tant que fichiers plats. En fonction de quel système de fichiers binaire vous avez choisi, il pourrait ne pas être possible de construire avec un tel système de fichiers racine plein, exemple : fat16/fat32 ne fonctionneront pas puisque linux ne supporte pas directement de fonctionner dessus.

--clean

minimise le répertoire de configuration en supprimant automatiquement les sous-répertoires non-utilisés et donc vides.

--color

turns on color in the messages.

--compression bzip2|gzip|lzip|xz|none

defines the compression program to be used to compress tarballs. Defaults to none.

-c|--conffile FICHIER

uses a user specified alternative configuration file in addition to the normally used one in the config directory.

--config GIT_URL::GIT_BRANCH

bootstraps the config tree from a git repository, optionally appended by a Git Id (branch, commit, tag, etc.).

--debconf-frontend dialog|editor|noninteractive|readline

définit à quelle valeur le frontend debconf devrait être paramétré à l’intérieur du chroot. Notez que le mettre à n’importe lequel sauf noninteractive, qui est le défaut, fait que le processus vous posera des questions pendant la construction.

--debconf-priority low|medium|high|critical

définit à quelle valeur la priorité debconf devra être paramétrée dans le chroot. Par défaut, elle est paramétrée à critical, ce qui signifie que presque aucune question n’est affichée. Notez que ceci a seulement un effet si vous utilisez un des frontend debconf n’étant pas noninteractive.

--debian-installer true|cdrom|netinst|netboot|businesscard|live|false

définit quel type, si vous en demandez un, de debian-installer devrait être inclu dans l’image binaire résultante. Par défaut, aucun installateur n’est inclu. Toutes les flavours sauf live sont les configurations identiques utilisées sur le média installateur produit par un cd-debian régulier. Lorsque live est choisi, l’udeb live-installer est inclu pour que l’installateur-debian ait un comportement différent de d’habitude - au lieu de l’installation du système debian depuis les paquets du média ou du réseau, il installe le système live sur le disque.

--debian-installer-distribution daily|NOM_DE_CODE

définit la distribution d’où les fichiers de l’installateur debian devrait être pris. Normallement, ceci devrait être paramétré pour la même distribution que le système live. Ceci dit, parfois, quelqu’un veut utiliser un installateur plus récent ou même une construction du jour.

--debian-installer-gui true|false

définit si l’interface graphique GTK de l’installateur-debian devrait être vraie ou pas. En mode Debian et pour la plupart des versions d’Ubuntu, cette option est vraie, tandis que sinon fausse, par défaut.

--debian-installer-preseedfile FICHIER|URL

paramètre le nom de fichier ou l’URL pour un fichier de pré-configuration inclu ou utilisé optionnellement pour l’installateur debian. Si le config/binary_debian-installer/preseed.cfg existe, il sera utilisé par défaut.

--debootstrap-options OPTIONS

passes the given options to debootstrap when setting up the base system.

--debootstrap-script SCRIPT

tells debootstrap to use an alternate bootstrap script (last parameter to debootstrap).

--debug

turns on debugging informational messages.

-d|--distribution NOM_DE_CODE

définit la distribution du système live résultant.

--distribution-binary CODENAME

defines the distribution enabled in the resulting live system (defaults to the value set in --distribution)

--distribution-chroot CODENAME

defines the distribution used to build the live system (defaults to the value set in --distribution)

--dump

prepares a report of the currently present live system configuration and the version of live-build used. This is useful to provide if you submit bug reports, we do get all information required for us to locate and replicate an error.

--fdisk fdisk|fdisk.dist

sets the filename of the fdisk binary from the host system that should be used. This is autodetected and does generally not need any customization.

--firmware-binary true|false

includes firmware packages in debian-installer. Defaults to true.

--firmware-chroot true|false

includes firmware packages in debian-installer. Defaults to true.

--force

forces re-execution of already run stages. Use only if you know what you are doing. It is generally safer to use lb clean to clean up before re-executing lb build.

--grub-splash FILE

defines the name of an optional to be included splash screen graphic for the grub bootloader.

--gzip-options OPTION|"OPTIONS"

defines the default options that will be appended to (almost) every gzip call during the building of the image. By default, this is set to --best to use highest (but slowest) compression. Dynamically, if the host system supports it, also --rsyncable is added.

--hdd-label LABEL

defines the label for the hdd target. Defaults to DEBIAN_LIVE.

--hdd-partition-start START

sets the start of the partition for the hdd target for BIOSes that expect a specific boot partition start (e.g. "63s"). If empty, use optimal layout. Defaults to empty.

--hdd-size SIZE

defines the size for the hdd target. The unit is MiB. Defaults to auto, which generates the smallest possible image.

--ignore-system-defaults

lb config by default reads system defaults from /etc/live/build.conf and /etc/live/build/* when generating a new live system config directory. This is useful if you want to set global settings, such as mirror locations, and don’t want to specify them all of the time.

--image-name NAME

sets the base name of the image. Defaults to live-image.

--initramfs none|live-boot

sets the name of the package that contains the live system specific initramfs modification and defaults to live-boot. Using ’none’ is useful if the resulting system image should not be a live image (experimental).

--initramfs-compression bzip2|gzip|lzma]

defines the compression program to be used to compress the initramfs. Defaults to gzip.

--initsystem sysvinit|systemd|none]

defines the init system. Defaults to systemd.

--interactive shell

defines if after the chroot stage and before the beginning of the binary stage, a interactive shell login should be spawned in the chroot in order to allow you to do manual customizations. Once you close the shell with logout or exit, the build will continue as usual. Note that it’s strongly discouraged to use this for anything else than testing. Modifications that should be present in all builds of a live system should be properly made through hooks. Everything else destroys the beauty of being able to completely automatise the build process and making it non interactive. By default, this is of course false.

--iso-application NAME

sets the APPLICATION field in the header of a resulting CD/DVD image and defaults to "Debian Live" in debian mode, and "Ubuntu Live" in ubuntu mode.

--iso-preparer NAME

sets the PREPARER field in the header of a resulting CD/DVD image. By default this is set to "live-build VERSION; https://salsa.debian.org/live-team/live-build";, where VERSION is expanded to the version of live-build that was used to build the image.

--iso-publisher NAME

sets the PUBLISHED field in the header of a resulting CD/DVD image. By default, this is set to ’Live Systems project; https://wiki.debian.org/DebianLive; debian-live [AT] lists.org’. Remember to change this to the appropriate values at latest when you distributing custom and unofficial images.

--iso-volume NAME

sets the VOLUME field in the header of a resulting CD/DVD and defaults to ’(MODE) (DISTRIBUTION) (DATE)’ whereas MODE is expanded to the name of the mode in use, DISTRIBUTION the distribution name, and DATE with the current date and time of the generation.

--isohybrid-options OPTION|"OPTIONS"

defines options to pass to isohybrid.

--jffs2-eraseblock SIZE

sets the eraseblock size for a JFFS2 (Second Journaling Flash File System) filesystem. The default is 64 KiB. If you use an erase block size different than the erase block size of the target MTD device, JFFS2 may not perform optimally. If the SIZE specified is below 4096, the units are assumed to be KiB.

--keyring-packages PACKAGE|"PACKAGES"

sets the keyring package or additional keyring packages. By default this is set to debian-archive-keyring.

-k|--linux-flavours FLAVOUR|"FLAVOURS"

sets the kernel flavours to be installed. Note that in case you specify more than that the first will be configured the default kernel that gets booted. Optionally you can use an architecture qualifier, e.g. amd64:amd64. Given an i386 system you can enable amd64 foreign architecture thanks to the commands: "dpkg --add-architecture amd64 ; apt-get update". This enables you to use "686 amd64:amd64" as a linux flavour. The amd64 kernel will be installed alongside the i386’s 686 kernel.

--linux-packages "PACKAGES"

sets the internal name of the kernel packages naming scheme. If you use debian kernel packages, you will not have to adjust it. If you decide to use custom kernel packages that do not follow the debian naming scheme, remember to set this option to the stub of the packages only (for debian this is linux-image-2.6), so that STUB-FLAVOUR results in a valid package name (for debian e.g. linux-image-686-pae). Preferably you use the meta package name, if any, for the stub, so that your configuration is ABI independent. Also don’t forget that you have to include stubs of the binary modules packages for unionfs or aufs, and squashfs if you built them out-of-tree.

--loadlin true|false

sets loadlin. Defaults to false, except when the debian-installer is included for x86_64 or i386.

--losetup losetup|losetup.orig

sets the filename of the losetup binary from the host system that should be used. This is autodetected and does generally not need any customization.

--memtest memtest86+|memtest86|none

defines if memtest, memtest86+ or no memory tester at all should be included as secondary bootloader configuration. This is only available on amd64 and i386 and defaults to memtest86+.

--mirror-binary URL

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. This defaults to http://deb.debian.org/debian/.

--mirror-binary-security URL

sets the location of the derivatives security package mirror that should end up configured in the final image. This defaults to http://security.debian.org/.

--mirror-bootstrap URL

sets the location of the debian package mirror that should be used to bootstrap the derivative from. This defaults to http://deb.debian.org/debian/.

--mirror-chroot URL

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.

--mirror-chroot-security URL

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/.

--mirror-debian-installer URL

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-chroot.

--mode debian|progress-linux

defines a global mode to load project specific defaults. By default this is set to debian.

--net-cow-filesystem nfs|cfs

defines the filesystem type for the copy-on-write layer and defaults to nfs.

--net-cow-mountoptions OPTIONS

sets additional options for mounting the copy-on-write layer in netboot images and is by default empty.

--net-cow-path PATH

defines the path to client writable filesystem. Anywhere that client_mac_address is specified in the path live-boot will substitute the MAC address of the client delimited with hyphens.

Example:

/export/hosts/client_mac_address
/export/hosts/00-16-D3-33-92-E8

--net-cow-server IP|HOSTNAME

sets the IP or hostname that will be configured in the bootloader configuration for the copy-on-write filesystem of your netboot image and is by default empty.

--net-root-filesystem nfs|cfs

defines the filesystem that will be configured in the bootloader configuration for your netboot image. This defaults to nfs.

--net-root-mountoptions OPTIONS

sets additional options for mounting the root filesystem in netboot images and is by default empty.

--net-root-path PATH

sets the file path that will be configured in the bootloader configuration for your netboot image. This defaults to /srv/debian-live in debian mode, and /srv/ubuntu-live when in ubuntu mode.

--net-root-server IP|HOSTNAME

sets the IP or hostname that will be configured in the bootloader configuration for the root filesystem of your netboot image. This defaults to 192.168.1.1.

--net-tarball true|false

defines if a compressed tarball should be created. Disabling this options leads to no tarball at all, the plain binary directory is considered the output in this case. Default is true.

--onie true|false

defines if an ONIE.bin image is generated. ONIE binaries can be loaded by supported systems, and will in turn boot the live image. Note that iso or hybrid-iso are the only formats supported. For more information visit <http://onie.org/>. Default is false.

--onie-kernel-cmdline "OPTION1 OPTION2"

defines additional kernel command line options that the ONIE system will use when booting the image. Default is empty string.

--parent-archive-areas ARCHIVE_AREA|"ARCHIVE_AREAS"

defines the archive areas for derivatives of the resulting live system.

--parent-debian-installer-distribution CODENAME

définit la distribution de l’installateur-debian parent pour les dérivations du système live résultant.

--parent-distribution CODENAME

définit la distribution parente pour les dérivations du système live résultant.

--parent-distribution-binary CODENAME

defines the derivative’s parent distribution enabled in the resulting live system.

--parent-distribution-chroot CODENAME

defines the derivative’s parent distribution used to build the live system.

--parent-mirror-binary URL

sets the location of the debian 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. This defaults to the value of --mirror-binary.

--parent-mirror-binary-security URL

sets the location of the debian security package mirror that should end up configured in the final image. This defaults to the value of --mirror-binary-security.

-m|--parent-mirror-bootstrap URL

sets the location of the debian package mirror that should be used to bootstrap from. This defaults to the value of --mirror-tstrap.

--parent-mirror-chroot URL

sets the location of the debian package mirror that will be used to fetch the packages in order to build the live system. This defaults to the value of --parent-mirror-bootstrap.

--parent-mirror-chroot-security URL

sets the location of the debian security package mirror that will be used to fetch the packages in order to build the live system. This defaults to the value of --mirror-chroot-security.

--parent-mirror-debian-installer URL

sets the location of the mirror that will be used to fetch the debian installer images. This defaults to the value of --parent-mirror-chroot.

--quiet

reduces the verbosity of messages output by lb build.

--security true|false

defines if the security repositories specified in the security mirror options should be used or not.

--source true|false

defines if a corresponding source image to the binary image should be build. By default this is false because most people do not require this and would require to download quite a few source packages. However, once you start distributing your live image, you should make sure you build it with a source image alongside.

-s|--source-images iso|netboot|tar|hdd

defines the image type for the source image. Default is tar.

--swap-file-path PATH

defines the path to a swap file to create in the binary image. Default is not to create a swap file.

--swap-file-size MB

defines what size in megabytes the swap file should be, if one is to be created. Default is 512MB.

--system live|normal

defines if the resulting system image should a live system or a normal, non-live system.

--tasksel apt|aptitude|tasksel

selects which program is used to install tasks. By default, this is set to tasksel.

--uefi-secure-boot auto|enable|disable

enables or disables Secure Boot support when using grub-efi, by installing signed shim and grub-efi packages. By default, this is set to auto, which means if the packages are available they will be installed, but if not only a warning will be printed and the normal non-signed grub-efi will be used.

--updates true|false

defines if debian updates package archives should be included in the image or not.

--verbose

increases the verbosity of messages output by lb build.

--win32-loader true|false

defines if win32-loader should be included in the binary image or not.

--zsync true|false

defines whether a file for distributing the image in zsync(1) format will be generated. Defaults to true.

ENVIRONMENT

Currently, command line switches can also be specified through the corresponding environment variable. However, this generally should not be relied upon, as it is an implementation detail that is subject to change in future releases. For options applying directly to live-build, environment variables are named LB_FOO, meaning, e.g. --apt-ftp-proxy becomes LB_APT_FTP_PROXY (the exception being internal options such as --debug). For options passed to another program, as in APT_OPTIONS or GZIP_OPTIONS, no LB_ prefix is used.

FICHIERS

auto/config
/etc/live/build.conf, /etc/live/build/*

An optional, global configuration file for lb config variables. It is useful to specify a few system wide defaults, like LB_PARENT_MIRROR_BOOTSTRAP. This feature can be false by specifying the --ignore-system-defaults option.

VOIR AUSSI

live-build(7)

live-boot(7)

live-config(7)

Ce programme est une partie de live-build.

PAGE D’ACCUEIL

More information about live-build and the Live Systems project can be found on the homepage at <https://wiki.debian.org/DebianLive>.

BOGUES

Les bogues peuvent être signalés en soumettant un rapport de bogue pour le paquet live-build dans le BTS à <http://bugs.debian.org/> ou par l’écriture d’un courriel à la liste de diffusion Live Systems à <debian-live [AT] lists.org>.

AUTEUR

live-images a été écrit par Daniel Baumann <mail [AT] daniel-baumann.ch>.