Man page - lb_config(1)

Packages contains this manual

Available languages:

en fr ja

Manual

LIVE-BUILD

名 前
概 要
説 明
オ プ シ ョ ン
環 境 変 数
フ ァ イ ル
関 連 項 目
ホ ー ム ペ ー ジ
バ グ
作 者

名 前

lb_config - Create config directory

概 要

lb config { -h | --help | -u | --usage | -v | --version }

lb config
[ --apt apt|apt-get|aptitude]
[ --apt-http-proxy URL ]
[ --apt-indices true|false]
[ --apt-options オ プ シ ョ ン |" オ プ シ ョ ン "]
[ --apt-pipeline 深 度 ]
[ --apt-recommends true|false]
[ --apt-secure true|false]
[ --apt-source-archives true|false]
[ --aptitude-options オ プ シ ョ ン |" オ プ シ ョ ン "]
[ -a | --architecture ARCHITECTURE ]
[ --archive-areas ARCHIVE_AREA |" ARCHIVE_AREAS "]
[ --backports true|false]
[ --binary-filesystem fat16|fat32|ext2|ext3|ext4|ntfs]
[ -b | --binary-image iso|iso-hybrid|netboot|tar|hdd]
[ --bootappend-install PARAMETER |" PARAMETERS "]
[ --bootappend-live PARAMETER |" PARAMETERS "]
[ --bootappend-live-failsafe PARAMETER |" PARAMETERS "]
[ --bootloaders grub-legacy|grub-pc|syslinux|grub-efi|" BOOTLOADERS "]
[ --bootstrap-qemu-arch ARCH ]
[ --bootstrap-qemu-exclude PACKAGE |" PACKAGES "]
[ --bootstrap-qemu-static PATH ]
[ --breakpoints ]
[ --build-with-chroot true|false]
[ --cache true|false]
[ --cache-indices true|false]
[ --cache-packages true|false]
[ --cache-stages bootstrap|chroot|rootfs|" STAGES "]
[ --checksums md5|sha1|sha224|sha256|sha384|sha512|none]
[ --chroot-filesystem ext2|ext3|ext4|squashfs|jffs2|none|plain]
[ --chroot-squashfs-compression-level LEVEL]
[ --chroot-squashfs-compression-type gzip|lzma|lzo|lz4|xz|zstd]
[ --clean ]
[ --color ]
[ --compression bzip2|gzip|lzip|xz|none]
[ -c | --conffile FILE ]
[ --config GIT_URL :: GIT_BRANCH ]
[ --debconf-frontend dialog|editor|noninteractive|readline]
[ --debconf-priority low|medium|high|critical]
[ --debian-installer cdrom|netinst|netboot|businesscard|live|none]
[ --debian-installer-distribution daily|git| CODENAME ]
[ --debian-installer-gui true|false]
[ --debian-installer-preseedfile フ ァ イ ル | URL ]
[ --debootstrap-options OPTION |" OPTIONS "]
[ --debootstrap-script SCRIPT ]
[ --debug ]
[ -d | --distribution CODENAME ]
[ --distribution-chroot CODENAME ]
[ --distribution-binary CODENAME ]
[ --dm-verity ]
[ --dm-verity-fec NB_ROOTS ]
[ --dm-verity-sign SIGN_SCRIPT ]
[ --dump ]
[ --firmware-binary true|false]
[ --firmware-chroot true|false]
[ --force ]
[ --gzip-options オ プ シ ョ ン |" オ プ シ ョ ン "]
[ --hdd-label LABEL ]
[ --hdd-partition-start START ]
[ --hdd-size SIZE ]
[ --ignore-system-defaults ]
[ --image-name NAME ]
[ --initramfs none|live-boot|dracut-live]
[ --initramfs-compression bzip2|gzip|lzma]
[ --initsystem sysvinit|systemd|none]
[ --interactive true|shell|x11|xnest|false]
[ --iso-application 名 前 ]
[ --iso-preparer NAME ]
[ --iso-publisher 名 前 ]
[ --iso-volume 名 前 ]
[ --jffs2-eraseblock サ イ ズ ]
[ --keyring-packages PACKAGE |" PACKAGES "]
[ -k | --linux-flavours FLAVOUR |" FLAVOURS "]
[ --linux-packages PACKAGE |" PACKAGES "]
[ --loadlin true|false]
[ --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]
[ --net-tarball true|false]
[ --no-color ]
[ --onie true|false]
[ --onie-kernel-cmdline OPTION |" OPTIONS "]
[ --parent-archive-areas ARCHIVE_AREA |" ARCHIVE_AREAS "]
[ --parent-debian-installer-distribution daily|git| CODENAME ]
[ --parent-distribution コ ー ド 名 ]
[ --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|" IMAGES "]
[ --swap-file-path PATH ]
[ --swap-file-size MB ]
[ --system live|normal]
[ --uefi-secure-boot auto|enable|disable]
[ --updates true|false]
[ --utc-time true|false]
[ --validate ]
[ --verbose ]
[ --win32-loader true|false]
[ --zsync true|false]

