Changes between Initial Version and Version 1 of BuildingATestPackageOnAllPlatforms


Ignore:
Timestamp:
04/24/12 12:37:53 (10 years ago)
Author:
jdreed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingATestPackageOnAllPlatforms

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