cookutils rev 236
cook: recharge pkgs list before creating flavors and up documentation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 13:43:35 2011 +0200 (2011-05-27) |
parents | dc667a8b58d4 |
children | bcc48b546d5b |
files | cook doc/cookutils.en.html |
line diff
1.1 --- a/cook Fri May 27 13:34:28 2011 +0200 1.2 +++ b/cook Fri May 27 13:43:35 2011 +0200 1.3 @@ -938,8 +938,10 @@ 1.4 flavors=$SLITAZ/flavors 1.5 live=$SLITAZ/live 1.6 [ -d "$flavors" ] || exit 0 1.7 - echo "Creating flavors files in: $live" 1.8 + gettext "Creating flavors files in:"; echo " $live" 1.9 separator 1.10 + gettext -e "Recharging lists to use latest packages...\n" 1.11 + tazpkg recharge 2>&1 >/dev/null 1.12 1.13 # We need a custom tazlito config to set working dir to /home/slitaz. 1.14 if [ ! -f "$live/tazlito.conf" ]; then
2.1 --- a/doc/cookutils.en.html Fri May 27 13:34:28 2011 +0200 2.2 +++ b/doc/cookutils.en.html Fri May 27 13:43:35 2011 +0200 2.3 @@ -85,10 +85,11 @@ 2.4 The setup command has a --wok option which lets you clone a SliTaz wok while 2.5 setting up your cook environment. Even if you are not yet an official developer 2.6 you can clone it and use existing packages as an example to create your own. 2.7 - To setup and clone the wok: 2.8 + To setup and clone the default cooking wok or the undigest wok: 2.9 </p> 2.10 <pre> 2.11 # cook setup --wok 2.12 +# cook setup --undigest 2.13 </pre> 2.14 2.15 <h3>Test your environment</h3> 2.16 @@ -168,7 +169,7 @@ 2.17 # cook search busybox 2.18 </pre> 2.19 2.20 -<h3>Packages list</h3> 2.21 +<h3>Packages DB list</h3> 2.22 <p> 2.23 Cook can list packages in the wok and also create a suitable packages list 2.24 for Tazpkg. This lets you create a local packages repository quite easily 2.25 @@ -179,10 +180,13 @@ 2.26 $ cook list-wok 2.27 </pre> 2.28 <p> 2.29 - To create a packages list: 2.30 + When creatin packages DB, cook will check if you have a flavors repo in 2.31 + /home/slitaz/flavors, if so, it will pack all flavor using the latest 2.32 + packages list available. To create a packages list and the Live flavors 2.33 + files: 2.34 </p> 2.35 <pre> 2.36 -# cook pkglist 2.37 +# cook pkgdb 2.38 </pre> 2.39 2.40 <a name="cooker"></a>