]> gitweb.fluxo.info Git - debian.git/commitdiff
README: recommended env method
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 19 Sep 2014 01:50:07 +0000 (22:50 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 19 Sep 2014 01:50:07 +0000 (22:50 -0300)
README.md

index 91330b059368369463ab681cb5b3cca672b832e0..4d3d0d82195017af78e167cc7a29a8ab0fb04b38 100644 (file)
--- 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
 --------