Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2007-09-15 21:54:03
Size: 460
Editor: OndrejCertik
Comment:
Revision 4 as of 2007-09-15 21:58:05
Size: 734
Editor: OndrejCertik
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

= Usage =

== Initialization ==

Create the base repository:
{{{
sudo cowbuilder --create
}}}

== Every day usage ==

Update the repository
{{{
sudo cowbuilder --update
}}}

Build a package:
{{{
sudo cowbuilder --build somepackage.dsc
}}}
Line 14: Line 35:
Of course the location `/tmp/new` is something else. Try those commands and see how fast they are on your computer. You can compare them to our [:cowbuilder_benchmark: benchmarks]. Of course `cowbuilder` uses a different location than `/tmp/new`. Try those commands and see how fast they are on your computer. You can compare them to our [:cowbuilder_benchmark: benchmarks].

cowbuilder

This is the tutorial for cowbuilder. See also [:qemubuilder: qemubuilder].

Usage

Initialization

Create the base repository:

sudo cowbuilder --create

Every day usage

Update the repository

sudo cowbuilder --update

Build a package:

sudo cowbuilder --build somepackage.dsc

troubleshooting

Slow copying and removing of the COW directory

What cowbuilder does is:

cp -al /var/cache/pbuilder/base.cow /tmp/new
rm -rf /tmp/new

Of course cowbuilder uses a different location than /tmp/new. Try those commands and see how fast they are on your computer. You can compare them to our [:cowbuilder_benchmark: benchmarks].