説 明

lb config is a high-level command (porcelain) of live-build (7), the Debian Live tool suite.

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 upon the settings of others. However, this only typically happens when no existing saved config exists, because values are only automatically set when not already defined (and running lb config involves loading any existing config). This means that when generating a new configuration, you should typically first ensure that any existing saved config files are removed (by deletion of config/{binary,bootstrap,chroot,common,source} ), before then calling lb config just once with all necessary options specified. Calling it when an existing saved config exists risks ending up with a non-working configuration, depending on the options changed, since in doing so other options may end up with different values than they otherwise might have had had automatic setting of them not been blocked by an existing saved value. In some cases invalid combinations will be noticed and reported as an error or warning, but this is not always the case and should not be relied upon.

オ プ シ ョ ン

lb config は 固 有 の オ プ シ ョ ン に 加 え 、 live-build 全 般 の オ プ シ ョ ン を 全 て 理 解 し ま す 。 live-build 全 般 の オ プ シ ョ ン の 全 容 に つ い て は live-build (7) を 見 て く だ さ い 。
--apt
apt|apt-get|aptitude

イ メ ー ジ の ビ ル ド 時 に パ ッ ケ ー ジ を イ ン ス ト ー ル す る の に apt-get と aptitude の ど ち ら を 利 用 す る か 決 定 し ま す 。 デ フ ォ ル ト は apt で す 。

--apt-http-proxy URL

sets the proxy for HTTP connections. By default, this is empty. It is recommended to use the environment variable http_proxy instead.

--apt-indices true|false

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

--apt-options オ プ シ ョ ン |" オ プ シ ョ ン "

defines the default options that will be appended to every apt call that is made inside chroot during the building of the image. By default, this is set to ’--yes’ to allow non-interactive installation of packages.

--apt-pipeline 深 度

sets the depth of the apt/aptitude pipeline. In cases where the remote server is not RFC conforming or buggy (such as Squid 2.0.2) this option can be a value from 0 to 5 indicating how many outstanding requests apt should send. A value of zero MUST be specified if the remote host does not properly linger on TCP connections - otherwise data corruption will occur. Hosts which require this are in violation of RFC 2068. By default, live-build does not set this option.

--apt-recommends true|false

aptが 推 奨 パ ッ ケ ー ジ を 自 動 的 に イ ン ス ト ー ル す べ き か 否 か を 決 定 し ま す 。 デ フ ォ ル ト は true で す 。

--apt-secure true|false

aptが リ ポ ジ ト リ の 署 名 を 確 認 す べ き か 否 か を 決 定 し ま す 。 デ フ ォ ル ト は true で す 。

--apt-source-archives true|false

defines if deb-src entries should be included in the resulting live image’s apt sources.list or not, defaults to true.

