Skip to content

Instantly share code, notes, and snippets.

@saghul
Created May 1, 2015 13:40
Show Gist options
  • Save saghul/9594d32de21306d26467 to your computer and use it in GitHub Desktop.
Save saghul/9594d32de21306d26467 to your computer and use it in GitHub Desktop.
# On a aDebian system
sudo apt-get install ubuntu-archive-keyring
# Create environment
sudo pbuilder create --distribution trusty --architecture amd64 --mirror http://archive.ubuntu.com/ubuntu --debootstrapopts --keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg
# Enable universe
sudo pbuilder update --components "main universe" --override-config --distribution trusty --architecture amd64 --mirror http://archive.ubuntu.com/ubuntu --debootstrapopts --keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg
# Build package
sudo pbuilder build --distribution trusty --architecture amd64 --mirror http://archive.ubuntu.com/ubuntu --debootstrapopts --keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg janus_0.0.9+git-1.dsc
# References
https://detrasproject.wordpress.com/2011/04/27/how-to-build-a-debian-package-v2-0/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment