- deb packages:
apt install debhelper cdbs lintian build-essential fakeroot devscripts pbuilder dh-make debootstrap
- gpg key (note you key sub part after slash):
gpg --gen-key
- pbuilder:
echo "COMPONENTS=\"main restricted universe multiverse\"" | sudo tee -a /etc/pbuilderrc
sudo pbuilder create
sudo pbuilder update
Edit build.sh with your vars edit files in template to match glpi version
./build.sh