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
 
(3 intermediate revisions by 2 users not shown)
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 devscripts
 +
</pre>
  
 
* Download release tarball, unpack
 
* Download release tarball, unpack
Line 18: Line 23:
  
 
$cfg{'openlighting-debian'} = {
 
$cfg{'openlighting-debian'} = {
   fqdn => "apt.openlighting.org",
+
   fqdn => "upload.openlighting.org",
 
   login => "simon",
 
   login => "simon",
 
   method => "scp",
 
   method => "scp",

Latest revision as of 08:58, 5 February 2015

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 devscripts
  • 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 => "upload.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