SBUILD-DEBIAN-DEVELOPER-SETUP(1) | Debian sbuild | SBUILD-DEBIAN-DEVELOPER-SETUP(1) |
sbuild-debian-developer-setup - set up sbuild so that packages for Debian unstable can be built
sbuild-debian-developer-setup [-h|--help] [--distribution=distribution] [--suite=suite] [--arch=arch]
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).
To set up sbuild and build the hello world Debian package, use:
% sudo
sbuild-debian-developer-setup↵
% newgrp sbuild↵
% sbuild -d unstable
hello↵
Michael Stapelberg.
Copyright © 2018 Michael Stapelberg <stapelberg@debian.org>.
sbuild(1).
12 April 2024 | Version 0.85.7 |