Difference between revisions of "Packaging/Ubuntu"
(Added instructions for generating the packages.) |
(Fixed some accidentally duplicated text in the code) |
||
Line 37: | Line 37: | ||
A PPA<<[[FootNote]](Personal Package Archive: an extra apt repository you can add to your sources.list to get access to software not in Ubuntu.)>> where we will upload only final releases. | A PPA<<[[FootNote]](Personal Package Archive: an extra apt repository you can add to your sources.list to get access to software not in Ubuntu.)>> where we will upload only final releases. | ||
− | = Generating packages | + | = Generating packages manually = |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Combine the main nova code with the packaging scripts: | Combine the main nova code with the packaging scripts: |
Revision as of 15:41, 8 February 2011
Ubuntu is the reference platform for OpenStack. We follow the Ubuntu release cycle very closely, and do most of our QA on Ubuntu.
If you want to run OpenStack on Ubuntu, there are a few options, depending on your stability requirements and which version of Ubuntu you're running.
Ubuntu version | Only what is in Ubuntu | Only stable releases |
10.04 LTS (Lucid) | N/A | Release PPA |
10.10 (Maverick) | Pre-Austin snapshot | Release PPA |
11.04 (Natty) | Frequent snapshots.< >Cactus expected in final release |
Release PPA |
Trunk PPA
A PPA<<FootNote(Personal Package Archive: an extra apt repository you can add to your sources.list to get access to software not in Ubuntu.)>> where we will upload a new version for every single commit on trunk.
Information and instructions for use can be found on Launchpad for Nova, and similarly for Swift and Glance.
The packages are built by grabbing the latest tarball from http://nova.openstack.org/tarballs/ and adding lp:~openstack-ubuntu-packagers/ubuntu/natty/nova/ubuntu on top of it, and adding a changelog entry.
Release PPA
Information and instructions for use can be found on Launchpad for Nova, and similarly for Swift and Glance..
A PPA<<FootNote(Personal Package Archive: an extra apt repository you can add to your sources.list to get access to software not in Ubuntu.)>> where we will upload only final releases.
Generating packages manually
Combine the main nova code with the packaging scripts:
bzr export nova lp:nova bzr export nova-packaging lp:~openstack-ubuntu-packagers/ubuntu/natty/nova/ubuntu mv nova-packaging/debian nova
Edit the changelog entry. The following commands will specify a Lucid package with version "2011.1-0ubuntu2-local1" and a changelog entry "Local build for internal testing"
cd nova dch -v 2011.1-0ubuntu2-local1 -D lucid "Local build for internal testing"
Generate the packages:
./builddeb.sh
The packages will appear in the parent of the nova directory.