Created
May 1, 2015 13:40
-
-
Save saghul/9594d32de21306d26467 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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