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
(Created page with "These are mostly Simon's notes to himself on how to build the packages to the Raspberry Pi. Rezno looks after the Debian config files. * Download tarball, unpack * Edit debian/c…")
 
m
 
(6 intermediate revisions by 3 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. Rezno 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.
  
* Download tarball, unpack
+
* Install the helper packages
 +
<pre>
 +
apt-get install dupload devscripts
 +
</pre>
 +
 
 +
* Download release tarball, unpack
 
* Edit debian/changelog to have the following
 
* Edit debian/changelog to have the following
  
Line 9: Line 14:
  
 
* Run debuild -B, to build the arch dependent, binary packages (arch-independent packages are done by Renzo).
 
* 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:
 
* Make sure ~/.dupload.conf is setup correctly:
  
Line 17: Line 23:
  
 
$cfg{'openlighting-debian'} = {
 
$cfg{'openlighting-debian'} = {
   fqdn => "apt.openlighting.org",
+
   fqdn => "upload.openlighting.org",
 
   login => "simon",
 
   login => "simon",
 
   method => "scp",
 
   method => "scp",
Line 30: Line 36:
 
<pre>
 
<pre>
 
dupload ola_0.8.22-1_armel.changes
 
dupload ola_0.8.22-1_armel.changes
 +
</pre>
 +
 +
If having more than one dupload config:
 +
<pre>
 +
dupload -t openlighting-ubuntu precise32/*changes
 
</pre>
 
</pre>

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