# HG changeset patch # User Christophe Lincoln # Date 1238199301 -3600 # Node ID ad6c381b294afe8fc6f72fd6ef32ab0c8dafe792 # Parent 06ff692df9a8ba7474e5803921543b54d5e0f026 en/cookbook: Add Build host info and howto diff -r 06ff692df9a8 -r ad6c381b294a en/doc/cookbook/build-host.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/en/doc/cookbook/build-host.html Sat Mar 28 01:15:01 2009 +0100 @@ -0,0 +1,192 @@ + + + + SliTaz Cookbook (en) - Build Host + + + + + + + + + + + + + + + +
+
+ +

SliTaz Build Host (tank)

+ +

+SliTaz build host info and howto. +

+ + + + +

Folders in: /home/slitaz

+ + + +

Using scripts: /home/slitaz/scripts

+

+To help maintaining the mirror, flavors and other services some scripts +are used, there are mostly all configured for the cooking version. To +add them to your default path: +

+
+ $ echo 'export PATH=/home/slitaz/scripts:$PATH' >> ~/.profile
+
+

+Each script should have a small help and description, if none, just open +it: +

+
+ $ cd /home/slitaz/script && ls
+ $ ./script.sh help
+
+ + +

Cooking undigest packages

+

+You can use the undigest wok in the chroot environement to cook some +non supported packages. If you maintain official packages and they cook +succefully on tank you can test it on your local machine and then commit +in the official wok. Mirror maintainers will then rebuild and upload the +packages on mirror.slitaz.org. +

+

+To build packages in the undigest wok and in the chroot environement, +some commands are better than a long text: +

+
+ $ ln -s /home/slitaz/cooking/chroot/home/undigest .
+
+

+You can copy file with gFTP-sftp-scp directly in the wok or from the +current directory: +

+
+ $ cp -a package undigest/wok
+ $ su -c chroot.sh
+ /# cd home/undigest
+ /# tazwok cook package
+ /# exit
+ $ ls undigest/packages
+
+ + +

Cooking official packages

+

+Mirror maintainers have root access and some have write access to the +main mirror at mirror.slitaz.org, if you want to help in this task please +contact one of the most active developpers (check hg repos). +

+

+Everything is cook in a chroot environement, default path for the main +wok is /home/slitaz, some changes can be done directly in this wok, the +real Hg is out of the chroot and copied in the chroot with wok.sh: +

+
+ # wok.sh hgup
+ # chroot.sh
+
+

+Cook all missing packages, one by one or with 'tazwok cmp --cook', note +that comparaison it not requiert, if you know witch packages you must +cook: +

+
+ /# tazwok cmp
+ /# tazwok cook package-name
+
+

+Remove all old packages and then rebuild the lists: +

+
+ /# tazwok cmp --remove
+ /# tazwok gen-list --text
+ /# exit
+
+

+If you have write access to the mirror you can make a dry-push to check +and then upload, push will also remove old packages on the mirror. +

+ + +

Stable packages

+

+Packages for the stable release are build in a chroot environement like +the Cooking packages. +

+
+ # chroot.sh stable
+
+ + +

Upload by hand on mirror.slitaz.org

+

+Mirror maintainers can upload by hand with the script mirror.sh: +

+
+ # mirror.sh help
+
+ + +

Update website by hand

+

+Wesite and packages web interface are updated nightly by cron and can +also be update by hand (used the day of release for example): +

+
+ # website.sh up
+ # website.sh help
+
+ + +
+ + + + +
+ Copyright © 2009 SliTaz - + GNU General Public License;
+ Documentation is under + GNU Free Documentation License + and code is valid xHTML 1.0. +
+ + + diff -r 06ff692df9a8 -r ad6c381b294a en/doc/cookbook/index.html --- a/en/doc/cookbook/index.html Fri Mar 27 22:03:09 2009 +0100 +++ b/en/doc/cookbook/index.html Sat Mar 28 01:15:01 2009 +0100 @@ -34,14 +34,14 @@

About this Cookbook

-

The Cookbook brings together information about the project management, operation and development of the distribution. It talks about creating packages, receipts, the wok, diff -r 06ff692df9a8 -r ad6c381b294a en/doc/cookbook/receipts.html --- a/en/doc/cookbook/receipts.html Fri Mar 27 22:03:09 2009 +0100 +++ b/en/doc/cookbook/receipts.html Sat Mar 28 01:15:01 2009 +0100 @@ -18,7 +18,7 @@