summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-09-18 22:50:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-09-18 22:50:07 -0300
commitac32a60e85a55fe4774151df5e71501d8f4da8ec (patch)
tree411bc2c25b37def5d39d1980d512e437df0ae4ea
parent69bf019b4173f23c8f8f79be3267d4d13ae94fdf (diff)
downloaddebian-ac32a60e85a55fe4774151df5e71501d8f4da8ec.tar.gz
debian-ac32a60e85a55fe4774151df5e71501d8f4da8ec.tar.bz2
README: recommended env method
-rw-r--r--README.md30
1 files changed, 17 insertions, 13 deletions
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
--------