drazzib at drazzib.com
Mon Dec 12 15:58:39 UTC 2011
On Mon, 12 Dec 2011 16:06:30 +0100, Jaime Melis <jmelis at opennebula.org>
> Hi Damien,
> you're right, I've CC'd the list.
> I'm having trouble understanding the procedure of package creation and
> testing. I've read bit's and pieces about the procedure, but I'm not
> about many things, namely:
> 1 - I clone the official git repo:
> pkg-opennebula-devel at lists.alioth.debian.org . I cd into the directory,
> to do debuild and it fails since it doesn't find the tar.gz. Which one
> should I use? Is there a way to recreate it on the fly, or should I
> download the upstream tar.gz ? What name should it have? etc... I guess
> that once I do the most basic debuild without changing everything, I'll
> have a better understanding of the technique.
We don't use debuild directly but a wrapper (git-buildpackage). This
wrapper is in charge of extracting upstream tarball into a temporay area,
copying debian/ directory and some misc stuff.
This tool is documented here  (with usage of each git branch).
I've tried to document actual process to build opennebula here . Maybe
it's not really clear...
> 2 - What params should I use to create the pbuilder environment?
git-buildpackage provide some toolkit to ease usage of pbuilder .
When releasing a new package, I'm using :
git-buildpackage --git-pbuilder --git-tag
More information about the Pkg-opennebula-devel