Novena packaging overview

From Studio Kousagi Wiki
Revision as of 07:07, 12 October 2014 by Xobs (talk | contribs) (Created page with "Novena packages are built as .deb files from source. The majority of files live in git, so you should use git-buildpackage to build the output .deb file. All packages have tagg...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Novena packages are built as .deb files from source. The majority of files live in git, so you should use git-buildpackage to build the output .deb file.

All packages have tagged releases, and you must pass this release name to git-buildpackage in the form of --git-upstream-tag. The basic steps you should take to build a package are:

  1. Clone the repo using git
  2. List available tags
  3. Build a package using git-buildpackage
  4. Copy the resulting .deb file to the target machine

An example of the steps to take to build u-boot-novena:

   git clone https://github.com/xobs/u-boot-novena.git
   git-buildpackage -us -uc --git-upstream-tag=v2014.10-novena-rc5

This will result in a few files getting generated in the parent directory:

   xobs@xobs-novena ~/C/n/u-boot-novena-1.0> ls ../u-boot-novena_2014.10-novena*
   ../u-boot-novena_2014.10-novena.orig.tar.gz
   ../u-boot-novena_2014.10-novena-rc5_armhf.build
   ../u-boot-novena_2014.10-novena-rc5_armhf.changes
   ../u-boot-novena_2014.10-novena-rc5_armhf.deb
   ../u-boot-novena_2014.10-novena-rc5.debian.tar.xz
   ../u-boot-novena_2014.10-novena-rc5.dsc
   xobs@xobs-novena ~/C/n/u-boot-novena-1.0> 

These same steps can be taken for any files packaged for Novena.