Example repository for building Raspbian .deb packages
pbuilderrc must bei copied to /root/:
root@host % cp pbuilderrc /root/.pbuilderrc
aptitude install devscripts build-essential lintian pbuilder qemu-user-static qemu-system-arm debhelper
export DEBFULLNAME="Max Muster"
export DEBEMAIL="[email protected]"
dch --create --newversion 0.0.1 --package hellodebian
as user:
debuild -i -us -uc -S
for every target arch:
OS=raspbian DIST=buster ARCH=armhf pbuilder --create
OS=debian DIST=buster ARCH=amd64 pbuilder --create
OS=raspbian DIST=buster ARCH=armhf pbuilder update
OS=debian DIST=buster ARCH=amd64 pbuilder update
- editeditedit
- user@host: dch -i # increment
- user@host: debuild -i -us -uc -S
- root@host: cd ..; OS=raspbian DIST=buster ARCH=armhf pbuilder build $(ls -1 *dsc --sort=time|head -1)