Saturday, August 5, 2017

Building debian packages for Raspberry PI on Jenkins in Ubuntu


  • Set up Jenkins on Ubuntu
  • Set up jenkins debian glue
  • Install raspbian-archive-keyring.deb
  • Make sure debian-archive-keyring is not installed
  • Make a copy of /etc/pbuilder as /etc/pbuilder.raspi and add
    • DEBOOTSTRAP=--keyring=/usr/share/keyrings/raspbian-archive-keyring.gpg
  • Either create a new job for raspbian-binaries or configuration for existing job
  • Configure variables as
    • architecture=armhf
    • distribution=jessie
    • COMPONENTS="main contrib non-free"
    • COWBUILDER_BASE=/var/cache/pbuilder/base-raspbian-jessie-armhf.cow
    • PBUILDER_CONFIG=/etc/pbuildderrc.raspi
    • ARCHITECTURES="amd64 i386 armhf source"
    • REPOSITORY=/srv/repository-raspi

No comments:

Post a Comment