sbuild #6

  • By charmers
  • Latest version (#6)
  • precise
  • Stable
  • Edge

Description

Installs an sbuild and schroot environment for package building.


This charm is designed to set up sbuild for a bug-squashing party.

It enables SSH passwords (after locking the ubuntu user's password), so
beware.

Hacks to run remotely:

hooks/wipe

for destroying all chroots.

hooks/report $EXTERNAL_HOSTNAME

for reporting the state of a machine.

Usage

For example, to throw a bug-squashing party, configure juju and sbuild.yaml for
the password salt, distros, etc, then execute:

juju boostrap
juju deploy --config sbuild.yaml --repository /scratch/ubuntu/vcs/juju/examples local:sbuild builder-bsp
juju add-unit builder-bsp
juju add-unit builder-bsp
juju add-unit builder-bsp

# Dump reports printable on little slips of paper to hand out at the party:
./slips builder-bsp | mpage -1 | lp

Configuration

username
(string) The name of the account that performs builds.
builder
btsparty
(boolean) Setup accounts for public access.
True
mksbuildsources
(string) Conternts of ~/.mk-sbuild.sources. See $ man mk-sbuild.
packages
(string) Comma-separated list of extra packages to install in chroots.
home
(string) The home directory location for the above account.
/home
mksbuildrc
(string) Contents of mk-sbuild.rc. See $ man mk-sbuild.
chroots
(string) Space-separated list of distro:release,release to create chroots for.
ubuntu:quantal
salt
(string) Salt for generating builder accounts.
unset