Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/contributors/setup/set-up-for-ubuntu-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,23 @@ specify a destination, it'll default to doing nothing.

[sbuild](https://wiki.debian.org/sbuild) is a wrapper script around `schroot`.

```{note}
A newer backend, `unshare`, can be used for `sbuild` in place of `schroot`. Compared to `schroot`, it does not need chroot configuration and does not need to run the build as root.

To use `unshare`:

* Install the {pkg}`mmdebstrap` and {pkg}`uidmap` packages.

* Add the following to your `sbuild` configuration in {file}`~/.sbuildrc`:

```none
$chroot_mode = "unshare";
$unshare_mmdebstrap_keep_tarball = 1;
```

Note that while Debian has transitioned to `unshare`, it is not used by Launchpad builders, so it may fail to build some packages.
```

In these examples, replace `my_user` with your own username.

Make mount points:
Expand Down