--aptitude-options オ プ シ ョ ン |" オ プ シ ョ ン "

defines the default options that will be appended to every aptitude call that is made inside chroot during building of the image. By default, this is set to ’--assume-yes’ to allow non-interactive installation of packages.

-a | --architecture ARCHITECTURE

defines the architecture of the to be built image. By default, this is set to the host architecture. Note that you cannot crossbuild for another architecture if your host system is not able to execute binaries for the target architecture natively. For example, building amd64 images on i386 and vice versa is possible if you have a 64bit capable i386 processor and the right kernel. But building powerpc images on an i386 system is not possible.

--archive-areas ア ー カ イ ブ 領 域 |" ア ー カ イ ブ 領 域 "

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

--backports true|false

イ メ ー ジ に backports パ ッ ケ ー ジ ア ー カ イ ブ を 収 録 す べ き か 否 か を 決 定 し ま す 。

--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, for the ISO image type the resulting CD/DVD always has the filesystem ISO9660. When building HDD images for USB sticks, multiple filesystem formats are supported, thus this becomes applicable to allow selection. Note that it defaults to ’fat32’ on all architectures. 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-image iso|iso-hybrid|netboot|tar|hdd

defines the image type to build. By default, for images using syslinux, this is set to ’iso-hybrid’ to build CD/DVD images that may also be used like HDD images, for non-syslinux images, it defaults to ’iso’.

--bootappend-install パ ラ メ ー タ |" パ ラ メ ー タ "

debian-installer を 収 録 し た 場 合 、 debian-installer 特 有 の ブ ー ト パ ラ メ ー タ を セ ッ ト し ま す 。

--bootappend-live パ ラ メ ー タ |" パ ラ メ ー タ "

debian-live 特 有 の ブ ー ト パ ラ メ ー タ を セ ッ ト し ま す 。 ブ ー ト パ ラ メ ー タ の 全 容 は live-boot (7) 及 び 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|" BOOTLOADERS "

defines which bootloaders to use in the generated image. This only has an effect if the selected binary image type lets you choose the bootloader. For example, if you build an ISO then syslinux (or more precise, isolinux) is always used. Also note that not all combinations of binary image types and bootloaders are supported ( lb config will fail to create such an unsupported configuration and will give a explanation about it). For HDD images on amd64 and i386, the default is ’syslinux’. This option supports more than one bootloader to be specified (space or comma separated) in order to allow for both BIOS and EFI bootloaders to be included, though note that only one of each type can be used (i.e. do not try to use two BIOS bootloaders).

--bootstrap-qemu-arch ARCH

sets the architecture to use for foreign bootstrap. Defaults to empty.

--bootstrap-qemu-exclude PACKAGE |" 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, where breakpoints have been placed, if any (development oriented).

--build-with-chroot true|false

defines whether live-build should use the tools from within the chroot to build the binary image or not by using and including the host system’s tools. This is a very dangerous option, using the tools of the host system can lead to tainted and even non-bootable images if the host systems version of the required tools (mainly these are the bootloaders such as syslinux and grub, and the auxiliary tools such as dosfstools, xorriso, squashfs-tools and others) do not exactly match what is present at build-time in the target distribution. Never disable this option unless you are exactly sure what you are doing and have completely understood its consequences.

--cache true|false

defines globally if any cache should be used at all. Different caches can be controlled through their own options.

--cache-indices true|false

defines if downloaded package indices and lists should be cached. This 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

defines if downloaded packages files should be cached. This is true by default. Disabling it does save space consumption in your build directory, but remember that you will cause much unnecessary traffic if you do a couple of rebuilds. In general you should always leave it true, however, in some particular rare build setups, it can be faster to refetch packages from the network mirror, if using a local one, rather than to utilize the local disk.

--cache-stages bootstrap|chroot|rootfs|" STAGES "

