Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

Difference between revisions of "OLA Notes on Building Debian Packages"

From wiki.openlighting.org

Jump to: navigation, search
m
Line 1: Line 1:
 
These are mostly Simon's notes to himself on how to build the packages to the Raspberry Pi. RenZO looks after the Debian config files.
 
These are mostly Simon's notes to himself on how to build the packages to the Raspberry Pi. RenZO looks after the Debian config files.
 +
 +
* Install the helper packages
 +
<pre>
 +
apt-get install dupload
 +
</pre>
  
 
* Download release tarball, unpack
 
* Download release tarball, unpack

Revision as of 10:21, 11 November 2012

These are mostly Simon's notes to himself on how to build the packages to the Raspberry Pi. RenZO looks after the Debian config files.

  • Install the helper packages
apt-get install dupload
  • Download release tarball, unpack
  • Edit debian/changelog to have the following
ola (0.8.22-1~squeeze1) squeeze; urgency=low
  • Run debuild -B, to build the arch dependent, binary packages (arch-independent packages are done by Renzo).
  • Make sure that your files are chmod 644 (-rw-r--r--)
  • Make sure ~/.dupload.conf is setup correctly:
package config;

delete $preupload{'changes'};

$cfg{'openlighting-debian'} = {
  fqdn => "apt.openlighting.org",
  login => "simon",
  method => "scp",
  incoming => "/opt/packages/incoming/debian/",
};

$default_host = "openlighting-debian";
  • Run dupload:
dupload ola_0.8.22-1_armel.changes

If having more than one dupload config:

dupload -t openlighting-ubuntu precise32/*changes