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.

OLA Notes on Building Debian Packages

From wiki.openlighting.org

Revision as of 14:57, 11 August 2012 by RenZO (talk | contribs) (chmod info)
Jump to: navigation, search

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
  • 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