# HG changeset patch # User Paul Issott # Date 1305661805 -3600 # Node ID 2021474725ef8c568e650096c4c772f1054efbf5 # Parent ecf65a349e76b1354fd0ce015394029b8cd32939 Edits and typos diff -r ecf65a349e76 -r 2021474725ef cook --- a/cook Tue May 17 15:35:42 2011 +0200 +++ b/cook Tue May 17 20:50:05 2011 +0100 @@ -441,8 +441,8 @@ for i in $dep $implicit do if [ ! -f "$INSTALLED/$i/receipt" ]; then - # Try local package first. In some case implicit dont exist, ex: - # libboost-dev exist but not libboost, so check if we got vers. + # Try local package first. In some cases implicit doesn't exist, ex: + # libboost-dev exists but not libboost, so check if we got vers. unset vers vers=$(grep ^VERSION $WOK/$i/receipt 2>/dev/null | cut -d '"' -f 2) if [ -f "$PKGS/$i-$vers.tazpkg" ]; then diff -r ecf65a349e76 -r 2021474725ef doc/cookutils.en.html --- a/doc/cookutils.en.html Tue May 17 15:35:42 2011 +0200 +++ b/doc/cookutils.en.html Tue May 17 20:50:05 2011 +0100 @@ -35,7 +35,7 @@

Cook provides a small built-in help usage that you can display with the command 'usage'. It also has some options to perform special tasks on - a package before cooking it or after. To get help and usage: + a package before cooking it or afterwards. To get help and usage:

 # cook usage
@@ -56,7 +56,7 @@
 	can specify a custom path in the argument. The chroot location is not
 	important, when you will be in the chroot you will use standard SliTaz
 	paths such as /home/slitaz/wok for the wok directory or /home/slitaz/log
-	for all the cook logs. As usual you can diplay tazdev help usage with:
+	for all the cook logs. As usual you can display tazdev help usage with:
 	tazdev usage.
 

@@ -94,9 +94,9 @@

Test your environment

Cook provides a test command which will create a package and cook it. This lets - you see if your enviroment is working and it provides an example package with + you see if your environment is working and it provides an example package with a receipt. The dummy package is named 'cooktest' and can be removed after - testing. To cook the cooktest: + testing. To cook the test package:

 # cook test
@@ -104,7 +104,7 @@
 
 

Create and cook

- If you environment is setup corectly you can start creating and compiling + If your environment is setup correctly you can start creating and compiling SliTaz packages from your wok. To create a new package with an empty receipt:

@@ -112,14 +112,14 @@
 

If you have just created a new package, you'll have to edit the receipt with your - favorite text editor. When the receipt is ready or if you have existing - packages, you can cook it: + favorite text editor. When the receipt is ready or if you have an existing + package, you can cook it:

 # cook pkgname
 

- If all went well you will find your packages in the $SLITAZ/packages + If all went well you will find your package in the $SLITAZ/packages directory and any produced files in $SLITAZ/wok/pkgname.

@@ -218,7 +218,7 @@ # cooker setup

- If all went well you have now 2 woks, base developement packages installed + If all went well you now have 2 woks, base development packages installed and all needed files created. The default behavior is to check for commits, you can run a test:

@@ -232,7 +232,7 @@ cooker without any arguments or cook packages manually. The cooker lets you cook a single package or all packages of a category or a flavor. You can also try to build all unbuilt packages, but be aware the Cooker was not designed - to handle thousand of packages. + to handle thousands of packages.

To cook a single package which is the same as 'cook pkgname' but with more @@ -253,7 +253,7 @@ # cooker cat [category]

- The Cooker lets you also recook a specific Hg revision. It useful in + The Cooker lets you also recook a specific Hg revision. It's useful in production so that if the Build Bot was interrupted while cooking commits, you can then cook packages manually:

@@ -359,10 +359,10 @@

The Cooker environment and cron task can automatically be started at boot time. You must have the cookutils-daemon installed on the host and use a standard SliTaz - to make it work properly (cooking goes in /home/slitaz/cooking). The daemon - script will mount any virtual filesystems if needed as well as source and - packages. Sources files are in /home/slitaz/src and bound into the chroot - so you can share packages sources between several versions (stable, cooking, + installation to make it work properly (cooking goes in /home/slitaz/cooking). The + daemon script will mount any virtual filesystems if needed as well as source and + packages. Source files are in /home/slitaz/src and bound into the chroot + so you can share package's sources between several versions (stable, cooking, undigest). If the package is not yet installed: