Building Ubuntu Packages

Setup Build Server

Start by setting up a build server using our chef cookbooks Setup a ZCA Build Server

Next Install a Few extra packages. This will get included into the main cookbooks, if this process pans out

sudo apt-get install dpkg-dev debhelper devscripts fakeroot linda dh-make

Get to Work

Start by getting logged in as the zenoss user and getting into the source directory:

sudo su - zenoss
cd ~/install-sources

Use dh_make to setup some structure:

dh_make -n -s -p zenoss_4.1.70

Edit debian/control. @Todo: Flush This Out

Edit debian/rules. @Todo: Flush This Out

Kick off a build:

fakeroot debian/rules clean