sets which stages should be cached (a comma or space separated list). By default this is set to ’bootstrap’. As an exception to the normal stage names, ’rootfs’ can also be used here which means only cache the generated root filesystem in filesystem.{dir,ext*,squashfs}. This is useful during development if you want to rebuild the binary stage but not regenerate the root filesystem all the time.

--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|plain

defines which filesystem type should be used for the root filesystem image. If you use ’none’ or ’plain’, then no filesystem image is created and the root filesystem content is copied on the binary image filesystem as flat files. Depending on what binary filesystem you have chosen, it may not be possible to build with such a plain root filesystem, e.g. fat16/fat32 will not work as linux does not support running directly on them.

--chroot-squashfs-compression-level LEVEL

defines the compression level that is used for the root filesystem image if squashfs is used. Each compression algorithm supports different levels (or none). You can look them up in the mksquashfs help. Defaults to the default setting in mksquashfs .

--chroot-squashfs-compression-type gzip|lzma|lzo|lz4|xz|zstd

defines the compression algorithm that is used for the root filesystem image if squashfs is used. Defaults to xz.

--clean

未 使 用 の た め 内 容 が 空 の サ ブ デ ィ レ ク ト リ を 自 動 的 に 削 除 し 、 設 定 デ ィ レ ク ト リ を 最 小 に し ま す 。

--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 FILE

defines a user specified alternative configuration file to use 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

defines what value the debconf frontend should be set to inside the chroot. Note that setting it to anything but ’noninteractive’, which is the default, makes your build asking questions during the build.

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

chroot 内 で の debconf の 優 先 度 の 値 を 決 定 し ま す 。 デ フ ォ ル ト で は critical で 、 ほ と ん ど の 質 問 は 表 示 さ れ な く な っ て い ま す 。 こ れ は debconf フ ロ ン ト エ ン ド に noninteractive 以 外 を 指 定 し て い る 場 合 に の み 有 効 で あ る こ と に 注 意 し て く だ さ い

--debian-installer cdrom|netinst|netboot|businesscard|live|none

出 来 上 が っ た バ イ ナ リ イ メ ー ジ に debian-installer を 収 録 す る 場 合 に そ の 種 類 を 指 定 し ま す 。 デ フ ォ ル ト で は イ ン ス ト ー ラ は 収 録 さ れ ま せ ん 。 live 以 外 は ど れ で も 、 通 常 の debian-cd と し て 作 成 さ れ て い る イ ン ス ト ー ル 用 メ デ ィ ア と 同 等 の 設 定 を 使 い ま す 。 live を 選 択 し た 場 合 は live-installer の udeb が 収 録 さ れ る た め 、 debian-installer が 普 通 と は 異 な る 挙 動 を 取 り ま す - メ デ ィ ア や ネ ッ ト ワ ー ク の パ ッ ケ ー ジ を 使 っ て Debian シ ス テ ム を イ ン ス ト ー ル す る の で は な く 、 デ ィ ス ク に Live シ ス テ ム を イ ン ス ト ー ル し ま す 。

--debian-installer-distribution daily|git| CODENAME

defines the distribution where the debian-installer files should be taken out from. Normally, this should be set to the same distribution as the live system. However, sometimes, one wants to use a newer or even either the daily built installer or the installer rebuilt from its git repository.

--debian-installer-gui true|false

defines whether the graphical version of the debian-installer should be provided alongside the text based one. This defaults to true.

--debian-installer-preseedfile フ ァ イ ル | URL

オ プ シ ョ ン で 利 用 、 収 録 す る debian-installer 用 の preseed フ ァ イ ル の フ ァ イ ル 名 ま た は URLを セ ッ ト し ま す 。 config/binary_debian-installer/preseed.cfg が 存 在 す る 場 合 は そ れ が デ フ ォ ル ト で 利 用 さ れ ま す 。

--debootstrap-options OPTION |" 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 CODENAME

defines the distribution of the resulting live system. This defaults to ’testing’. The value ’sid’ can be used for Debian unstable.

--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 )

--dm-verity

