summaryrefslogtreecommitdiff
path: root/development.mdwn
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-11-01 18:54:58 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-11-01 18:54:58 -0200
commit62dd47517c4ef54c6b6da135ed1ca593dd36572f (patch)
tree3375e1861e915af00f21ea54952fec489b25404b /development.mdwn
parent0388ca01ef1c98880977c0a9c55e0ea5f4f5bd20 (diff)
downloadkeyringer-62dd47517c4ef54c6b6da135ed1ca593dd36572f.tar.gz
keyringer-62dd47517c4ef54c6b6da135ed1ca593dd36572f.tar.bz2
Pbuilder and cowbuilder for multiple archs and versions
Diffstat (limited to 'development.mdwn')
-rw-r--r--development.mdwn16
1 files changed, 5 insertions, 11 deletions
diff --git a/development.mdwn b/development.mdwn
index 383ef92..cbfa03f 100644
--- a/development.mdwn
+++ b/development.mdwn
@@ -3,7 +3,7 @@
Development environment
-----------------------
-The following steps needs to be run just once.
+The following steps needs to be run just once for each arch and distro version.
### Create the `debian/` structure
@@ -13,17 +13,11 @@ The following steps needs to be run just once.
### Setup a sid pbuilder chroot
- DIST=sid sudo pbuilder create --debootstrapopts --variant=buildd
+ DIST=sid sudo -E pbuilder create --debootstrapopts --variant=buildd
### Setup a sid cowbuilder chroot
- DIST=sid sudo cowbuilder --create
-
-You can also setup chroots for other archs and distributions:
-
- mkdir /var/cache/pbuilder/squeeze-amd64
- cowbuilder --create --basepath /var/cache/pbuilder/squeeze-amd64/base.cow \
- --distribution squeeze --debootstrapopts --arch --debootstrapopts amd64
+ DIST=sid sudo -E cowbuilder --create
Environment maintenance
-----------------------
@@ -32,11 +26,11 @@ These steps should be run once in a while to ensure we have an up to date packag
### Pbuilder
- DIST=sid sudo pbuilder update
+ DIST=sid sudo -E pbuilder update
### Cowbuilder
- DIST=sid sudo cowbuilder --update
+ DIST=sid sudo -E cowbuilder --update
Release workflow
----------------