Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
developers:jenkins:packaging:debian [2015/12/07 06:27] tux3developers:jenkins:packaging:debian [2015/12/29 01:21] (current) – Add example setups oranges
Line 4: Line 4:
 It uses a chroot environment to compile binary packages from source packages on a fresh Debian system. It uses a chroot environment to compile binary packages from source packages on a fresh Debian system.
  
-pbuilder is installed on the x86 and x86-64 Linux Jenkin slaves. To use it you must have a Debian source package mypackage.dsc and upstream's tarball, then you would for example use this command to compile for Debian Strect amd64:+pbuilder is installed on the x86 and x86-64 Linux Jenkin slaves. To use it you must have a Debian source package mypackage.dsc and upstream's tarball, then you would for example use this command to compile for Debian Stretch amd64:
  
 <code> <code>
Line 12: Line 12:
 This will put the resulting binary packages in the current working directory. This will put the resulting binary packages in the current working directory.
 If your package depends on other packages not present in the Debian archive, you must copy them to /opt/pbuilder-local-repo/repo before the build. If your package depends on other packages not present in the Debian archive, you must copy them to /opt/pbuilder-local-repo/repo before the build.
 +
 +You can see example source package setups for qtox/libtoxcore here https://github.com/tux3/tox-pkgs
 +
 +You can also see example source package setups for toxic, along with some helper scripts for mass setup of builds and tar commands here https://github.com/optimumtact/tox-pkgs
 +
 +The source packages are ingested into pbuilder and it spits out nicely linked binary packages for shipping to the package server, this means you can do per distro versioning and other useful crud
  
 ====== Making Debian source packages ====== ====== Making Debian source packages ======
Line 17: Line 23:
 Please refer to the Debian manual. Please refer to the Debian manual.
  
-https://wiki.debian.org/IntroDebianPackaging<br/> +https://wiki.debian.org/IntroDebianPackaging 
-https://www.debian.org/doc/manuals/maint-guide/<br/> + 
-https://www.debian.org/doc/manuals/developers-reference/<br/>+https://www.debian.org/doc/manuals/maint-guide/ 
 + 
 +https://www.debian.org/doc/manuals/developers-reference/ 
 https://www.debian.org/doc/debian-policy/ https://www.debian.org/doc/debian-policy/
  
Print/export