website rev 510
Update build-host cookbook page for tazdev
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 19 23:17:13 2009 +0200 (2009-06-19) |
parents | 26540b3c7fa2 |
children | 130f26e8130d |
files | en/doc/cookbook/build-host.html |
line diff
1.1 --- a/en/doc/cookbook/build-host.html Sun Jun 14 21:36:28 2009 +0000 1.2 +++ b/en/doc/cookbook/build-host.html Fri Jun 19 23:17:13 2009 +0200 1.3 @@ -36,7 +36,7 @@ 1.4 1.5 <ul> 1.6 <li><a href="#folders">Folders in: /home/slitaz</a></li> 1.7 - <li><a href="#scripts">Using scripts: /home/slitaz/scripts</a></li> 1.8 + <li><a href="#tazdev">Using tazdev</a></li> 1.9 <li><a href="#undigest-pkgs">Cooking undigest packages</a></li> 1.10 <li><a href="#cooking-pkgs">Cooking official packages</a></li> 1.11 <li><a href="#stable-pkgs">Stable packages</a></li> 1.12 @@ -49,25 +49,18 @@ 1.13 <ul> 1.14 <li>cooking/ - Cooking chroot and flavors.</li> 1.15 <li>stable/ - Stable tree.</li> 1.16 - <li>scripts/ - Small scripts to help maintain the host, project.</li> 1.17 <li>repos/ - All the project repos (where the commits are pushed).</li> 1.18 <li>www/ - Virtual hosts (website, hg, boot, people, etc).</li> 1.19 </ul> 1.20 1.21 -<a name="scripts"></a> 1.22 -<h3>Using scripts: /home/slitaz/scripts</h3> 1.23 +<a name="tazdev"></a> 1.24 +<h3>Using tazdev</h3> 1.25 <p> 1.26 -To help maintain the mirror, flavors and other services, some scripts 1.27 -are used. They are mostly all configured for the cooking version. To 1.28 -add them to your default path: 1.29 +To help maintain the mirror, flavors and other services, some tazdev 1.30 +is used. It is mostly all configured for the cooking version. Usage : 1.31 </p> 1.32 -<pre> $ echo 'export PATH=/home/slitaz/scripts:$PATH' >> ~/.profile 1.33 -</pre> 1.34 -<p> 1.35 -Each script should have a tiny help file and description, if not, just open: 1.36 -</p> 1.37 -<pre> $ cd /home/slitaz/scripts && ls 1.38 - $ ./script.sh help 1.39 +<pre> 1.40 + $ tazdev usage 1.41 </pre> 1.42 1.43 <a name="undigest-pkgs"></a> 1.44 @@ -86,11 +79,11 @@ 1.45 <pre> $ ln -s /home/slitaz/cooking/chroot/home/undigest . 1.46 </pre> 1.47 <p> 1.48 -You can copy files with gFTP-sftp-scp directly into the wok or from the 1.49 +You can copy files with gFTP-sftp-scp directly into the wok or from the 1.50 current directory: 1.51 </p> 1.52 <pre> $ cp -a package undigest/wok 1.53 - $ su -c chroot.sh 1.54 + $ su -c "tazdev chroot" 1.55 /# cd home/undigest 1.56 /# tazwok cook package 1.57 /# exit 1.58 @@ -101,29 +94,31 @@ 1.59 <h3>Cooking official packages</h3> 1.60 <p> 1.61 Maintainers have root access and some have write access to the 1.62 -main mirror at mirror.slitaz.org, if you want to help in this task please 1.63 +main mirror at mirror.slitaz.org, if you want to help in this task please 1.64 contact one of the active developers (check hg repos). 1.65 </p> 1.66 <p> 1.67 -Everything is cooked in a chroot environment, the default path for the main 1.68 -wok is /home/slitaz. Some changes can be made directly in this wok: the 1.69 -real Hg is out of the chroot and copied in the chroot with wok.sh: 1.70 +Everything is cooked in a chroot environment, the default path for the build 1.71 +wok is $CHROOT/home/slitaz/wok. Some changes can be made directly in this wok: the 1.72 +real Hg is copied in the chroot by tazbb (Build Bot). To chroot in cooking : 1.73 </p> 1.74 -<pre> # wok.sh hgup 1.75 - # chroot.sh 1.76 +<pre> 1.77 + # tazdev chroot 1.78 </pre> 1.79 <p> 1.80 -Cook all missing packages, one by one or with 'tazwok cmp --cook', note 1.81 -that comparison (cmp) it not required if you know which packages to 1.82 -cook: 1.83 +Cook all last commited packages or cook everything with 'cook-all', note 1.84 +that comparison it not required if you know which packages to cook. If you 1.85 +want to force a cook of some package by tazbb you can clean then with tazwok. 1.86 +By default cook only last commit : 1.87 </p> 1.88 -<pre> /# tazwok cmp 1.89 - /# tazwok cook package-name 1.90 +<pre> 1.91 + /# tazbb cook-commit 1.92 </pre> 1.93 <p> 1.94 -Remove all the old packages and then rebuild the lists: 1.95 +Tip: Remove all the old packages and then rebuild the lists manually: 1.96 </p> 1.97 -<pre> /# tazwok cmp --remove 1.98 +<pre> 1.99 + /# tazwok cmp --remove 1.100 /# tazwok gen-list --text 1.101 /# exit 1.102 </pre> 1.103 @@ -138,7 +133,8 @@ 1.104 Packages for the stable release are also built in a chroot environment like 1.105 the Cooking packages: 1.106 </p> 1.107 -<pre> # chroot.sh stable 1.108 +<pre> 1.109 + # tazdev chroot stable 1.110 </pre> 1.111 1.112 <a name="mirror-up"></a> 1.113 @@ -146,7 +142,8 @@ 1.114 <p> 1.115 Mirror maintainers can upload by hand with the script mirror.sh: 1.116 </p> 1.117 -<pre> # mirror.sh help 1.118 +<pre> 1.119 + # tazdev -p `echo $USER` 1.120 </pre> 1.121 1.122 <a name="website-up"></a> 1.123 @@ -155,8 +152,8 @@ 1.124 The Website and packages web interface are updated nightly by cron and can 1.125 also be updated by hand (used on the day of release for example): 1.126 </p> 1.127 -<pre> # website.sh up 1.128 - # website.sh help 1.129 +<pre> 1.130 + # tazdev update-website 1.131 </pre> 1.132 1.133 <!-- End of content --> 1.134 @@ -165,7 +162,7 @@ 1.135 <!-- Footer. --> 1.136 <div id="footer"> 1.137 <div class="footer-right"></div> 1.138 - <a href="#top">Top of the page</a> | 1.139 + <a href="#top">Top of the page</a> | 1.140 <a href="index.html">Table of contents</a> 1.141 </div> 1.142