| 1 | If the package you are working on interacts with the native OS in ways |
| 2 | that might vary from platform to platform, you may want to do a test |
| 3 | build for all platforms. You will need to do this on |
| 4 | linux-build-10.mit.edu or another machine which has been set up with |
| 5 | build schroots. |
| 6 | |
| 7 | As above, run daconfiscate (if necessary) and then daorig. Then run |
| 8 | "debuild -S" to create a source package. Now cd into the parent |
| 9 | directory and identify the .dsc file created by debuild -S; it will |
| 10 | have a name like debathena-just_9.4.0-0debathena2.dsc. Run "da |
| 11 | sbuildhack filename.dsc" to perform the package builds. Each build |
| 12 | will take place inside an ephemeral chroot based on a snapshot of a |
| 13 | template for a particular Debian or Ubuntu version. If a build fails |
| 14 | and it's not obvious from the build log why, you may need to create |
| 15 | your own ephemeral chroot session with a command like "schroot -c |
| 16 | gutsy-amd64-sbuild /bin/sh" and then run debuild from within the |
| 17 | package sources. |
| 18 | |
| 19 | If the build is successful, it will create a set of packages with |
| 20 | names like debathena-just_9.4.0-0debathena2~ubuntu6.06_amd64.deb. |