Building source packages on Raspberry Pi

Prerequisites

sudo apt-get install dpkg-dev fakeroot build-essential debhelper

$[Get Code]1

Build

dpkg-buildpackages -rfakeroot -us -uc

$[Get Code]2

Cross Packaging

Dependencies

sudo dpkg --add-architecture armhf
sudo apt-get update
sudo apt-get -a armhf install cdbs devscripts libtool dh-buildinfo fakeroot

Environment

dpkg-architecture -aarmhf
export DEB\_BUILD\_OPTIONS=nocheck

Package

dpkg-buildpackage -us -uc

$[Get Code]5