| Building Debian Packages with git-buildpackage |
|---|
First create a branch that holds the NMUs once:
git branch nmu
To import an NMU instead of a new upstream version you can use:
git checkout master
git-import-orig -u 10-1.1 --upstream-branch=nmu nmu-10-1.1.tar.gz
This will import the NMU on the nmu branch instead of the upstream branch but merge the changes to the master branch as usual.
Note: You need to have the NMU as a single tar.gz, you can't use the dsc and diff.gz here, this will be fixed in a later version.
| <<< Special usage cases | Using Pbuilder >>> |