PatchingSourcePackages

Revision 2 as of 2012-11-06 10:33:41

Clear message

For future reference: edit-patch

Patch source package, commit patch, and upload to PPA for testing

Test locally First

  • Add the patch with: patch -p1 <mypatch Build package for local testing (without signing): dpkg-buildpackage -us -uc -nc

Ready to upload

  • Commit changes and make it a patch: dpkg-source --commit Edit Changelog: dch -i Build new source for upload: debuild -S -sd (Use -k if keysign failed)

    Upload to ppa: dput ppa:your-lp-id/ppa ../<new_source.changes>

If there was an upload error, and you need to do it again, delete the ppa files found in the same folder as the source.change file.