Changes between Version 35 and Version 36 of BuildingDebianPackages


Ignore:
Timestamp:
10/30/09 00:27:04 (10 years ago)
Author:
dclark
Comment:

PPA section is done, but not tested yet as building on launchpad seems to be dead atm

Legend:

Unmodified
Added
Removed
Modified
  • BuildingDebianPackages

    v35 v36  
    473473Upload: 
    474474{{{ 
    475 TODO 
    476 }}} 
    477  
    478 And then make sure it's installed locally for the next step. 
     475#!/bin/sh -x 
     476 
     477sudo apt-get build-dep bcfg2 bcfg2-server 
     478 
     479# Trunk, or specify a revision; also something was said about being able 
     480# to build right from svn with the new debian packaging... 
     481svn co https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2 bcfg2-trunk 
     482cd bcfg2-trunk 
     483cp debian/changelog debian/changelog.orig 
     484ppa="testing" # "testing" or "ppa" (for stable) 
     485try="1" 
     486REV=$(svn info|grep '^Revision' |cut -d' ' -f2) 
     487 
     488for dist in dapper hardy intrepid jaunty karmic; do 
     489cp debian/changelog.orig debian/changelog 
     490(cd debian && debchange --force-bad-version --preserve --newversion \ 
     491"1.0.0pre1-0.1+r${REV}~${ppa}${try}~${dist}${try}" \ 
     492backport to ppa ${ppa}, dist ${dist}, try ${try}, svn revision $REV) 
     493# Replace 0xAA95C349 to your GnuPG Key ID 
     494debuild -S -k0xAA95C349 
     495dput bcfg2-testing-force-${dist} ../bcfg2_1.0.0pre1-0.1+r${REV}~${ppa}${try}~${dist}${try}_source.changes 
     496done 
     497}}} 
     498 
     499And then make sure it's installed locally for the next step.