building packages

asked 2010-12-08 21:36:09 -0500

shinys gravatar image

Hi,

I would like to create my own OpenStack packages for testing and development purposes. I have read your doc at http://wiki.openstack.org/LifeWithBzrAndLaunchpad (http://wiki.openstack.org/LifeWithBzr...) . But it has no links on how to build a package. My servers are running, Ubuntu 10.04. It would be great if you could add documentation or give pointers regarding this.

Thanks Shiny

edit retag flag offensive close merge delete

4 answers

Sort by » oldest newest most voted
0

answered 2010-12-13 14:54:14 -0500

soren gravatar image

The only difference is that I add a changelog entry from a script, so functionally, it should be the exact same.


Soren Hansen Ubuntu Developer    http://www.ubuntu.com/ OpenStack Developer http://www.openstack.org/

edit flag offensive delete link more
0

answered 2010-12-13 15:25:16 -0500

shinys gravatar image

Cool ! Thanks a lot Soren, It helped.

edit flag offensive delete link more
0

answered 2010-12-09 14:32:38 -0500

soren gravatar image

The packages we build an put in our PPA (which is also available for Ubuntu 10.04 (Lucid), by the way) are built by taking a tarball from

http://nova.openstack.org/tarballs/

and adding this branch on top of it

https://code.launchpad.net/~openstack-ubuntu-packagers/ubuntu/natty/nova/ubuntu/ (https://code.launchpad.net/~openstack...)

and then the usual dpkg-buildpackage stuff.


Soren Hansen Ubuntu Developer    http://www.ubuntu.com/ OpenStack Developer http://www.openstack.org/

edit flag offensive delete link more
0

answered 2010-12-09 17:33:42 -0500

shinys gravatar image

Thanks Soren. It worked for me.

But there is a small issue wrt the package version. I downloaded nova-2011.1~bzr440.tar.gz and the branch from the links you gave me. However when I create packages they show me bzr425 as version number as below:

dpkg -l | grep nova

ii nova-api 2011.1~bzr425-0ubuntu1 OpenStack Compute - Nova - API frontend ii nova-common 2011.1~bzr425-0ubuntu1 OpenStack Compute - Nova - common files ii nova-compute 2011.1~bzr425-0ubuntu1 OpenStack Compute - Nova - compute node . . . . . . .

This I suppose is because debian/changelog has the string 2011.1~bzr425-0ubuntu1.

So technically is there any difference between the nova packages for a particular version uploaded at https://launchpad.net/~nova-core/+archive/trunk/ (https://launchpad.net/~nova-core/+arc...) and the ones created through tarballs and branch from the links you mentioned?

Shiny

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2010-12-08 21:36:09 -0500

Seen: 31 times

Last updated: Dec 13 '10