| 475 | | TODO |
| 476 | | }}} |
| 477 | | |
| 478 | | And then make sure it's installed locally for the next step. |
| | 475 | #!/bin/sh -x |
| | 476 | |
| | 477 | sudo 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... |
| | 481 | svn co https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2 bcfg2-trunk |
| | 482 | cd bcfg2-trunk |
| | 483 | cp debian/changelog debian/changelog.orig |
| | 484 | ppa="testing" # "testing" or "ppa" (for stable) |
| | 485 | try="1" |
| | 486 | REV=$(svn info|grep '^Revision' |cut -d' ' -f2) |
| | 487 | |
| | 488 | for dist in dapper hardy intrepid jaunty karmic; do |
| | 489 | cp 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}" \ |
| | 492 | backport to ppa ${ppa}, dist ${dist}, try ${try}, svn revision $REV) |
| | 493 | # Replace 0xAA95C349 to your GnuPG Key ID |
| | 494 | debuild -S -k0xAA95C349 |
| | 495 | dput bcfg2-testing-force-${dist} ../bcfg2_1.0.0pre1-0.1+r${REV}~${ppa}${try}~${dist}${try}_source.changes |
| | 496 | done |
| | 497 | }}} |
| | 498 | |
| | 499 | And then make sure it's installed locally for the next step. |