mk-sbuild -V (return code: 1)
getopt: unrecognized option '--version'
mk-sbuild --help (return code: 0)
Usage: /usr/bin/mk-sbuild [OPTIONS] Release
Options:
--arch=ARCH What architecture to select
--name=NAME Base name for the schroot (arch is appended)
--personality=PERSONALITY What personality to use (defaults to match --arch)
--vg=VG use LVM snapshots, with group VG
--debug Turn on script debugging
--skip-updates Do not include -updates pocket in sources.list
--skip-security Do not include -security pocket in sources.list
--skip-proposed Do not include -proposed pocket in sources.list
--source-template=FILE Use FILE as the sources.list template
--debootstrap-mirror=URL Use URL as the debootstrap source
--debootstrap-include=list Comma separated list of packages to include
--debootstrap-exclude=list Comma separated list of packages to exclude
--debootstrap-opts=OPTS Extra options passed to debootstrap
--debootstrap-proxy=URL Use PROXY as apt proxy
--debootstrap-keyring=KEYRING
Use KEYRING to check signatures of retrieved Release files
--debootstrap-no-check-gpg Disables checking gpg signatures of retrieved Release files
--eatmydata Install and use eatmydata
--distro=DISTRO Install specific distro:
'ubuntu' or 'debian'
(defaults to determining from release name)
--target=ARCH Target architecture for cross-building
--type=SCHROOT_TYPE Define the schroot type:
'directory'(default), 'file', or 'btrfs-snapshot'
'lvm-snapshot' is selected via --vg
Configuration (via ~/.mk-sbuild.rc)
LV_SIZE Size of source LVs (default 5G)
SNAPSHOT_SIZE Size of snapshot LVs (default 4G)
SOURCE_CHROOTS_DIR Directory to store directory source chroots
SOURCE_CHROOTS_TGZ Directory to store file source chroots
CHROOT_SNAPSHOT_DIR Directory to mount open btrfs snaphshot chroots (default /var/lib/schroot/snapshots)
SCHROOT_CONF_SUFFIX Lines to append to schroot.conf entries
SCHROOT_PROFILE Profile to use with schroot (default sbuild)
SKIP_UPDATES Enable --skip-updates
SKIP_PROPOSED Enable --skip-proposed
SKIP_SECURITY Enable --skip-security
DEBOOTSTRAP_MIRROR Mirror location (same as --debootstrap-mirror)
DEBOOTSTRAP_INCLUDE Included packages (same as --debootstrap-include)
DEBOOTSTRAP_EXCLUDE Excluded packages (same as --debootstrap-exclude)
DEBOOTSTRAP_OPTS Extra options passed to debootstrap (same as --debootstrap-opts)
DEBOOTSTRAP_PROXY Apt proxy (same as --debootstrap-proxy)
DEBOOTSTRAP_KEYRING GPG keyring (same as --debootstrap-keyring)
DEBOOTSTRAP_NO_CHECK_GPG Disable GPG verification (same as --debootstrap-no-check-gpg)
EATMYDATA Enable --eatmydata
TEMPLATE_SOURCES A template for sources.list
TEMPLATE_SCHROOTCONF A template for schroot.conf stanza