Enables dm-verity support for root file system. Only squashfs, ext2, ext3 and ext4 are supported. For more information see live-boot (7).

--dm-verity-fec NB_ROOTS

Enables forward error correction for dm-verity. NB_ROOTS is the number of error correction roots thas should be used. The value can be between 2 and 24. Android uses 2 by default.

--dm-verity-sign SIGN_SCRIPT

Sign root hash of dm-verity device. Script takes two arguments: the root hash and a file to output the signature to.

--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, helping to provide basic useful information required for us to locate and replicate an error.

--firmware-binary true|false

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

--firmware-chroot true|false

includes firmware packages in the live image. Defaults to true. Beware that some firmware packages are non-free and will only be included if the non-free archive area is included in --archive-areas (and --parent-archive-areas ). This is particularly relevant if you want working wifi for instance.

--force

既 に 実 行 し た 段 階 を 強 制 的 に 再 び 実 行 し ま す 。 何 を し て い る の か わ か っ て い る 場 合 に の み 実 行 し て く だ さ い 。 通 常 、 lb build を 再 び 実 行 す る 前 に lb clean を 実 行 し て 掃 除 す る と 安 全 性 は 上 が り ま す 。

--gzip-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. This option allows you to ignore such global settings.

--image-name NAME

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

--initramfs none|live-boot|dracut-live

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). Note that dracut requires the CD label in the kernel command line, so you might want to set --iso-volume explicitly.

--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 true|shell|x11|xnest|false

defines if after the chroot stage and before the beginning of the binary stage, an interactive shell login should be spawned in the chroot in order to allow you to do manual customizations, or as an alternative to ’true’ and ’false’ a specific shell to use (note that ’true’ corresponds to a value of ’shell’). 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 automate the build process and making it non-interactive. By default, this is of course ’false’.

--iso-application 名 前

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

--iso-preparer 名 前

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 名 前

sets the PUBLISHED field in the header of a resulting CD/DVD image. By default, this is set to ’Debian Live project; https://wiki.debian.org/DebianLive; debian-live@lists.debian.org’. Remember to change this to the appropriate value when distributing custom and unofficial images.

--iso-volume 名 前

sets the VOLUME field in the header of a resulting CD/DVD and defaults to ’Debian ( DISTRIBUTION ) ( DATE )’ where DISTRIBUTION is replaced with the distribution name, and DATE with the current date and time of the generation.

--jffs2-eraseblock サ イ ズ

JFFS2 (Second Journaling Flash File System) フ ァ イ ル シ ス テ ム の eraseblock の サ イ ズ を 指 定 し ま す 。 デ フ ォ ル ト は 64 KiB と な っ て い ま す 。 対 象 の MTD デ バ イ ス と 一 致 し な い 値 を こ れ に 指 定 し た 場 合 は JFFS2 が 最 適 に 機 能 し な く な る か も し れ ま せ ん 。 サ イ ズ に 4096 未 満 の 値 が 指 定 さ れ た 場 合 は KiB 単 位 の 値 が 指 定 さ れ た も の と 仮 定 し ま す 。

--keyring-packages PACKAGE |" PACKAGES "

sets the keyring package or additional keyring packages (a space separated list). By default this is set to ’debian-archive-keyring’.

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

sets the kernel flavours to be installed (a space separated list). Note that in case you specify more than one the first will be configured as 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 PACKAGE |" PACKAGES "

defines a space separated list of partial kernel package names. For each name given and for each flavour in LB_LINUX_FLAVOURS_WITH_ARCH ( --linux-flavours ), ’-FLAVOUR’ will be appended to the name to get the names of kernel packages to be included. By default this is ’linux-image’. So for instance if this is set to "linux-image linux-headers" and LB_LINUX_FLAVOURS_WITH_ARCH is "i386 amd64:amd64" then you will get the four packages "linux-image-i386", "linux-image-amd64:amd64", "linux-headers-i386" and "linux-headers-amd64:amd64". You can specify "none" to disable the kernel installation step.

