1
In order to build the package you need dpkg-dev and fakeroot
3
To build the package do:
5
cd ..../lib/canonical/buildd
7
dpkg-buildpackage -rfakeroot -b
9
It will "fail" because the package built in the "wrong" place. Don't
14
fakeroot debian/rules clean
15
rm launchpad-buildd*deb
16
rm ../launchpad-buildd*changes
18
-----------------------------------------------------------------------
20
How to use the chroot tool:
22
buildd-slave-chroot-tool --intervene <chroot tarball>
24
...will unpack the chroot tarball, mount up the proc etc filesystems
25
in it and chroot into it.
27
When you leave the chroot, it will ask you if you want to repack the
28
tarball. If you answer yes then it will repack it, if you answer no,
29
then it will merely clean up and exit.
31
If you wish to build a new chroot then first copy the example.chroot
32
file from /usr/share/doc/launchpad-buildd/ and edit it to your
35
Next run buildd-slave-chroot-tool --generate config.filename
37
You must have sudo capability and ideally you would run this as the
38
buildd user on a machine with launchpad-buildd installed.
40
Once you have completed the chroot building, you will be left with a
41
file named chroot-<distro>-<distrorelease>-<arch>.tar.bz2 which should
42
be uploaded to the librarian from a machine with librarian access and
43
then marked as the chroot for the given pocket.
45
You should retain the configuration file so that we know how the
46
chroot was built in case we need to rebuild it at a later date.