diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-09-18 22:50:07 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-09-18 22:50:07 -0300 |
commit | ac32a60e85a55fe4774151df5e71501d8f4da8ec (patch) | |
tree | 411bc2c25b37def5d39d1980d512e437df0ae4ea | |
parent | 69bf019b4173f23c8f8f79be3267d4d13ae94fdf (diff) | |
download | debian-ac32a60e85a55fe4774151df5e71501d8f4da8ec.tar.gz debian-ac32a60e85a55fe4774151df5e71501d8f4da8ec.tar.bz2 |
README: recommended env method
-rw-r--r-- | README.md | 30 |
1 files changed, 17 insertions, 13 deletions
@@ -27,19 +27,31 @@ Build environment creation The following steps needs to be run just once for each arch and distro version. -### Setup pbuilder chroots - - git-pbuilder create - DIST=wheezy git-pbuilder - ### Setup cowbuilder chroots +This is the recommended method: + sudo mkdir /var/cache/pbuilder/sid-amd64 sudo -E cowbuilder --create sudo mkdir /var/cache/pbuilder/wheezy-amd64 sudo -E DIST=wheezy cowbuilder --create +### Setup pbuilder chroots + +If you want to setup directly using `pbuilder`: + + git-pbuilder create + DIST=wheezy git-pbuilder + +### Compatibility with git-buildpackage + +This is a workaround while we don't find a cleaner way to fix +[this issue](http://ramblingfoo.blogspot.com.br/2012/10/howto-sudo-cowbuilder-git-buildpackage.html) +with `git-buildpackage` not getting `~/.pbuilderrc` from the local user: + + ( cd /var/cache/pbuilder/ && sudo ln -s sid-amd64/base.cow ) + Environment maintenance ----------------------- @@ -55,14 +67,6 @@ These steps should be run once in a while to ensure we have an up to date packag DIST=sid sudo -E cowbuilder --update DIST=wheezy sudo -E cowbuilder --update --override-config -### Compatibility with git-buildpackage - -This is a workaround while we don't find a cleaner way to fix -[this issue](http://ramblingfoo.blogspot.com.br/2012/10/howto-sudo-cowbuilder-git-buildpackage.html) -with `git-buildpackage` not getting `~/.pbuilderrc` from the local user: - - ( cd /var/cache/pbuilder/ && sudo ln -s sid-amd64/base.cow ) - Building -------- |