--loadlin true|false

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

--memtest memtest86+|memtest86|none

defines if memtest, memtest86+ or no memory tester at all should be included (available as a bootloader menu entry). 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

プ ロ ジ ェ ク ト 特 有 の デ フ ォ ル ト 値 を 読 み 込 む よ う に す る 大 域 モ ー ド を 指 定 し ま す 。 デ フ ォ ル ト で は debian と な っ て い ま す 。

--net-tarball true|false

defines if a compressed tarball should be created. If disabled, the plain binary directory is considered the output. Default is true.

--no-color

turns off color in the messages.

--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 OPTION |" OPTIONS "

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 (a comma or space separated list).

--parent-debian-installer-distribution daily|git| CODENAME

出 来 上 が る Live シ ス テ ム の 派 生 元 の debian-installer の デ ィ ス ト リ ビ ュ ー シ ョ ン を 決 定 し ま す 。

--parent-distribution CODENAME

出 来 上 が る Live シ ス テ ム の 派 生 元 の デ ィ ス ト リ ビ ュ ー シ ョ ン を 決 定 し ま す 。

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

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

lb build か ら の メ ッ セ ー ジ の 出 力 を 少 な く し ま す 。

--security true|false

セ キ ュ リ テ ィ ミ ラ ー オ プ シ ョ ン で 指 定 さ れ た セ キ ュ リ テ ィ リ ポ ジ ト リ を 利 用 す る か 否 か を 決 定 し ま す 。

--source true|false

defines if a corresponding source image to the binary image should be built. By default this is false because most people do not require this and it involves downloading quite a few source packages. However, if you distribute your live image to others, you should make sure you build it with a source image alongside to help enable you to comply with licensing terms.

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

defines the image type for the source image. Default is tar. More than one can be specified (a comma or space separated list).

--swap-file-path パ ス

バ イ ナ リ イ メ ー ジ 中 に 作 成 す る ス ワ ッ プ フ ァ イ ル の パ ス を 指 定 し ま す 。 デ フ ォ ル ト で は ス ワ ッ プ フ ァ イ ル を 作 成 し ま せ ん 。

--swap-file-size MB

ス ワ ッ プ フ ァ イ ル を 作 成 す る 場 合 の サ イ ズ を メ ガ バ イ ト で 指 定 し ま す 。 デ フ ォ ル ト は 512MB で す 。

--system live|normal

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

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

イ メ ー ジ に updates パ ッ ケ ー ジ ア ー カ イ ブ を 収 録 す べ き か 否 か を 決 定 し ま す 。

--utc-time true|false

defines if timestamps should be UTC. Default is false, unless SOURCE_DATE_EPOCH is set. Note, this does not affect the build log which remains local time.

--validate

requests that the config be validated only, not changed, thus after the validation check the script ends rather than writing an updated config. Please note that at the time of writing, many options do not have corresponding validation checks.

--verbose

lb build か ら の メ ッ セ ー ジ の 出 力 を 多 く し ま す 。

--win32-loader true|false

バ イ ナ リ イ メ ー ジ に win32-loader を 収 録 す べ き か 否 か を 決 定 し ま す 。

--zsync true|false

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

環 境 変 数

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-http-proxy becomes LB_APT_HTTP_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.

フ ァ イ ル

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 disabled by using the --ignore-system-defaults option.

関 連 項 目

live-build (7)

live-boot (7)

live-config (7)

こ の プ ロ グ ラ ム は live-build の 一 部 で す 。

ホ ー ム ペ ー ジ

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

バ グ

Bugs can be reported by submitting a bug report for the live-build package in the Bug Tracking System at < http://bugs.debian.org/ > or by writing a mail to the Debian Live mailing list at < debian-live@lists.debian.org >.

作 者

live-build was originally written by Daniel Baumann < mail@daniel-baumann.ch >. Since 2016 development has been continued by the Debian Live team.