carta
sbuild-debian-developer-setup(1)

sbuild-debian-developer-setup1

Set up sbuild so that packages for debian unstable can be built

Usage

sbuild-debian-developer-setup [{-h | --help}] [--distribution=distribution] [--suite=suite] [--arch=arch]

Overview

Deprecated: Note that this uses the schroot backend which is no longer used on the Debian buildds. Please switch to the unshare backend. It does not need any prior setup nor regular cron jobs. Don't run newgrp sbuild for the unshare backend as it will break the unshare calls.

sbuild-debian-developer-setup is a convenience script to set up an sbuild environment for Debian Developers.

When run, it adds the current user to the sbuild group, creates a schroot for building packages for Debian unstable in /srv/chroot/unstable-$arch-sbuild, and creates a cronjob which updates said schroot daily.

The script assumes you are on an un-metered internet connection (daily schroot updates might be costly otherwise).

Options

-h, --help

Display this manual.

-V, --version

Print version information.

--distribution=distribution

Set up an sbuild chroot for distribution. Defaults to "debian".

--suite=suite

Set up an sbuild chroot for suite. Defaults to "unstable".

--arch=arch

Set up an sbuild chroot with architecture arch. Defaults to system arch.

Examples

To set up sbuild and build the hello world Debian package, use:

% sudo sbuild-debian-developer-setup↵
% newgrp sbuild↵
% sbuild -d unstable hello↵

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)

--arch since Debian 12 (Bookworm).

Authors

Michael Stapelberg.

From sbuild-debian-developer-setup 0.89.3+deb13u4 in Debian 13 (Trixie). Parsed by carta from the page's man source.