tazlito rev 212
Use /home/slitaz/VERSION as work directory
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 24 14:08:19 2011 +0100 (2011-02-24) |
parents | deb4940afbdd |
children | 781cbd98dd52 |
files | doc/tazlito.en.html doc/tazlito.fr.html doc/tazlito.pt.html tazlito.conf |
line diff
1.1 --- a/doc/tazlito.en.html Thu Feb 24 13:45:28 2011 +0100 1.2 +++ b/doc/tazlito.en.html Thu Feb 24 14:08:19 2011 +0100 1.3 @@ -202,9 +202,10 @@ 1.4 <h3>extract-flavor</h3> 1.5 <p> 1.6 The 'extract-flavor' command converts a flavor into an easily modifiable 1.7 -tree structure in /home/slitaz/flavors which can be managed with 1.8 +tree structure in /home/slitaz/VERSION/flavors which can be managed with 1.9 mercurial: 1.10 <a href="http://hg.slitaz.org/flavors">http://hg.slitaz.org/flavors</a>. 1.11 +For example on cooking you will have the work directory in /home/slitaz/cooking. 1.12 </p> 1.13 <pre> 1.14 # tazlito extract-flavor this-flavor 1.15 @@ -213,7 +214,7 @@ 1.16 <a name="pack-flavor"></a> 1.17 <h3>pack-flavor</h3> 1.18 <p> 1.19 -The 'pack-flavor' command converts a tree structure in /home/slitaz/flavors 1.20 +The 'pack-flavor' command converts a tree structure in /home/slitaz/VERSION/flavors 1.21 into a flavor file (.flavor). It is inverse of 'tazlito extract-flavor': 1.22 </p> 1.23 <pre>
2.1 --- a/doc/tazlito.fr.html Thu Feb 24 13:45:28 2011 +0100 2.2 +++ b/doc/tazlito.fr.html Thu Feb 24 14:08:19 2011 +0100 2.3 @@ -213,8 +213,9 @@ 2.4 <h3>extract-flavor</h3> 2.5 <p> 2.6 La commande 'extract-flavor' convertit une saveur en une arborescence 2.7 -facilement modifiable dans /home/slitaz/flavors/'saveur' qui pourra être gérée 2.8 -avec Mercurial dans http://hg.slitaz.org/flavors. 2.9 +facilement modifiable dans /home/slitaz/VERSION/flavors qui pourra être gérée 2.10 +avec Mercurial dans <a href="http://hg.slitaz.org/flavors">http://hg.slitaz.org/flavors</a>. 2.11 +Par exemple sur une cooking le répértoire de travail sera /home/slitaz/cooking/flavors. 2.12 </p> 2.13 <pre> 2.14 # tazlito extract-flavor une-saveur 2.15 @@ -223,7 +224,7 @@ 2.16 <a name="pack-flavor"></a> 2.17 <h3>pack-flavor</h3> 2.18 <p> 2.19 -La commande 'pack-flavor' convertit une arborescence de /home/slitaz/flavors/ 2.20 +La commande 'pack-flavor' convertit une arborescence de /home/slitaz/VERSION/flavors 2.21 en saveur (.flavor). Soit l'opération inverse de <i>tazlito extract-flavor</i>. 2.22 </p> 2.23 <pre>
3.1 --- a/doc/tazlito.pt.html Thu Feb 24 13:45:28 2011 +0100 3.2 +++ b/doc/tazlito.pt.html Thu Feb 24 14:08:19 2011 +0100 3.3 @@ -198,7 +198,7 @@ 3.4 <h3>extract-flavor</h3> 3.5 <p> 3.6 O comando 'extract-flavor' converte um flavor em uma estrutura de pastas 3.7 -facilmente modificável em /home/slitaz/flavors que pode ser ser 3.8 +facilmente modificável em /home/slitaz/VERSION/flavors que pode ser ser 3.9 gerenciada com o mercurial: 3.10 <a href="http://hg.slitaz.org/flavors">http://hg.slitaz.org/flavors</a>. 3.11 </p> 3.12 @@ -209,9 +209,9 @@ 3.13 <a name="pack-flavor"></a> 3.14 <h3>pack-flavor</h3> 3.15 <p> 3.16 -Este comando converte uma estrutura de pastas encontrada em /home/slitaz/flavors 3.17 -em um arquivo de variante (.flavor). É o inverso do que o comando 3.18 -'extract-flavor' faz: 3.19 +Este comando converte uma estrutura de pastas encontrada em 3.20 +/home/slitaz/VERSION/flavors em um arquivo de variante (.flavor). É o 3.21 +inverso do que o comando 'extract-flavor' faz: 3.22 </p> 3.23 <pre> 3.24 # tazlito pack-flavor this-flavor
4.1 --- a/tazlito.conf Thu Feb 24 13:45:28 2011 +0100 4.2 +++ b/tazlito.conf Thu Feb 24 14:08:19 2011 +0100 4.3 @@ -2,8 +2,11 @@ 4.4 # configuration file. 4.5 # 4.6 4.7 +# SliTaz version use for ISO name and files path. 4.8 +SLITAZ_VERSION=`cat /etc/slitaz-release` 4.9 + 4.10 # Name of the ISO image to generate. 4.11 -ISO_NAME="slitaz" 4.12 +ISO_NAME="slitaz-$SLITAZ_VERSION" 4.13 #ISO_NAME="slitaz-cooking-`date +%Y%m%d`" 4.14 4.15 # ISO image volume name. 4.16 @@ -12,14 +15,17 @@ 4.17 # Name of the preparer. 4.18 PREPARED="$USER" 4.19 4.20 +# Tazlito work directory with flavors, distro and packages files. 4.21 +WORK_DIR="/home/slitaz/$SLITAZ_VERSION" 4.22 + 4.23 # Path to the packages repository and the packages.list. 4.24 -PACKAGES_REPOSITORY="/home/slitaz/packages" 4.25 +PACKAGES_REPOSITORY="$WORK_DIR/packages" 4.26 4.27 # Path to the distro tree to gen-distro from a list of packages. 4.28 -DISTRO="/home/slitaz/distro" 4.29 +DISTRO="$WORK_DIR/distro" 4.30 4.31 # Path to the LiveCD flavors files (http://hg.slitaz.org/flavors) 4.32 -FLAVORS_REPOSITORY=/home/slitaz/flavors 4.33 +FLAVORS_REPOSITORY=$WORK_DIR/flavors 4.34 4.35 # Path to the directory containing additional files 4.36 # to copy into the rootfs and rootcd of the LiveCD.