From ac32a60e85a55fe4774151df5e71501d8f4da8ec Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 18 Sep 2014 22:50:07 -0300 Subject: README: recommended env method --- README.md | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 91330b0..4d3d0d8 100644 --- a/README.md +++ b/README.md @@ -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 -------- -- cgit v1.2.3