Jump to: navigation, search

Difference between revisions of "Packaging/Ubuntu"

(Added instructions for generating the packages.)
Line 36: Line 36:
  
 
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 by hand =
 +
 +
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.
 +
 +
{| border="1" cellpadding="2" cellspacing="0"
 +
|  Ubuntu version   
 +
|  Only what is in Ubuntu
 +
|  Only stable releases           
 +
|-
 +
|  10.04 LTS (Lucid)
 +
|          N/A         
 +
|  [[#Release_PPA|Release PPA]]   
 +
|-
 +
|  10.10 (Maverick) 
 +
|    Pre-Austin snapshot 
 +
|  [[#Release_PPA|Release PPA]]   
 +
|-
 +
|  11.04 (Natty)   
 +
|  Frequent snapshots.<<BR>>Cactus expected in final release 
 +
|  [[#Release_PPA|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 [https://launchpad.net/~nova-core/+archive/trunk Launchpad] for Nova, and similarly for [https://launchpad.net/~swift-core/+archive/trunk Swift] and [https://launchpad.net/~glance-core/+archive/trunk Glance].
 +
 +
The packages are built by grabbing the latest tarball from http://nova.openstack.org/tarballs/ and adding [https://code.launchpad.net/~openstack-ubuntu-packagers/ubuntu/natty/nova/ubuntu 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 [https://launchpad.net/~nova-core/+archive/release Launchpad] for Nova, and similarly for [https://launchpad.net/~swift-core/+archive/release Swift] and [https://launchpad.net/~glance-core/+archive/release 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 by hand =
 +
 +
Combine the main nova code with the packaging scripts:
 +
 +
 +
<pre><nowiki>
 +
bzr export nova lp:nova
 +
bzr export nova-packaging lp:~openstack-ubuntu-packagers/ubuntu/natty/nova/ubuntu
 +
mv nova-packaging/debian nova
 +
</nowiki></pre>
 +
 +
 +
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"
 +
 +
 +
<pre><nowiki>
 +
cd nova
 +
dch -v 2011.1-0ubuntu2-local1 -D lucid "Local build for internal testing"
 +
</nowiki></pre>
 +
 +
 +
Generate the packages:
 +
 +
 +
<pre><nowiki>
 +
./builddeb.sh
 +
</nowiki></pre>
 +
 +
 +
The packages will appear in the parent of the nova directory.

Revision as of 15:40, 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 by hand

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 by hand

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.