Last modified 3 years ago
Howto upgrade package version while packaging for hackable:1
When upgrading the software version (external software or internal hackable:1 development), packaging patch (packages/software-name/software-name.diff) has to be updated as well to reflect version bumping.
Steps:
$ cd /path-to-hackable1-src/trunk/packages
Edit packages.txt to reflect changes: (version/revision bumping)
$ ./package.sh mysoftware # this will fail: "No such file or directory" $ cd mysoftware/mysoftware-version
Edit debian/changelog to reflect changes:
mysoftware (X.y+svnZZZ-r) unstable; urgency=low
Then run:
$ dpkg-buildpackage -rfakeroot -us -uc # should build the package $ cd ../.. $ ./mkdiff.sh mysoftware $ ./package.sh mysoftware $ ./package.sh DEBIAN_ARCH=armel mysoftware # it should still cross-compile
If everything is fine, verify the diff and commit it:
$ svn diff | vim - $ svn commit
