# HG changeset patch # User Christophe Lincoln # Date 1306496615 -7200 # Node ID 77037ae331272218773eb3a9556847f3686cc8bd # Parent dc667a8b58d4e37f9b878f2082aeded900ced9be cook: recharge pkgs list before creating flavors and up documentation diff -r dc667a8b58d4 -r 77037ae33127 cook --- a/cook Fri May 27 13:34:28 2011 +0200 +++ b/cook Fri May 27 13:43:35 2011 +0200 @@ -938,8 +938,10 @@ flavors=$SLITAZ/flavors live=$SLITAZ/live [ -d "$flavors" ] || exit 0 - echo "Creating flavors files in: $live" + gettext "Creating flavors files in:"; echo " $live" separator + gettext -e "Recharging lists to use latest packages...\n" + tazpkg recharge 2>&1 >/dev/null # We need a custom tazlito config to set working dir to /home/slitaz. if [ ! -f "$live/tazlito.conf" ]; then diff -r dc667a8b58d4 -r 77037ae33127 doc/cookutils.en.html --- a/doc/cookutils.en.html Fri May 27 13:34:28 2011 +0200 +++ b/doc/cookutils.en.html Fri May 27 13:43:35 2011 +0200 @@ -85,10 +85,11 @@ The setup command has a --wok option which lets you clone a SliTaz wok while setting up your cook environment. Even if you are not yet an official developer you can clone it and use existing packages as an example to create your own. - To setup and clone the wok: + To setup and clone the default cooking wok or the undigest wok:

 # cook setup --wok
+# cook setup --undigest
 

Test your environment

@@ -168,7 +169,7 @@ # cook search busybox -

Packages list

+

Packages DB list

Cook can list packages in the wok and also create a suitable packages list for Tazpkg. This lets you create a local packages repository quite easily @@ -179,10 +180,13 @@ $ cook list-wok

- To create a packages list: + When creatin packages DB, cook will check if you have a flavors repo in + /home/slitaz/flavors, if so, it will pack all flavor using the latest + packages list available. To create a packages list and the Live flavors + files:

-# cook pkglist
+# cook pkgdb