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/pbuilderrc as /etc/pbuilderrc.raspi and add
    • DEBOOTSTRAPOPTS=--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/pbuilderrc.raspi
    • ARCHITECTURES="amd64 i386 armhf source"
    • REPOSITORY=/srv/repository-raspi

Comments

Popular posts from this blog

iMovie event library on a network drive, NAS

Proxmox PCIe passthrough on HP gen8 - failed to set iommu for container

Backup and restore observium