tazlito rev 314 5.1.2
Apply common stylesheet for docs; reformatting of html code.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 04 22:59:48 2013 +0000 (2013-05-04) |
parents | e2efb1cdddd3 |
children | d79156b12816 |
files | doc/style.css doc/tazlito.en.html doc/tazlito.fr.html doc/tazlito.pt.html |
line diff
1.1 --- a/doc/style.css Sun Feb 17 16:23:02 2013 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,48 +0,0 @@ 1.4 -/* CSS style for SliTaz Doc */ 1.5 - 1.6 -html { min-height: 102%; } 1.7 -body { font: 88% sans-serif, vernada, arial; margin: 0; } 1.8 -h1 { margin: 0; padding: 8px; color: #fff; font-size: 20px; } 1.9 -h2 { color: #d66018; } h3 { color: #666; font-size: 140%; } 1.10 -a:hover { text-decoration: none; } 1.11 -img { border: 0pt none; vertical-align: middle; } 1.12 -pre { 1.13 - background-color: #f8f8f8; 1.14 - border: 1px solid #ddd; 1.15 - padding: 10px; 1.16 - border-radius: 4px; 1.17 -} 1.18 - 1.19 -#header { 1.20 - background: #351a0a; 1.21 - height: 40px; 1.22 - border-bottom: 8px solid #d66018; 1.23 -} 1.24 - 1.25 -#content { 1.26 - margin: 40px 80px; 1.27 - text-align: justify; 1.28 -} 1.29 - 1.30 -#footer { 1.31 - text-align: center; 1.32 - padding: 20px; 1.33 - border-top: 1px solid #ddd; 1.34 -} 1.35 - 1.36 -/* Languages */ 1.37 - 1.38 -#lang { 1.39 - float: right; 1.40 - padding: 6px; 1.41 - font-size: 11px; 1.42 -} 1.43 - 1.44 -#lang a { 1.45 - text-decoration: none; 1.46 - padding: 0 2px; 1.47 -} 1.48 - 1.49 -#lang a:hover { 1.50 - text-decoration: underline; 1.51 -}
2.1 --- a/doc/tazlito.en.html Sun Feb 17 16:23:02 2013 +0100 2.2 +++ b/doc/tazlito.en.html Sat May 04 22:59:48 2013 +0000 2.3 @@ -1,378 +1,377 @@ 2.4 <!DOCTYPE html> 2.5 <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> 2.6 <head> 2.7 - <title>TazLito Manual - SliTaz Live Tool</title> 2.8 <meta charset="utf-8" /> 2.9 + <title>TazLito Manual—SliTaz Live Tool</title> 2.10 <link rel="shortcut icon" href="favicon.ico" /> 2.11 - <link rel="stylesheet" type="text/css" href="style.css" /> 2.12 + <link rel="stylesheet" type="text/css" href="../slitaz-doc.css" /> 2.13 + <script type="text/javascript" src="../slitaz-doc.js"></script> 2.14 </head> 2.15 <body> 2.16 2.17 -<!-- Header --> 2.18 -<div id="header"> 2.19 +<header> 2.20 <h1>Tazlito Manual</h1> 2.21 -</div> 2.22 +</header> 2.23 2.24 <!-- Start content --> 2.25 <div id="content"> 2.26 2.27 <h2>NAME</h2> 2.28 -<p> 2.29 -Tazlito - SliTaz Live Tool. 2.30 -</p> 2.31 + 2.32 +<p>Tazlito—SliTaz Live Tool.</p> 2.33 + 2.34 2.35 <h2>SYNTAX</h2> 2.36 + 2.37 <pre> 2.38 tazlito [command] [list|iso|flavor] [dir] 2.39 </pre> 2.40 2.41 + 2.42 <h2>DESCRIPTION</h2> 2.43 -<p> 2.44 -Tazlito is a small utility to extract a LiveCD, rebuild the 2.45 -ISO image and regenerate the root filesystem of the LiveCD. 2.46 -Tazlito can also generate a distribution from a list of packages 2.47 -previously downloaded. To run, Tazlito uses the configuration file 2.48 -/etc/tazlito/tazlito.conf or an easily generated tazlito.conf 2.49 -found in the current directory. 2.50 -It specifies the name of the ISO, volume, maintainer and 2.51 -the paths of the packages to distribute and the generated ISO. 2.52 -Tazlito can also set up a directory containing additional files 2.53 -which will be copied to the LiveCD when generating the distribution. 2.54 -</p> 2.55 -<p> 2.56 -Tazlito is distributed under the free GNU licence GPL V3, 2.57 -installed by default on SliTaz and installed/sucessfully tested 2.58 -on Debian GNU/Linux. You will find additional information 2.59 -about creating a LiveCD in the Handbook. 2.60 -</p> 2.61 + 2.62 +<p>Tazlito is a small utility to extract a LiveCD, rebuild the ISO image and 2.63 +regenerate the root filesystem of the LiveCD. Tazlito can also generate 2.64 +a distribution from a list of packages previously downloaded. To run, Tazlito 2.65 +uses the configuration file <tt>/etc/tazlito/tazlito.conf</tt> or an easily 2.66 +generated <tt>tazlito.conf</tt> found in the current directory. It specifies 2.67 +the name of the ISO, volume, maintainer and the paths of the packages 2.68 +to distribute and the generated ISO. Tazlito can also set up a directory 2.69 +containing additional files which will be copied to the LiveCD when generating 2.70 +the distribution.</p> 2.71 +<p>Tazlito is distributed under the free GNU licence GPL v.3, installed 2.72 +by default on SliTaz and installed/sucessfully tested on Debian GNU/Linux. You 2.73 +will find additional information about creating a LiveCD in the Handbook.</p> 2.74 + 2.75 2.76 <h2>COMMANDS</h2> 2.77 2.78 -<a name="usage"></a> 2.79 -<h3>usage</h3> 2.80 -<p> 2.81 -The 'usage' command displays a summary of available commands 2.82 -with a short description: 2.83 -</p> 2.84 + 2.85 +<h3 id="usage">usage</h3> 2.86 + 2.87 +<p>The <code>usage</code> command displays a summary of available commands with 2.88 +a short description:</p> 2.89 + 2.90 <pre> 2.91 - # tazlito usage 2.92 +# tazlito usage 2.93 </pre> 2.94 2.95 -<a name="stats"></a> 2.96 -<h3>stats</h3> 2.97 -<p> 2.98 -Stats displays the configuration variables, the paths to the 2.99 -various files and directories, and information on the ISO image: 2.100 -</p> 2.101 + 2.102 +<h3 id="stats">stats</h3> 2.103 + 2.104 +<p><code>stats</code> displays the configuration variables, the paths to the 2.105 +various files and directories, and information on the ISO image:</p> 2.106 + 2.107 <pre> 2.108 - # tazlito stats 2.109 +# tazlito stats 2.110 </pre> 2.111 2.112 -<a name="gen-config"></a> 2.113 -<h3>gen-config</h3> 2.114 -<p> 2.115 -The 'gen-config' command allows you to generate a configuration 2.116 -file ready to be edited. By default the file is created in 2.117 -the current directory, but can be in another directory 2.118 -if specified via the command line: 2.119 -</p> 2.120 + 2.121 +<h3 id="gen-config">gen-config</h3> 2.122 + 2.123 +<p>The <code>gen-config</code> command allows you to generate a configuration 2.124 +file ready to be edited. By default the file is created in the current 2.125 +directory, but can be in another directory if specified via the command line:</p> 2.126 + 2.127 <pre> 2.128 - # tazlito gen-config 2.129 - # tazlito gen-config /path/to/distro 2.130 +# tazlito gen-config 2.131 +# tazlito gen-config <em>/path/to/distro</em> 2.132 </pre> 2.133 2.134 -<a name="configure"></a> 2.135 -<h3>configure</h3> 2.136 -<p> 2.137 -This command configures the system configuration 2.138 -file or one found in the current directory: 2.139 -</p> 2.140 + 2.141 +<h3 id="configure">configure</h3> 2.142 + 2.143 +<p>This command configures the system configuration file or one found in the 2.144 +current directory:</p> 2.145 + 2.146 <pre> 2.147 - # tazlito configure 2.148 +# tazlito configure 2.149 </pre> 2.150 2.151 -<a name="gen-iso"></a> 2.152 -<h3>gen-iso</h3> 2.153 -<p> 2.154 -The 'gen-iso' command can generate a 2.155 -new LiveCD image following modifications and additions to the 2.156 -root filesystem of the cdrom. To function, this command needs 2.157 -a directory containing the distro-tree of the Live system. 2.158 -This tree can easily be built with the 'extract-distro' command, 2.159 -modified and rebuilt via: 2.160 -</p> 2.161 + 2.162 +<h3 id="gen-iso">gen-iso</h3> 2.163 + 2.164 +<p>The <code>gen-iso</code> command can generate a new LiveCD image following 2.165 +modifications and additions to the root filesystem of the CD-ROM. To function, 2.166 +this command needs a directory containing the distro-tree of the Live system. 2.167 +This tree can easily be built with the 2.168 +<a href="#extract-distro"><code>extract-distro</code></a> command, modified and 2.169 +rebuilt via:</p> 2.170 + 2.171 <pre> 2.172 - # tazlito gen-iso 2.173 +# tazlito gen-iso 2.174 </pre> 2.175 2.176 -<a name="gen-initiso"></a> 2.177 -<h3>gen-initiso</h3> 2.178 -<p> 2.179 -The 'gen'initso' command will do the same work as 'gen-iso', 2.180 -but it rebuilds the initramfs compressed system prior. 2.181 -The initramfs contains the root filesystem and 2.182 -must be rebuilt if modified: 2.183 -</p> 2.184 + 2.185 +<h3 id="gen-initiso">gen-initiso</h3> 2.186 + 2.187 +<p>The <code>gen-initiso</code> command will do the same work as 2.188 +<code>gen-iso</code>, but it rebuilds the initramfs compressed system prior. 2.189 +The initramfs contains the root filesystem and must be rebuilt if modified:</p> 2.190 + 2.191 <pre> 2.192 - # tazlito gen-initiso 2.193 +# tazlito gen-initiso 2.194 </pre> 2.195 2.196 -<a name="list-flavors"></a> 2.197 -<h3>list-flavors</h3> 2.198 -<p> 2.199 -The 'list-flavors' command downloads (if necessary) and displays 2.200 -a list of the different flavors available. You can force the 2.201 -download with the --recharge option: 2.202 -</p> 2.203 + 2.204 +<h3 id="list-flavors">list-flavors</h3> 2.205 + 2.206 +<p>The <code>list-flavors</code> command downloads (if necessary) and displays 2.207 +a list of the different flavors available. You can force the download with the 2.208 +<code>--recharge</code> option:</p> 2.209 + 2.210 <pre> 2.211 - # tazlito list-flavors 2.212 - # tazlito list-flavors --recharge 2.213 +# tazlito list-flavors 2.214 +# tazlito list-flavors --recharge 2.215 </pre> 2.216 2.217 -<a name="get-flavors"></a> 2.218 -<h3>get-flavor</h3> 2.219 -<p> 2.220 -The 'get-flavor' command downloads (if necessary) and prepares the 2.221 -files for 'gen-distro' to generate a flavor: 2.222 -</p> 2.223 + 2.224 +<h3 id="get-flavor">get-flavor</h3> 2.225 + 2.226 +<p>The <code>get-flavor</code> command downloads (if necessary) and prepares the 2.227 +files for <a href="#gen-distro"><code>gen-distro</code></a> to generate 2.228 +a flavor:</p> 2.229 + 2.230 <pre> 2.231 - # tazlito get-flavor particular-flavor 2.232 +# tazlito get-flavor <em>particular-flavor</em> 2.233 </pre> 2.234 2.235 -<a name="show-flavors"></a> 2.236 -<h3>show-flavor</h3> 2.237 -<p> 2.238 -The 'show-flavor' command displays the description of the 2.239 -flavor and its size after regeneration. The options 2.240 ---brief and --noheader reduce the output displayed: 2.241 -</p> 2.242 + 2.243 +<h3 id="show-flavors">show-flavor</h3> 2.244 + 2.245 +<p>The <code>show-flavor</code> command displays the description of the flavor 2.246 +and its size after regeneration. The options <code>--brief</code> and 2.247 +<code>--noheader</code> reduce the output displayed:</p> 2.248 + 2.249 <pre> 2.250 - # tazlito show-flavor particular-flavor 2.251 - # tazlito show-flavor particular-flavor --brief 2.252 - # tazlito show-flavor particular-flavor --brief --noheader 2.253 +# tazlito show-flavor <em>particular-flavor</em> 2.254 +# tazlito show-flavor <em>particular-flavor</em> --brief 2.255 +# tazlito show-flavor <em>particular-flavor</em> --brief --noheader 2.256 </pre> 2.257 2.258 -<a name="gen-flavor"></a> 2.259 -<h3>gen-flavor</h3> 2.260 -<p> 2.261 -The 'gen-flavor' command creates a description file of a new 2.262 -flavor from the results of generating a distro (gen-distro). 2.263 -The .flavor file can then be sent to slitaz.org: 2.264 -</p> 2.265 + 2.266 +<h3 id="gen-flavor">gen-flavor</h3> 2.267 + 2.268 +<p>The <code>gen-flavor</code> command creates a description file of a new 2.269 +flavor from the results of generating a distro 2.270 +(<a href="#gen-distro"><code>gen-distro</code></a>). The <tt>.flavor</tt> file 2.271 +can then be sent to slitaz.org:</p> 2.272 + 2.273 <pre> 2.274 - # tazlito gen-flavor new-flavor 2.275 +# tazlito gen-flavor <em>new-flavor</em> 2.276 </pre> 2.277 2.278 -<a name="gen-liveflavor"></a> 2.279 -<h3>gen-liveflavor</h3> 2.280 -<p> 2.281 -The 'gen-liveflavor' command creates a description file of a new 2.282 -flavor from the results of generating a distro based on the 2.283 -current system. The --help option provides more information: 2.284 -</p> 2.285 -<pre> # tazlito gen-liveflavor 2.286 - # tazlito gen-liveflavor --help 2.287 + 2.288 +<h3 id="gen-liveflavor">gen-liveflavor</h3> 2.289 + 2.290 +<p>The <code>gen-liveflavor</code> command creates a description file of a new 2.291 +flavor from the results of generating a distro based on the current system. The 2.292 +<code>--help</code> option provides more information:</p> 2.293 + 2.294 +<pre> 2.295 +# tazlito gen-liveflavor 2.296 +# tazlito gen-liveflavor --help 2.297 </pre> 2.298 2.299 -<a name="upgrade-flavor"></a> 2.300 -<h3>upgrade-flavor</h3> 2.301 -<p> 2.302 -The `upgrade-flavor' command refreshes a flavor file by updating the 2.303 -list of packages with the latest versions available: 2.304 -</p> 2.305 + 2.306 +<h3 id="upgrade-flavor">upgrade-flavor</h3> 2.307 + 2.308 +<p>The <code>upgrade-flavor</code> command refreshes a flavor file by updating 2.309 +the list of packages with the latest versions available:</p> 2.310 + 2.311 <pre> 2.312 - # tazlito upgrade-flavor this-flavor 2.313 +# tazlito upgrade-flavor <em>this-flavor</em> 2.314 </pre> 2.315 2.316 -<a name="extract-flavor"></a> 2.317 -<h3>extract-flavor</h3> 2.318 -<p> 2.319 -The 'extract-flavor' command converts a flavor into an easily modifiable 2.320 -tree structure in /home/slitaz/VERSION/flavors which can be managed with 2.321 -mercurial: 2.322 -<a href="http://hg.slitaz.org/flavors">http://hg.slitaz.org/flavors</a>. 2.323 -For example on cooking you will have the work directory in /home/slitaz/cooking. 2.324 -</p> 2.325 + 2.326 +<h3 id="extract-flavor">extract-flavor</h3> 2.327 + 2.328 +<p>The <code>extract-flavor</code> command converts a flavor into an easily 2.329 +modifiable tree structure in <tt>/home/slitaz/VERSION/flavors</tt> which can be 2.330 +managed with mercurial: 2.331 +<a href="http://hg.slitaz.org/flavors">http://hg.slitaz.org/flavors</a>. For 2.332 +example on cooking you will have the work directory in 2.333 +<tt>/home/slitaz/cooking</tt>.</p> 2.334 + 2.335 <pre> 2.336 - # tazlito extract-flavor this-flavor 2.337 +# tazlito extract-flavor <em>this-flavor</em> 2.338 </pre> 2.339 2.340 -<a name="pack-flavor"></a> 2.341 -<h3>pack-flavor</h3> 2.342 -<p> 2.343 -The 'pack-flavor' command converts a tree structure in /home/slitaz/VERSION/flavors 2.344 - into a flavor file (.flavor). It is inverse of 'tazlito extract-flavor': 2.345 -</p> 2.346 + 2.347 +<h3 id="pack-flavor">pack-flavor</h3> 2.348 + 2.349 +<p>The <code>pack-flavor</code> command converts a tree structure in 2.350 +<tt>/home/slitaz/VERSION/flavors</tt> into a flavor file (<tt>.flavor</tt>). 2.351 +It is inverse of 2.352 +<a href="#extract-flavor"><code>tazlito extract-flavor</code></a>:</p> 2.353 + 2.354 <pre> 2.355 - # tazlito pack-flavor this-flavor 2.356 +# tazlito pack-flavor <em>this-flavor</em> 2.357 </pre> 2.358 2.359 -<a name="extract-distro"></a> 2.360 -<h3>extract-distro</h3> 2.361 -<p> 2.362 -The 'extract-distro' command is used to extract an ISO image 2.363 -from the LiveCD to rebuild the structure of the root cdrom 2.364 -and system. It is then possible to make the desired changes 2.365 -or additions and rebuild the ISO image via 'gen-iso' or 2.366 -'gen-initiso'. Example of use: 2.367 -</p> 2.368 + 2.369 +<h3 id="extract-distro">extract-distro</h3> 2.370 + 2.371 +<p>The <code>extract-distro</code> command is used to extract an ISO image from 2.372 +the LiveCD to rebuild the structure of the root CD-ROM and system. It is then 2.373 +possible to make the desired changes or additions and rebuild the ISO image via 2.374 +<a href="#gen-iso"><code>gen-iso</code></a> or 2.375 +<a href="#gen-initiso"><code>gen-initiso</code></a>. Example of use:</p> 2.376 + 2.377 <pre> 2.378 - # tazlito extract-distro slitaz-cooking.iso 2.379 +# tazlito extract-distro <em>slitaz-cooking.iso</em> 2.380 </pre> 2.381 2.382 -<a name="gen-distro"></a> 2.383 -<h3>gen-distro</h3> 2.384 -<p> 2.385 -The <em>Generate Distribution</em> command can generate the 2.386 -distro-tree and an ISO image via a list of packages. To function, 2.387 -this command needs a list of packages, a directory containing 2.388 -all the (.tazpkg) packages on the list, and a directory to 2.389 -generate the distribution. The list of packages can be extracted 2.390 -from a flavor with the 'get-flavor' command. If one uses the 2.391 -LiveCD, the options --cdrom and --iso= permit the regeneration 2.392 -of packages that place files in /boot without being obliged 2.393 -to download them and recovers the additional files of the 2.394 -LiveCD. The path to the various directories are configured 2.395 -in the configuration file and packages can be downloaded 2.396 -from the SliTaz mirrors or generated by Cookutils. To generate 2.397 -a distribution: 2.398 -</p> 2.399 + 2.400 +<h3 id="gen-distro">gen-distro</h3> 2.401 + 2.402 +<p>The <em>Generate Distribution</em> command can generate the distro-tree and 2.403 +an ISO image via a list of packages. To function, this command needs a list of 2.404 +packages, a directory containing all the (<tt>.tazpkg</tt>) packages on the 2.405 +list, and a directory to generate the distribution. The list of packages can be 2.406 +extracted from a flavor with the 2.407 +<a href="#get-flavor"><code>get-flavor</code></a> command. If one uses the 2.408 +LiveCD, the options <code>--cdrom</code> and <code>--iso=</code> permit the 2.409 +regeneration of packages that place files in <tt>/boot</tt> without being 2.410 +obliged to download them and recovers the additional files of the LiveCD. The 2.411 +path to the various directories are configured in the configuration file and 2.412 +packages can be downloaded from the SliTaz mirrors or generated by Cookutils. 2.413 +To generate a distribution:</p> 2.414 + 2.415 <pre> 2.416 - # tazlito gen-distro 2.417 - # tazlito gen-distro --cdrom 2.418 - # tazlito gen-distro --iso=slitaz.iso 2.419 - # tazlito gen-distro package-list 2.420 +# tazlito gen-distro 2.421 +# tazlito gen-distro --cdrom 2.422 +# tazlito gen-distro --iso=<em>slitaz.iso</em> 2.423 +# tazlito gen-distro <em>package-list</em> 2.424 </pre> 2.425 2.426 -<a name="clean-distro"></a> 2.427 -<h3>clean-distro</h3> 2.428 -<p> 2.429 -Removes all files generated or extracts of the structure 2.430 -of the LiveCD: 2.431 -</p> 2.432 + 2.433 +<h3 id="clean-distro">clean-distro</h3> 2.434 + 2.435 +<p>Removes all files generated or extracts of the structure of the LiveCD:</p> 2.436 + 2.437 <pre> 2.438 - # tazlito clean-distro 2.439 +# tazlito clean-distro 2.440 </pre> 2.441 2.442 -<a name="check-distro"></a> 2.443 -<h3>check-distro</h3> 2.444 -<p> 2.445 -This command simply verifies if files installed 2.446 -by the packages are present on the system: 2.447 -</p> 2.448 + 2.449 +<h3 id="check-distro">check-distro</h3> 2.450 + 2.451 +<p>This command simply verifies if files installed by the packages are present 2.452 +on the system:</p> 2.453 + 2.454 <pre> 2.455 - # tazlito check-distro 2.456 +# tazlito check-distro 2.457 </pre> 2.458 2.459 -<a name="writeiso"></a> 2.460 -<h3>writeiso</h3> 2.461 -<p> 2.462 -This command will write the current filesystem to a cpio archive 2.463 -(rootfs.gz) and then generate a bootable ISO image. Writeiso can 2.464 -be used in a HD install or in live mode and will also archive your 2.465 -current /home directory. This command lets you easily remaster and 2.466 -build your own LiveCD image, just boot, modify any files, and then: 2.467 2.468 -</p> 2.469 +<h3 id="writeiso">writeiso</h3> 2.470 + 2.471 +<p>This command will write the current filesystem to a cpio archive 2.472 +(<tt>rootfs.gz</tt>) and then generate a bootable ISO image. Writeiso can be 2.473 +used in a HD install or in live mode and will also archive your current 2.474 +<tt>/home</tt> directory. This command lets you easily remaster and build your 2.475 +own LiveCD image, just boot, modify any files, and then:</p> 2.476 + 2.477 <pre> 2.478 - # tazlito writeiso [gzip|lzma|none] 2.479 - # tazlito writeiso gzip 2.480 - # tazlito writeiso gzip image-name 2.481 +# tazlito writeiso [gzip|lzma|none] 2.482 +# tazlito writeiso gzip 2.483 +# tazlito writeiso gzip <em>image-name</em> 2.484 </pre> 2.485 2.486 -<a name="frugal-install"></a> 2.487 -<h3>frugal-install</h3> 2.488 -<p> 2.489 -Perfom a frugal installation into /boot/frugal and add a GRUB entry 2.490 -if needed. Frugal mode will make SliTaz work completely in memory 2.491 -(RAM) - useful to test a distro without burning an ISO or to have a 2.492 -rescue system ready to use when the computer powers on. To install 2.493 -all needed files from a distro tree or an ISO image: 2.494 -</p> 2.495 + 2.496 +<h3 id="frugal-install">frugal-install</h3> 2.497 + 2.498 +<p>Perfom a frugal installation into <tt>/boot/frugal</tt> and add a GRUB entry 2.499 +if needed. Frugal mode will make SliTaz work completely in memory (RAM)—useful 2.500 +to test a distro without burning an ISO or to have a rescue system ready to use 2.501 +when the computer powers on. To install all needed files from a distro tree or 2.502 +an ISO image:</p> 2.503 + 2.504 <pre> 2.505 - # tazlito frugal-install 2.506 - # tazlito -fi slitaz.iso 2.507 +# tazlito frugal-install 2.508 +# tazlito -fi <em>slitaz.iso</em> 2.509 </pre> 2.510 2.511 -<a name="check-list"></a> 2.512 -<h3>check-list</h3> 2.513 -<p> 2.514 -Checks if the distro-packages.list is updated with the latest package 2.515 -versions: 2.516 -</p> 2.517 + 2.518 +<h3 id="check-list">check-list</h3> 2.519 + 2.520 +<p>Checks if the <tt>distro-packages.list</tt> is updated with the latest 2.521 +package versions:</p> 2.522 + 2.523 <pre> 2.524 - # tazlito check-list 2.525 +# tazlito check-list 2.526 </pre> 2.527 2.528 -<a name="repack"></a> 2.529 -<h3>repack</h3> 2.530 -<p> 2.531 -Recompresses the rootfs with the best possible compression: 2.532 -</p> 2.533 + 2.534 +<h3 id="repack">repack</h3> 2.535 + 2.536 +<p>Recompresses the rootfs with the best possible compression:</p> 2.537 + 2.538 <pre> 2.539 - # tazlito repack slitaz.iso 2.540 +# tazlito repack <em>slitaz.iso</em> 2.541 </pre> 2.542 2.543 -<a name="merge"></a> 2.544 -<h3>merge</h3> 2.545 -<p> 2.546 -Combines several flavors like nested Russian dolls. Each rootfs is a 2.547 -subset of the previous. The first rootfs is extracted from the ISO image 2.548 -used in the third argument. The flavor will then be chosen to launch at 2.549 -startup according to the amount of RAM available: 2.550 -</p> 2.551 + 2.552 +<h3 id="merge">merge</h3> 2.553 + 2.554 +<p>Combines several flavors like nested Russian dolls. Each rootfs is a subset 2.555 +of the previous. The first rootfs is extracted from the ISO image used in the 2.556 +third argument. The flavor will then be chosen to launch at startup according 2.557 +to the amount of RAM available:</p> 2.558 + 2.559 <pre> 2.560 - # tazlito merge 160M slitaz-core.iso 96M rootfs-justx.gz 32M rootfs-base.gz 2.561 +# tazlito merge <em>160M slitaz-core.iso 96M rootfs-justx.gz 32M rootfs-base.gz</em> 2.562 </pre> 2.563 2.564 -<a name="build-loram"></a> 2.565 -<h3>build-loram</h3> 2.566 -<p> 2.567 -Creates an ISO image flavor for low ram systems from a SliTaz ISO image. 2.568 -You can build a flavor with / always in ram or where / resides on the cdrom: 2.569 -</p> 2.570 + 2.571 +<h3 id="build-loram">build-loram</h3> 2.572 + 2.573 +<p>Creates an ISO image flavor for low RAM systems from a SliTaz ISO image. You 2.574 +can build a flavor with <tt>/</tt> always in RAM or where <tt>/</tt> resides on 2.575 +the CD-ROM:</p> 2.576 + 2.577 <pre> 2.578 - # tazlito build-loram slitaz.iso loram.iso 2.579 - # tazlito build-loram slitaz.iso loram-cdrom.iso cdrom 2.580 +# tazlito build-loram <em>slitaz.iso loram.iso</em> 2.581 +# tazlito build-loram <em>slitaz.iso loram-cdrom.iso</em> cdrom 2.582 </pre> 2.583 2.584 -<a name="emu-iso"></a> 2.585 -<h3>emu-iso</h3> 2.586 -<p> 2.587 -The emu-iso command uses the Qemu emulator to start and run SliTaz. 2.588 -Qemu is used to test the newly built ISO image without burning to a 2.589 -cdrom or booting into frugal mode: 2.590 -</p> 2.591 + 2.592 +<h3 id="emu-iso">emu-iso</h3> 2.593 + 2.594 +<p>The <code>emu-iso</code> command uses the Qemu emulator to start and run 2.595 +SliTaz. Qemu is used to test the newly built ISO image without burning to a 2.596 +CD-ROM or booting into frugal mode:</p> 2.597 + 2.598 <pre> 2.599 - # tazlito emu-iso 2.600 - # tazlito emu-iso path/to/image.iso 2.601 +# tazlito emu-iso 2.602 +# tazlito emu-iso path/to/image.iso 2.603 </pre> 2.604 2.605 -<a name="burn-iso"></a> 2.606 -<h3>burn-iso</h3> 2.607 -<p> 2.608 -Burn-iso will guess the cdrom device and its speed, and wodim 2.609 -(part of cdrkit) will begin to burn an ISO image. The default 2.610 -ISO image is the one located in the current configuration file, 2.611 -but it's possible to specify a different image via the 2.612 -command line: 2.613 -</p> 2.614 + 2.615 +<h3 id="burn-iso">burn-iso</h3> 2.616 + 2.617 +<p><code>burn-iso</code> will guess the CD-ROM device and its speed, and wodim 2.618 +(part of cdrkit) will begin to burn an ISO image. The default ISO image is the 2.619 +one located in the current configuration file, but it's possible to specify 2.620 +a different image via the command line:</p> 2.621 + 2.622 <pre> 2.623 - # tazlito burn-iso 2.624 - # tazlito burn-iso slitaz-hacked.iso 2.625 +# tazlito burn-iso 2.626 +# tazlito burn-iso <em>slitaz-hacked.iso</em> 2.627 </pre> 2.628 2.629 + 2.630 <h2>FLAVORS</h2> 2.631 -<p> 2.632 -A <i>.flavor</i> file contains just a few KB of information needed to 2.633 -(re)manufacture a custom LiveCD of SliTaz. 2.634 -</p> 2.635 2.636 -<a name="rebuild-flavor"></a> 2.637 -<h3>Manufacture a flavor</h3> 2.638 -<p> 2.639 -You can choose the flavor to (re)manufacture from among those available: 2.640 -</p> 2.641 +<p>A <tt>.flavor</tt> file contains just a few KB of information needed to 2.642 +(re)manufacture a custom LiveCD of SliTaz.</p> 2.643 + 2.644 + 2.645 +<h3 id="rebuild-flavor">Manufacture a flavor</h3> 2.646 + 2.647 +<p>You can choose the flavor to (re)manufacture from among those available:</p> 2.648 + 2.649 <pre> 2.650 # tazlito list-flavors 2.651 2.652 @@ -386,156 +385,132 @@ 2.653 eeepc 31.2M 105.4M SliTaz eeepc system 2.654 justX 16.1M 51.2M SliTaz with a minimal X environment 2.655 </pre> 2.656 -<p> 2.657 -We will start by remanufacturing the <i>eeepc</i> flavor which uses 105.4M of RAM 2.658 -and has a CD-ROM size of 31.2M: 2.659 -</p> 2.660 + 2.661 +<p>We will start by remanufacturing the <em>eeepc</em> flavor which uses 105.4M 2.662 +of RAM and has a CD-ROM size of 31.2M:</p> 2.663 + 2.664 <pre> 2.665 # tazlito clean-distro 2.666 -# tazlito get-flavor eeepc 2.667 +# tazlito get-flavor <em>eeepc</em> 2.668 # tazlito gen-distro 2.669 </pre> 2.670 2.671 -<a name="create-flavor"></a> 2.672 -<h3>Create a flavor</h3> 2.673 -<p> 2.674 -To create a flavor, you must: 2.675 -</p> 2.676 + 2.677 +<h3 id="create-flavor">Create a flavor</h3> 2.678 + 2.679 +<p>To create a flavor, you must:</p> 2.680 + 2.681 <ul> 2.682 - <li>Either create an ISO image with <b>tazlito gen-distro</b> and then create 2.683 - a flavor file with <b>tazlito gen-flavor</b></li> 2.684 + <li>Either create an ISO image with <a href="#gen-distro"><code>tazlito 2.685 + gen-distro</code></a> and then create a flavor file with 2.686 + <a href="#gen-flavor"><code>tazlito gen-flavor</code></a></li> 2.687 <li>Either directly create the tree structure that defines the flavor 2.688 - (see <b>tazlito extract-flavor</b>) and then create the flavor with 2.689 - <b>tazlito pack-flavor</b></li> 2.690 - <li>Either use the 2.691 - <a href="http://pizza.slitaz.org/">online builder</a></li> 2.692 + (see <a href="#extract-flavor"><code>tazlito extract-flavor</code></a>) 2.693 + and then create the flavor with <a href="#pack-flavor"><code>tazlito 2.694 + pack-flavor</code></a></li> 2.695 + <li>Either use the <a href="http://pizza.slitaz.org/">online builder</a></li> 2.696 </ul> 2.697 2.698 -<a name="publish-flavor"></a> 2.699 -<h3>Post a flavor</h3> 2.700 -<p> 2.701 -Because a .flavor file contains just a few KB; it can be easily sent via the 2.702 -mailing list. 2.703 -</p> 2.704 -<p> 2.705 -The results of <b>tazlito extract flavor</b> can also be put in mercurial 2.706 -(http://repos.slitaz.org/flavors). This method is preferred because the 2.707 -tree will be directly visible with the 2.708 -<a href="http://hg.slitaz.org/flavors/file/tip">mercurial web interface</a>. 2.709 -</p> 2.710 -<p> 2.711 -This tree includes: 2.712 -</p> 2.713 + 2.714 +<h3 id="publish-flavor">Post a flavor</h3> 2.715 + 2.716 +<p>Because a <tt>.flavor</tt> file contains just a few KB, it can be easily sent 2.717 +via the <a href="http://www.slitaz.org/en/mailing-list.php">mailing list</a>.</p> 2.718 + 2.719 +<p>The results of <a href="#extract-flavor"><code>tazlito 2.720 +extract-flavor</code></a> can also be put in 2.721 +<a href="http://hg.slitaz.org/flavors">mercurial</a>. This method is 2.722 +preferred because the tree will be directly visible with the 2.723 +<a href="http://hg.slitaz.org/flavors/file/tip">mercurial web interface</a>.</p> 2.724 +<p>This tree includes:</p> 2.725 + 2.726 <ul> 2.727 -<li> 2.728 -A <b>receipt</b> file describing the flavor thanks to the variables: 2.729 - <ul> 2.730 - <li> 2.731 -FLAVOR: The flavor name. 2.732 - </li> 2.733 - <li> 2.734 -SHORT_DESC: Short description. 2.735 - </li> 2.736 - <li> 2.737 -VERSION: Free format. 2.738 - </li> 2.739 - <li> 2.740 -MAINTAINER: Email address of maintainer. 2.741 - </li> 2.742 - <li> 2.743 -FRUGAL_RAM: Minimum RAM required (optional). 2.744 - </li> 2.745 - <li> 2.746 -ROOTFS_SIZE: Size of rootfs.gz decompressed into RAM (optional). 2.747 - </li> 2.748 - <li> 2.749 -INITRAMFS_SIZE: Size of rootfs.gz on the CD-ROM (optional). 2.750 - </li> 2.751 - <li> 2.752 -ISO_SIZE: Size of CD-ROM (optional). 2.753 - </li> 2.754 - <li> 2.755 -ROOTFS_SELECTION: Optional, see <i>Meta flavor</i> below. 2.756 - </li> 2.757 - </ul> 2.758 -</li> 2.759 -<li> 2.760 -The file <b>packages.list</b> containing the list of packages without 2.761 -specifying the version (tazlito uses the latest available). 2.762 -This file is missing if ROOTFS_SELECTION exists in the receipt. 2.763 -</li> 2.764 -<li> 2.765 -The optional <b>mirrors</b> file containing the list of unofficial mirrors 2.766 -(undigest) to be added to include personal packages. 2.767 -</li> 2.768 -<li> 2.769 -The optional directory <b>rootfs</b> containing the tree to add to the 2.770 -root filesystem rootfs.gz (configuration files usually). 2.771 -</li> 2.772 -<li> 2.773 -The optional directory <b>rootcd</b> containing the tree to add to the 2.774 -root of the CD-ROM. 2.775 -</li> 2.776 + <li>A <b>receipt</b> file describing the flavor thanks to the variables: 2.777 + <ul> 2.778 + <li>FLAVOR: The flavor name.</li> 2.779 + <li>SHORT_DESC: Short description.</li> 2.780 + <li>VERSION: Free format.</li> 2.781 + <li>MAINTAINER: Email address of maintainer.</li> 2.782 + <li>FRUGAL_RAM: Minimum RAM required (optional).</li> 2.783 + <li>ROOTFS_SIZE: Size of rootfs.gz decompressed into RAM 2.784 + (optional).</li> 2.785 + <li>INITRAMFS_SIZE: Size of rootfs.gz on the CD-ROM (optional).</li> 2.786 + <li>ISO_SIZE: Size of CD-ROM (optional).</li> 2.787 + <li>ROOTFS_SELECTION: Optional, see <a href="#meta-flavor">Meta 2.788 + flavor</a> below.</li> 2.789 + </ul> 2.790 + </li> 2.791 + <li>The file <b>packages.list</b> containing the list of packages without 2.792 + specifying the version (tazlito uses the latest available). This file 2.793 + is missing if ROOTFS_SELECTION exists in the receipt.</li> 2.794 + <li>The optional <b>mirrors</b> file containing the list of unofficial 2.795 + mirrors (undigest) to be added to include personal packages.</li> 2.796 + <li>The optional directory <b>rootfs</b> containing the tree to add to the 2.797 + root filesystem rootfs.gz (configuration files usually).</li> 2.798 + <li>The optional directory <b>rootcd</b> containing the tree to add to the 2.799 + root of the CD-ROM.</li> 2.800 </ul> 2.801 2.802 -<a name="tune-flavor"></a> 2.803 -<h3>Adapt a flavor</h3> 2.804 -<p> 2.805 -It is often easier to modify an existing flavor than to create one from 2.806 -scratch. To adapt the eeepc flavor for example: 2.807 -</p> 2.808 + 2.809 +<h3 id="tune-flavor">Adapt a flavor</h3> 2.810 + 2.811 +<p>It is often easier to modify an existing flavor than to create one from 2.812 +scratch. To adapt the eeepc flavor for example:</p> 2.813 + 2.814 <pre> 2.815 # tazpkg get-install mercurial 2.816 # cd /home/slitaz 2.817 # hg clone http://hg.slitaz.org/flavors 2.818 # cd flavors 2.819 -# cp -a eeepc myslitaz 2.820 -</pre> 2.821 -<p> 2.822 -Files in my-slitaz can then be changed, and: 2.823 -</p> 2.824 -<pre> 2.825 -# tazlito pack-flavor myslitaz 2.826 -</pre> 2.827 -<p> 2.828 -Will simply create the new flavor. 2.829 -</p> 2.830 -<p> 2.831 -Tip: you can skip mercurial installation by extracting a flavor. 2.832 -Using the previous example: 2.833 -</p> 2.834 -<pre> 2.835 -# tazlito get-flavor eeepc 2.836 -# tazlito extract-flavor eeepc.flavor 2.837 -# cd /home/slitaz/flavors 2.838 -# cp -a eeepc myslitaz 2.839 +# cp -a <em>eeepc myslitaz</em> 2.840 </pre> 2.841 2.842 -<a name="meta-flavor"></a> 2.843 -<h3>Meta flavor</h3> 2.844 -<p> 2.845 -A meta flavor contains several flavors like nested Russian dolls. The flavor 2.846 -will be launched at startup according to the amount of RAM available. 2.847 -The ROOTFS_SELECTION variable defines the minimim RAM and corresponding 2.848 -flavor parameters, <a href="http://hg.slitaz.org/flavors/file/tip/core-3in1/receipt"> 2.849 -example</a>: 2.850 -</p> 2.851 +<p>Files in <tt>myslitaz</tt> can then be changed, and:</p> 2.852 + 2.853 +<pre> 2.854 +# tazlito pack-flavor <em>myslitaz</em> 2.855 +</pre> 2.856 + 2.857 +<p>Will simply create the new flavor.</p> 2.858 + 2.859 +<p>Tip: you can skip mercurial installation by extracting a flavor. Using the 2.860 +previous example:</p> 2.861 + 2.862 +<pre> 2.863 +# tazlito get-flavor <em>eeepc</em> 2.864 +# tazlito extract-flavor <em>eeepc.flavor</em> 2.865 +# cd /home/slitaz/flavors 2.866 +# cp -a <em>eeepc myslitaz</em> 2.867 +</pre> 2.868 + 2.869 + 2.870 +<h3 id="meta-flavor">Meta flavor</h3> 2.871 + 2.872 +<p>A meta flavor contains several flavors like nested Russian dolls. The flavor 2.873 +will be launched at startup according to the amount of RAM available. The 2.874 +ROOTFS_SELECTION variable defines the minimim RAM and corresponding flavor 2.875 +parameters, <a 2.876 +href="http://hg.slitaz.org/flavors/file/tip/core-4in1/receipt">example</a>:</p> 2.877 + 2.878 <pre> 2.879 ROOTFS_SELECTION="160M core 96M justX 32M base" 2.880 </pre> 2.881 -<p> 2.882 -A meta flavor doesn't contain a list of packages (packages.list). SliTaz 2.883 -kernels prior to 2.6.30 do not support meta flavors. 2.884 -</p> 2.885 + 2.886 +<p>A meta flavor doesn't contain a list of packages (<tt>packages.list</tt>). 2.887 +SliTaz kernels prior to 2.6.30 do not support meta flavors.</p> 2.888 + 2.889 2.890 <h2>MAINTAINER</h2> 2.891 -<p> 2.892 -Christophe Lincoln <pankso at slitaz.org><br /> 2.893 -Pascal bellard <pascal.bellard at slitaz.org> 2.894 -</p> 2.895 + 2.896 +<p>Christophe Lincoln <pankso at slitaz.org><br /> 2.897 +Pascal Bellard <pascal.bellard at slitaz.org></p> 2.898 2.899 <!-- End content --> 2.900 </div> 2.901 + 2.902 +<footer> 2.903 + Copyright © 2013 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a> 2.904 +</footer> 2.905 + 2.906 </body> 2.907 </html> 2.908 -
3.1 --- a/doc/tazlito.fr.html Sun Feb 17 16:23:02 2013 +0100 3.2 +++ b/doc/tazlito.fr.html Sat May 04 22:59:48 2013 +0000 3.3 @@ -1,381 +1,403 @@ 3.4 <!DOCTYPE html> 3.5 <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> 3.6 <head> 3.7 + <meta charset="utf-8" /> 3.8 <title>Manuel de TazLito</title> 3.9 - <meta charset="utf-8" /> 3.10 <link rel="shortcut icon" href="favicon.ico" /> 3.11 - <link rel="stylesheet" type="text/css" href="style.css" /> 3.12 + <link rel="stylesheet" type="text/css" href="../slitaz-doc.css" /> 3.13 + <script type="text/javascript" src="../slitaz-doc.js"></script> 3.14 </head> 3.15 <body> 3.16 3.17 -<div id="header"> 3.18 +<header> 3.19 <h1>Tazlito Manual</h1> 3.20 -</div> 3.21 +</header> 3.22 3.23 <!-- Start content --> 3.24 <div id="content"> 3.25 3.26 <h2>NOM</h2> 3.27 -<p> 3.28 -Tazlito - SliTaz Live Tool. 3.29 -</p> 3.30 + 3.31 +<p>Tazlito — SliTaz Live Tool.</p> 3.32 + 3.33 3.34 <h2>SYNTAXE</h2> 3.35 + 3.36 <pre> 3.37 tazlito [command] [list|iso|flavor] [dir] 3.38 </pre> 3.39 3.40 + 3.41 <h2>DESCRIPTION</h2> 3.42 -<p> 3.43 -Tazlito est un petit utilitaire permettant d'extraire le LiveCD, reconstruire 3.44 -l'image ISO ou regnrer le systme racine du LiveCD de SliTaz. Tazlito donne 3.45 -aussi la possibilit de gnrer une distribution depuis une liste de paquets 3.46 -pralablements tlchargs et stocks dans un rpertoire. Pour fonctionner, 3.47 -l'application Tazlito utilise un fichier de configuration systme 3.48 -/etc/tazlito/tazlito.conf ou un fichier tazlito.conf se trouvant dans le 3.49 -rpertoire courant. Ce fichier de configuration peut facilement tre gnr 3.50 -automatiquement par Tazlito, il spcifie le nom de l'image ISO, le nom du 3.51 -volume, le prparateur, le chemin vers le repositoire des paquets et celui 3.52 -vers la distribution. Tazlito permet aussi de configurer un rpertoire 3.53 -contenant des fichiers additionnels, qui seront copis dans le LiveCD lors 3.54 -de la gnration de la distribution. 3.55 -</p> 3.56 -<p> 3.57 -Tazlito est, distribu sous licence libre GNU gpl v3, install par dfaut sur 3.58 -SliTaz et install/test avec succs sur Debian GNU/Linux. Vous trouverez 3.59 -aussi un complment d'informations au sujet de cration de sa propre version 3.60 -du LiveCD, via le livre de cuisine (Cookbook) de SliTaz 3.61 -(http://www.slitaz.org/doc/cookbook/) et le Handbook. 3.62 -</p> 3.63 + 3.64 +<p>Tazlito est un petit utilitaire permettant d'extraire le LiveCD, reconstruire 3.65 +l'image ISO ou regénérer le système racine du LiveCD de SliTaz. Tazlito donne 3.66 +aussi la possibilité de générer une distribution depuis une liste de paquets 3.67 +préalablements téléchargés et stockés dans un répertoire. Pour fonctionner, 3.68 +l'application Tazlito utilise un fichier de configuration système 3.69 +<tt>/etc/tazlito/tazlito.conf</tt> ou un fichier <tt>tazlito.conf</tt> se 3.70 +trouvant dans le répertoire courant. Ce fichier de configuration peut facilement 3.71 +être généré automatiquement par Tazlito, il spécifie le nom de l'image ISO, 3.72 +le nom du volume, le préparateur, le chemin vers le repositoire des paquets et 3.73 +celui vers la distribution. Tazlito permet aussi de configurer un répertoire 3.74 +contenant des fichiers additionnels, qui seront copiés dans le LiveCD lors 3.75 +de la génération de la distribution.</p> 3.76 +<p>Tazlito est, distribué sous licence libre GNU GPL v.3, installé par défaut 3.77 +sur SliTaz et installé/testé avec succès sur Debian GNU/Linux. Vous trouverez 3.78 +aussi un complément d'informations au sujet de création de sa propre version 3.79 +du LiveCD, via le livre de cuisine 3.80 +(<a href="http://www.slitaz.org/fr/doc/cookbook/">Cookbook</a>) de SliTaz 3.81 +et le Handbook.</p> 3.82 + 3.83 3.84 <h2>COMMANDES</h2> 3.85 -<a name="usage"></a> 3.86 -<h3>usage</h3> 3.87 -<p> 3.88 -La commande 'usage' affiche une liste des commandes disponibles avec une 3.89 -courte description : 3.90 -</p> 3.91 + 3.92 + 3.93 +<h3 id="usage">usage</h3> 3.94 + 3.95 +<p>La commande <code>usage</code> affiche une liste des commandes disponibles 3.96 +avec une courte description :</p> 3.97 + 3.98 <pre> 3.99 - # tazlito usage 3.100 +# tazlito usage 3.101 </pre> 3.102 3.103 -<a name="stats"></a> 3.104 -<h3>stats</h3> 3.105 -<p> 3.106 -Stats affiche les variables de configuration, le chemin vers les diffrents 3.107 -fichiers et rpertoires et les informations sur l'image ISO : 3.108 -</p> 3.109 + 3.110 +<h3 id="stats">stats</h3> 3.111 + 3.112 +<p><code>stats</code> affiche les variables de configuration, le chemin vers 3.113 +les différents fichiers et répertoires et les informations sur l'image ISO :</p> 3.114 + 3.115 <pre> 3.116 - # tazlito stats 3.117 +# tazlito stats 3.118 </pre> 3.119 3.120 -<a name="gen-config"></a> 3.121 -<h3>gen-config</h3> 3.122 -<p> 3.123 -La commande 'gen-config' vous permet de gnrer une fichier de configuration 3.124 -prt tre dit. Par dfaut le fichier est cr dans le rpertoire courant 3.125 -et peut aussi l'tre dans un autre rpertoire si spcifi : 3.126 -</p> 3.127 + 3.128 +<h3 id="gen-config">gen-config</h3> 3.129 + 3.130 +<p>La commande <code>gen-config</code> vous permet de générer une fichier 3.131 +de configuration prêt à être édité. Par défaut le fichier est créé dans 3.132 +le répertoire courant et peut aussi l'être dans un autre répertoire si 3.133 +spécifié :</p> 3.134 + 3.135 <pre> 3.136 - # tazlito gen-config 3.137 - # tazlito gen-config /path/to/distro 3.138 +# tazlito gen-config 3.139 +# tazlito gen-config <em>/path/to/distro</em> 3.140 </pre> 3.141 3.142 -<a name="configure"></a> 3.143 -<h3>configure</h3> 3.144 -<p> 3.145 -La commande configure permet de configurer le fichier de configuration 3.146 -systme ou celui trouv dans le rpertoire courant : 3.147 -</p> 3.148 + 3.149 +<h3 id="configure">configure</h3> 3.150 + 3.151 +<p>La commande <code>configure</code> permet de configurer le fichier 3.152 +de configuration système ou celui trouvé dans le répertoire courant :</p> 3.153 + 3.154 <pre> 3.155 - # tazlito configure 3.156 +# tazlito configure 3.157 </pre> 3.158 3.159 -<a name="gen-iso"></a> 3.160 -<h3>gen-iso</h3> 3.161 -<p> 3.162 -La commande 'gen-iso' pour <em>Generate ISO</em> permet de gnrer une nouvelle 3.163 -image ISO du LiveCD suite des modifications et ajouter dans le systme 3.164 -racine du cdrom. Pour fonctionner cette commande a besoin d'un rpertoire 3.165 -contenant la structure du systme Live, cette structure peur facilement tre 3.166 -construite avec la commande 'extract-distro', modifie et reconstruite via : 3.167 -</p> 3.168 + 3.169 +<h3 id="gen-iso">gen-iso</h3> 3.170 + 3.171 +<p>La commande <code>gen-iso</code> pour <em>Generate ISO</em> permet de générer 3.172 +une nouvelle image ISO du LiveCD suite à des modifications et ajouter dans 3.173 +le système racine du CD-ROM. Pour fonctionner cette commande a besoin d'un 3.174 +répertoire contenant la structure du système Live, cette structure peur 3.175 +facilement être construite avec la commande 3.176 +<a href="#extract-distro"><code>extract-distro</code></a>, modifiée et 3.177 +reconstruite via :</p> 3.178 + 3.179 <pre> 3.180 - # tazlito gen-iso 3.181 +# tazlito gen-iso 3.182 </pre> 3.183 3.184 -<a name="gen-initiso"></a> 3.185 -<h3>gen-initiso</h3> 3.186 -<p> 3.187 -La commande 'gen-initiso' va faire le mme travail que 'gen-iso' mais en 3.188 -reconstruisant pralablement l'initramfs compress du systme. L'initramfs 3.189 -contient tous le systme racine de la distribution et doit tre reconstruite 3.190 -en cas de modifications sur les fichiers. 3.191 -</p> 3.192 + 3.193 +<h3 id="gen-initiso">gen-initiso</h3> 3.194 + 3.195 +<p>La commande <code>gen-initiso</code> va faire le même travail que 3.196 +<code>gen-iso</code> mais en reconstruisant préalablement l'initramfs compressé 3.197 +du système. L'initramfs contient tous le système racine de la distribution 3.198 +et doit être reconstruite en cas de modifications sur les fichiers.</p> 3.199 + 3.200 <pre> 3.201 - # tazlito gen-initiso 3.202 +# tazlito gen-initiso 3.203 </pre> 3.204 3.205 -<a name="list-flavors"></a> 3.206 -<h3>list-flavors</h3> 3.207 -<p> 3.208 -La commande 'list-flavors' tlcharge si ncessaire et affiche la liste des 3.209 -diffrentes saveurs disponibles. On peut forcer le tlchargement avec 3.210 -'--recharge'. 3.211 -</p> 3.212 + 3.213 +<h3 id="list-flavors">list-flavors</h3> 3.214 + 3.215 +<p>La commande <code>list-flavors</code> télécharge si nécessaire et affiche 3.216 +la liste des différentes saveurs disponibles. On peut forcer le téléchargement 3.217 +avec <code>--recharge</code>.</p> 3.218 + 3.219 <pre> 3.220 - # tazlito list-flavors 3.221 - # tazlito list-flavors --recharge 3.222 -</pre> 3.223 -<a name="get-flavor"></a> 3.224 -<h3>get-flavor</h3> 3.225 -<p> 3.226 -La commande 'get-flavor' tlcharge si ncessaire et prpare les fichiers 3.227 -ncessaires 'gen-distro' pour refabriquer une saveur. 3.228 -</p> 3.229 -<pre> 3.230 - # tazlito get-flavor saveur-particuliere 3.231 +# tazlito list-flavors 3.232 +# tazlito list-flavors --recharge 3.233 </pre> 3.234 3.235 -<a name="show-flavor"></a> 3.236 -<h3>show-flavor</h3> 3.237 -<p> 3.238 -La commande 'show-flavor' affiche les caractristiques d'une saveur et ses 3.239 -dimensions aprs refabrication. Les options '--brief' et '--noheader' rduisent 3.240 -l'affichage produit. 3.241 -</p> 3.242 + 3.243 +<h3 id="get-flavor">get-flavor</h3> 3.244 + 3.245 +<p>La commande <code>get-flavor</code> télécharge si nécessaire et prépare 3.246 +les fichiers nécessaires à <a href="#gen-distro"><code>gen-distro</code></a> 3.247 +pour refabriquer une saveur.</p> 3.248 + 3.249 <pre> 3.250 - # tazlito show-flavor saveur-particuliere 3.251 - # tazlito show-flavor saveur-particuliere --brief 3.252 - # tazlito show-flavor saveur-particuliere --brief --noheader 3.253 +# tazlito get-flavor <em>saveur-particuliere</em> 3.254 </pre> 3.255 3.256 -<a name="gen-flavor"></a> 3.257 -<h3>gen-flavor</h3> 3.258 -<p> 3.259 -La commande 'gen-flavor' cre un fichier de description d'une nouvelle saveur 3.260 - partir des rsultats de fabrication de 'gen-distro'. Le fichier .flavor 3.261 -produit pourra tre ensuite envoy slitaz.org. 3.262 -</p> 3.263 + 3.264 +<h3 id="show-flavor">show-flavor</h3> 3.265 + 3.266 +<p>La commande <code>show-flavor</code> affiche les caractéristiques d'une 3.267 +saveur et ses dimensions après refabrication. Les options <code>--brief</code> 3.268 +et <code>--noheader</code> réduisent l'affichage produit.</p> 3.269 + 3.270 <pre> 3.271 - # tazlito gen-flavor nouvelle-saveur 3.272 +# tazlito show-flavor <em>saveur-particuliere</em> 3.273 +# tazlito show-flavor <em>saveur-particuliere</em> --brief 3.274 +# tazlito show-flavor <em>saveur-particuliere</em> --brief --noheader 3.275 </pre> 3.276 3.277 -<a name="gen-liveflavor"></a> 3.278 -<h3>gen-liveflavor</h3> 3.279 -<p> 3.280 -La commande 'gen-liveflavor' cre une image ISO et un fichier de description 3.281 -d'une nouvelle saveur partir de la distribution courante. Un fichier texte 3.282 -optionnel permetde dcrire les modifications faire par rapport la 3.283 -distribution courante. Le format de chacune de ses lignes est 3.284 -[code][tabulation][caractres]. Les valeurs possibles de code sont +,-,@,! et ? 3.285 -pour ajouter un paquet, le retirer, dcrire la saveur, ajouter un paquet non 3.286 -libre, et afficher un message l'cran. 3.287 -</p> 3.288 + 3.289 +<h3 id="gen-flavor">gen-flavor</h3> 3.290 + 3.291 +<p>La commande <code>gen-flavor</code> crée un fichier de description d'une 3.292 +nouvelle saveur à partir des résultats de fabrication de 3.293 +<a href="#gen-distro"><code>gen-distro</code></a>. Le fichier <tt>.flavor</tt> 3.294 +produit pourra être ensuite envoyé à slitaz.org.</p> 3.295 + 3.296 <pre> 3.297 - # tazlito gen-liveflavor nouvelle-saveur 3.298 - # tazlito gen-liveflavor autre-saveur mes-modifications 3.299 - # cat mes-modifications 3.300 - @ Developper tools and some non-free packages 3.301 - + slitaz-toolchain 3.302 - + mercurial 3.303 - ! skype 3.304 - ! flash-plugin 3.305 +# tazlito gen-flavor <em>nouvelle-saveur</em> 3.306 </pre> 3.307 3.308 -<a name="upgrade-flavor"></a> 3.309 -<h3>upgrade-flavor</h3> 3.310 -<p> 3.311 -La commande 'upgrade-flavor' raffrachit une saveur consue pour une ancienne 3.312 -version de SliTaz en mettant jour la liste des paquets avec les dernires 3.313 -versions des paquets disponibles. 3.314 -</p> 3.315 + 3.316 +<h3 id="gen-liveflavor">gen-liveflavor</h3> 3.317 + 3.318 +<p>La commande <code>gen-liveflavor</code> crée une image ISO et un fichier 3.319 +de description d'une nouvelle saveur à partir de la distribution courante. 3.320 +Un fichier texte optionnel permetde décrire les modifications à faire par 3.321 +rapport à la distribution courante. Le format de chacune de ses lignes est 3.322 +<tt>[code][tabulation][caractères]</tt>. Les valeurs possibles de code sont 3.323 +<tt>+</tt>, <tt>-</tt>, <tt>@</tt>, <tt>!</tt> et <tt>?</tt> pour ajouter 3.324 +un paquet, le retirer, décrire la saveur, ajouter un paquet non libre, 3.325 +et afficher un message à l'écran.</p> 3.326 + 3.327 <pre> 3.328 - # tazlito upgrade-flavor une-saveur 3.329 +# tazlito gen-liveflavor nouvelle-saveur 3.330 +# tazlito gen-liveflavor autre-saveur mes-modifications 3.331 +# cat mes-modifications 3.332 +@ Developper tools and some non-free packages 3.333 ++ slitaz-toolchain 3.334 ++ mercurial 3.335 +! skype 3.336 +! flash-plugin 3.337 </pre> 3.338 3.339 -<a name="extract-flavor"></a> 3.340 -<h3>extract-flavor</h3> 3.341 -<p> 3.342 -La commande 'extract-flavor' convertit une saveur en une arborescence 3.343 -facilement modifiable dans /home/slitaz/VERSION/flavors qui pourra tre gre 3.344 -avec Mercurial dans <a href="http://hg.slitaz.org/flavors">http://hg.slitaz.org/flavors</a>. 3.345 -Par exemple sur une cooking le rprtoire de travail sera /home/slitaz/cooking/flavors. 3.346 -</p> 3.347 + 3.348 +<h3 id="upgrade-flavor">upgrade-flavor</h3> 3.349 + 3.350 +<p>La commande <code>upgrade-flavor</code> raffraîchit une saveur consue pour 3.351 +une ancienne version de SliTaz en mettant à jour la liste des paquets avec 3.352 +les dernières versions des paquets disponibles.</p> 3.353 + 3.354 <pre> 3.355 - # tazlito extract-flavor une-saveur 3.356 +# tazlito upgrade-flavor <em>une-saveur</em> 3.357 </pre> 3.358 3.359 -<a name="pack-flavor"></a> 3.360 -<h3>pack-flavor</h3> 3.361 -<p> 3.362 -La commande 'pack-flavor' convertit une arborescence de /home/slitaz/VERSION/flavors 3.363 -en saveur (.flavor). Soit l'opration inverse de <i>tazlito extract-flavor</i>. 3.364 -</p> 3.365 + 3.366 +<h3 id="extract-flavor">extract-flavor</h3> 3.367 + 3.368 +<p>La commande <code>extract-flavor</code> convertit une saveur en 3.369 +une arborescence facilement modifiable dans 3.370 +<tt>/home/slitaz/VERSION/flavors</tt> qui pourra être gérée avec Mercurial dans 3.371 +<a href="http://hg.slitaz.org/flavors">http://hg.slitaz.org/flavors</a>. 3.372 +Par exemple sur une cooking le répértoire de travail sera 3.373 +<tt>/home/slitaz/cooking/flavors</tt>.</p> 3.374 + 3.375 <pre> 3.376 - # tazlito pack-flavor une-saveur 3.377 +# tazlito extract-flavor <em>une-saveur</em> 3.378 </pre> 3.379 3.380 -<a name="extract-distro"></a> 3.381 -<h3>extract-distro</h3> 3.382 -<p> 3.383 -La commande 'extract-iso' sert extraire les fichiers d'une images ISO du 3.384 -LiveCD, pour en reconstruire la structure (Racine du cdrom et du systme). 3.385 -Il est ensuite possible de faire les modifications ou ajouts souhaits, pour 3.386 -reconstruire l'image ISO via les commandes 'gen-iso' ou 'gen-initiso'. Exemple 3.387 -d'utilisation : 3.388 -</p> 3.389 + 3.390 +<h3 id="pack-flavor">pack-flavor</h3> 3.391 + 3.392 +<p>La commande <code>pack-flavor</code> convertit une arborescence de 3.393 +<tt>/home/slitaz/VERSION/flavors</tt> en saveur (<tt>.flavor</tt>). Soit 3.394 +l'opération inverse de 3.395 +<a href="#extract-flavor"><code>tazlito extract-flavor</code></a>.</p> 3.396 + 3.397 <pre> 3.398 - # tazlito extract-distro slitaz-cooking.iso 3.399 -</pre> 3.400 -<a name="gen-distro"></a> 3.401 -<h3>gen-distro</h3> 3.402 -<p> 3.403 -La commande <em>Generate Distribution</em> permet de gnrer la structure du 3.404 -systme Live et une image ISO via une liste de paquets. Pour fonctionner, cette 3.405 -commande a besoin d'une liste de paquets, d'un rpertoire contenant tous les 3.406 -paquets (.tazpkg) de la liste et d'un rpertoire pour gnrer la distribution. 3.407 -La liste de paquets peut tre extraite d'une saveur par la commande get-flavor. 3.408 -Si l'on utilise le Live-CD, les options --cdrom et --iso='image-iso' permettent 3.409 -de refabriquer les packets qui placent des fichiers dans /boot sans tre oblig 3.410 -de les tlcharger et rcupre les fichiers additionnels du Live-CD. 3.411 -Le chemin vers les diffrents rpertoires sont configurer dans le fichier de 3.412 -configuration utilis et les paquets peuvent tre tlchargs depuis les 3.413 -miroirs de SliTaz ou gnrs par Cookutils. Pour gnrer une distro : 3.414 -</p> 3.415 -<pre> 3.416 - # tazlito gen-distro 3.417 - # tazlito gen-distro --cdrom 3.418 - # tazlito gen-distro --iso=slitaz.iso 3.419 - # tazlito gen-distro package-list 3.420 -</pre> 3.421 -<a name="clean-distro"></a> 3.422 -<h3>clean-distro</h3> 3.423 -<p> 3.424 -Supprime tous les fichiers gnrs ou extraits de la structure du LiveCD : 3.425 -</p> 3.426 -<pre> 3.427 - # tazlito clean-distro 3.428 -</pre> 3.429 -<a name="check-distro"></a> 3.430 -<h3>check-distro</h3> 3.431 -<p> 3.432 -Cette commande permet simplement de vrifier si les fichiers non installs par 3.433 -des paquets, sont bien prsents dans la distro : 3.434 -</p> 3.435 -<pre> 3.436 - # tazlito check-distro 3.437 +# tazlito pack-flavor <em>une-saveur</em> 3.438 </pre> 3.439 3.440 -<a name="writeiso"></a> 3.441 -<h3>writeiso</h3> 3.442 -<p> 3.443 -Cette commande sauvegarde le systme de fichier dans une archive cpio 3.444 -(rootfs.gz) et gnre une image ISO bootable. Writeiso peut tre utilis 3.445 -avec une installation sur disque dur ou en mode live. Il sauvegarde aussi 3.446 -votre rpertoire /home. Cette commande vous permet de modifier de refabriquer 3.447 -facilement votre propre LiveCD. Il suffit de dmarrer le LiveCD, de modifier 3.448 -les fichiers que vous voulez et de faire : 3.449 -</p> 3.450 + 3.451 +<h3 id="extract-distro">extract-distro</h3> 3.452 + 3.453 +<p>La commande <code>extract-iso</code> sert à extraire les fichiers 3.454 +d'une images ISO du LiveCD, pour en reconstruire la structure (Racine du CD-ROM 3.455 +et du système). Il est ensuite possible de faire les modifications ou ajouts 3.456 +souhaités, pour reconstruire l'image ISO via les commandes 3.457 +<a href="#gen-iso"><code>gen-iso</code></a> ou 3.458 +<a href="#gen-initiso"><code>gen-initiso</code></a>. Exemple d'utilisation :</p> 3.459 + 3.460 <pre> 3.461 - # tazlito writeiso [gzip|lzma|none] 3.462 - # tazlito writeiso gzip 3.463 - # tazlito writeiso gzip image-name 3.464 +# tazlito extract-distro <em>slitaz-cooking.iso</em> 3.465 </pre> 3.466 3.467 -<a name="frugal-install"></a> 3.468 -<h3>frugal-install</h3> 3.469 -<p> 3.470 -Installe les fichiers ncessaire du CD-ROM dans /boot/frugal et ajoute 3.471 -une ente GRUB si ncessaire. En mode frugal, Slitaz fonctionne entirement 3.472 -en mmoire (RAM). Cela permet de tester une distribution sans graver d'ISO ou 3.473 -d'avoir un OS de dpannage prt lorsque l'ordinateur dmarre. 3.474 -Pour installer tous les fichiers ncessaires partir d'une arborescence ou 3.475 -d'une image ISO : 3.476 -</p> 3.477 + 3.478 +<h3 id="gen-distro">gen-distro</h3> 3.479 + 3.480 +<p>La commande <em>Generate Distribution</em> permet de générer la structure 3.481 +du système Live et une image ISO via une liste de paquets. Pour fonctionner, 3.482 +cette commande a besoin d'une liste de paquets, d'un répertoire contenant tous 3.483 +les paquets (<tt>.tazpkg</tt>) de la liste et d'un répertoire pour générer 3.484 +la distribution. La liste de paquets peut être extraite d'une saveur par 3.485 +la commande <a href="#get-flavor"><code>get-flavor</code></a>. Si l'on utilise 3.486 +le Live-CD, les options <code>--cdrom</code> et <code>--iso='image-iso'</code> 3.487 +permettent de refabriquer les packets qui placent des fichiers dans 3.488 +<tt>/boot</tt> sans être obligé de les télécharger et récupère les fichiers 3.489 +additionnels du Live-CD. Le chemin vers les différents répertoires sont 3.490 +à configurer dans le fichier de configuration utilisé et les paquets peuvent 3.491 +être téléchargés depuis les miroirs de SliTaz ou générés par Cookutils. Pour 3.492 +générer une distro :</p> 3.493 + 3.494 <pre> 3.495 - # tazlito frugal-install slitaz.iso 3.496 - # tazlito -fi slitaz.iso 3.497 +# tazlito gen-distro 3.498 +# tazlito gen-distro --cdrom 3.499 +# tazlito gen-distro --iso=<em>slitaz.iso</em> 3.500 +# tazlito gen-distro <em>package-list</em> 3.501 </pre> 3.502 3.503 -<a name="check-list"></a> 3.504 -<h3>check-list</h3> 3.505 -<p> 3.506 -Vrifie si distro-packages.list est jour avec les dernires version des paquets. 3.507 -</p> 3.508 + 3.509 +<h3 id="clean-distro">clean-distro</h3> 3.510 + 3.511 +<p>Supprime tous les fichiers générés ou extraits de la structure 3.512 +du LiveCD :</p> 3.513 + 3.514 <pre> 3.515 - # tazlito check-list 3.516 +# tazlito clean-distro 3.517 </pre> 3.518 3.519 -<a name="repack"></a> 3.520 -<h3>repack</h3> 3.521 -<p> 3.522 -Recompresse le(s) rootfs avec la meilleure compression possible. 3.523 -</p> 3.524 + 3.525 +<h3 id="check-distro">check-distro</h3> 3.526 + 3.527 +<p>Cette commande permet simplement de vérifier si les fichiers non installés 3.528 +par des paquets, sont bien présents dans la distro :</p> 3.529 + 3.530 <pre> 3.531 - # tazlito repack slitaz.iso 3.532 +# tazlito check-distro 3.533 </pre> 3.534 3.535 -<a name="merge"></a> 3.536 -<h3>merge</h3> 3.537 -<p> 3.538 -Runit plusieurs saveurs imbriques comme des poupes russes. Chaque rootfs 3.539 -est un sous ensemble du prcdent. Le premier rootfs est extrait de l'image 3.540 -ISO en 3e paramtre. 3.541 -La saveur lancer sera choisie au dmarrage suivant la quantit de RAM 3.542 -disponible. 3.543 -</p> 3.544 + 3.545 +<h3 id="writeiso">writeiso</h3> 3.546 + 3.547 +<p>Cette commande sauvegarde le système de fichier dans une archive cpio 3.548 +(<tt>rootfs.gz</tt>) et génère une image ISO bootable. Writeiso peut être 3.549 +utilisé avec une installation sur disque dur ou en mode live. Il sauvegarde 3.550 +aussi votre répertoire <tt>/home</tt>. Cette commande vous permet de modifier 3.551 +de refabriquer facilement votre propre LiveCD. Il suffit de démarrer le LiveCD, 3.552 +de modifier les fichiers que vous voulez et de faire :</p> 3.553 + 3.554 <pre> 3.555 - # tazlito merge 160M slitaz-core.iso 96M rootfs-justx.gz 32M rootfs-base.gz 3.556 +# tazlito writeiso [gzip|lzma|none] 3.557 +# tazlito writeiso gzip 3.558 +# tazlito writeiso gzip <em>image-name</em> 3.559 </pre> 3.560 3.561 -<a name="build-loram"></a> 3.562 -<h3>build-loram</h3> 3.563 -<p> 3.564 -Cre une image ISO pour les machines avec peu de mmoire. 3.565 -Le systme de fichier racine peut soit tre toujours charg en mmoire ou peut 3.566 -ventuellement rester sur le cdrom selon la mmoire disponible. 3.567 -</p> 3.568 + 3.569 +<h3 id="frugal-install">frugal-install</h3> 3.570 + 3.571 +<p>Installe les fichiers nécessaire du CD-ROM dans <tt>/boot/frugal</tt> et 3.572 +ajoute une entée GRUB si nécessaire. En mode frugal, Slitaz fonctionne 3.573 +entièrement en mémoire (RAM). Cela permet de tester une distribution sans graver 3.574 +d'ISO ou d'avoir un OS de dépannage prêt lorsque l'ordinateur démarre. Pour 3.575 +installer tous les fichiers nécessaires à partir d'une arborescence ou d'une 3.576 +image ISO :</p> 3.577 + 3.578 <pre> 3.579 - # tazlito build-loram slitaz.iso loram.iso 3.580 - # tazlito build-loram slitaz.iso loram-cdrom.iso cdrom 3.581 +# tazlito frugal-install <em>slitaz.iso</em> 3.582 +# tazlito -fi <em>slitaz.iso</em> 3.583 </pre> 3.584 3.585 -<a name="emu-iso"></a> 3.586 -<h3>emu-iso</h3> 3.587 -<p> 3.588 -La commande emu-iso va utiliser l'mulateur Qemu pour dmarrer et laner 3.589 -SliTaz. Qemu permet de tester l'image ISO frachement construite sans 3.590 -la graver sur cdrom ou redmarrer en mode frugal. 3.591 -</p> 3.592 + 3.593 +<h3 id="check-list">check-list</h3> 3.594 + 3.595 +<p>Vérifie si <tt>distro-packages.list</tt> est à jour avec les dernières 3.596 +version des paquets.</p> 3.597 + 3.598 <pre> 3.599 - # tazlito emu-iso 3.600 - # tazlito emu-iso path/to/image.iso 3.601 +# tazlito check-list 3.602 </pre> 3.603 3.604 -<a name="burn-iso"></a> 3.605 -<h3>burn-iso</h3> 3.606 -<p> 3.607 -Burn ISO va deviner le priphrique de cdrom, sa vitesse de gravure et lancer 3.608 -l'outils Wodim pour graver une image ISO. L'image ISO par dfaut est celle 3.609 -du fichier de configuration courant, mais il est possible de spcifier une 3.610 -autre image via la ligne de commande : 3.611 -</p> 3.612 + 3.613 +<h3 id="repack">repack</h3> 3.614 + 3.615 +<p>Recompresse le(s) rootfs avec la meilleure compression possible.</p> 3.616 + 3.617 <pre> 3.618 - # tazlito burn-iso 3.619 - # tazlito burn-iso slitaz-hacked.iso 3.620 +# tazlito repack <em>slitaz.iso</em> 3.621 </pre> 3.622 3.623 + 3.624 +<h3 id="merge">merge</h3> 3.625 + 3.626 +<p>Réunit plusieurs saveurs imbriquées comme des poupées russes. Chaque rootfs 3.627 +est un sous ensemble du précédent. Le premier rootfs est extrait de l'image 3.628 +ISO en 3e paramètre. La saveur à lancer sera choisie au démarrage suivant 3.629 +la quantité de RAM disponible.</p> 3.630 + 3.631 +<pre> 3.632 +# tazlito merge 160M slitaz-core.iso 96M rootfs-justx.gz 32M rootfs-base.gz 3.633 +</pre> 3.634 + 3.635 + 3.636 +<h3 id="build-loram">build-loram</h3> 3.637 + 3.638 +<p>Crée une image ISO pour les machines avec peu de mémoire. Le système 3.639 +de fichier racine peut soit être toujours chargé en mémoire ou peut 3.640 +éventuellement rester sur le cdrom selon la mémoire disponible.</p> 3.641 + 3.642 +<pre> 3.643 +# tazlito build-loram <em>slitaz.iso loram.iso</em> 3.644 +# tazlito build-loram <em>slitaz.iso loram-cdrom.iso</em> cdrom 3.645 +</pre> 3.646 + 3.647 + 3.648 +<h3 id="emu-iso">emu-iso</h3> 3.649 + 3.650 +<p>La commande emu-iso va utiliser l'émulateur Qemu pour démarrer et lançer 3.651 +SliTaz. Qemu permet de tester l'image ISO fraîchement construite sans la graver 3.652 +sur CD-ROM ou redémarrer en mode frugal.</p> 3.653 + 3.654 +<pre> 3.655 +# tazlito emu-iso 3.656 +# tazlito emu-iso <em>path/to/image.iso</em> 3.657 +</pre> 3.658 + 3.659 + 3.660 +<h3 id="burn-iso">burn-iso</h3> 3.661 + 3.662 +<p>Burn ISO va deviner le périphérique de CD-ROM, sa vitesse de gravure 3.663 +et lancer l'outils Wodim pour graver une image ISO. L'image ISO par défaut est 3.664 +celle du fichier de configuration courant, mais il est possible de spécifier une 3.665 +autre image via la ligne de commande :</p> 3.666 + 3.667 +<pre> 3.668 +# tazlito burn-iso 3.669 +# tazlito burn-iso <em>slitaz-hacked.iso</em> 3.670 +</pre> 3.671 + 3.672 + 3.673 <h2>SAVEURS</h2> 3.674 -<p> 3.675 -Les fichiers <i>.flavor</i> contiennent en quelques Ko toutes les informations 3.676 -ncessaires pour refabriquer un Live CD customis de SliTaz. 3.677 -</p> 3.678 -<a name="rebuild-flavor"></a> 3.679 -<h3>Refabriquer une saveur</h3> 3.680 -<p> 3.681 -On choisit la saveur refabriquer parmi celles disponibles. 3.682 -</p> 3.683 + 3.684 +<p>Les fichiers <tt>.flavor</tt> contiennent en quelques Ko toutes les 3.685 +informations nécessaires pour refabriquer un LiveCD customisé de SliTaz.</p> 3.686 + 3.687 + 3.688 +<h3 id="rebuild-flavor">Refabriquer une saveur</h3> 3.689 + 3.690 +<p>On choisit la saveur à refabriquer parmi celles disponibles.</p> 3.691 + 3.692 <pre> 3.693 # tazlito list-flavors 3.694 3.695 @@ -389,163 +411,139 @@ 3.696 eeepc 31.2M 105.4M SliTaz eeepc system 3.697 justX 16.1M 51.2M SliTaz with a minimal X environnement 3.698 </pre> 3.699 + 3.700 <p> 3.701 -Nous allons refabriquer la saveur <i>eeepc</i> dont le systme de fichier utilise 3.702 -105.4M de RAM et le CD-ROM fait 31.2M. 3.703 -</p> 3.704 +Nous allons refabriquer la saveur <em>eeepc</em> dont le système de fichier 3.705 +utilise 105.4M de RAM et le CD-ROM fait 31.2M.</p> 3.706 + 3.707 <pre> 3.708 # tazlito clean-distro 3.709 -# tazlito get-flavor eeepc 3.710 +# tazlito get-flavor <em>eeepc</em> 3.711 # tazlito gen-distro 3.712 </pre> 3.713 3.714 -<a name="create-flavor"></a> 3.715 -<h3>Crer une saveur</h3> 3.716 -<p> 3.717 -Pour crer une saveur, il faut : 3.718 -</p> 3.719 + 3.720 +<h3 id="create-flavor">Créer une saveur</h3> 3.721 + 3.722 +<p>Pour créer une saveur, il faut :</p> 3.723 + 3.724 <ul> 3.725 -<li> 3.726 -Soit crer une image ISO avec <b>tazlito gen-distro</b> puis crer la saveur 3.727 -correspondante avec <b>tazlito gen-flavor</b>. 3.728 -</li> 3.729 -<li> 3.730 -Soit crer directement l'arboscence qui dfinie la saveur (voir la commande 3.731 -<b>tazlito extract-flavor</b>) puis crer la saveur avec 3.732 -<b>tazlito pack-flavor</b>. 3.733 -</li> 3.734 -<li>Soit utiliser le 3.735 -<a href="http://pizza.slitaz.org/">gnrateur de saveur en ligne</a> : 3.736 -</li> 3.737 + <li>Soit créer une image ISO avec <a href="#gen-distro"><code>tazlito 3.738 + gen-distro</code></a> puis créer la saveur correspondante avec 3.739 + <a href="#gen-flavor"><code>tazlito gen-flavor</code></a>.</li> 3.740 + <li>Soit créer directement l'arboscence qui définie la saveur (voir 3.741 + la commande <a href="#extract-flavor"><code>tazlito 3.742 + extract-flavor</code></a>) puis créer la saveur avec 3.743 + <a href="#pack-flavor"><code>tazlito pack-flavor</code></a>.</li> 3.744 + <li>Soit utiliser le <a href="http://pizza.slitaz.org/">générateur de saveur 3.745 + en ligne</a> :</li> 3.746 </ul> 3.747 3.748 -<a name="publish-flavor"></a> 3.749 -<h3>Publier une saveur</h3> 3.750 -<p> 3.751 -Les fichiers .flavor ne font gnralement que quelques Ko. Ils peuvent tre 3.752 -envoys via la liste de diffusion de SliTaz. 3.753 -</p> 3.754 -<p> 3.755 -Le rsultat de <b>tazlito extract-flavor</b> peut aussi tre mis dans mercurial 3.756 -(http://repos.slitaz.org/flavors). Cette mthode est prfrable car l'arborescence 3.757 -sera directement visible avec 3.758 -<a href="http://hg.slitaz.org/flavors/file/tip">l'interface web de mercurial</a>. 3.759 -</p> 3.760 -<p> 3.761 -Cette arborescence comprend : 3.762 -</p> 3.763 + 3.764 +<h3 id="publish-flavor">Publier une saveur</h3> 3.765 + 3.766 +<p>Les fichiers <tt>.flavor</tt> ne font généralement que quelques Ko. Ils 3.767 +peuvent être envoyés via la 3.768 +<a href="http://www.slitaz.org/fr/mailing-list.php">liste de diffusion</a> 3.769 +de SliTaz.</p> 3.770 +<p>Le résultat de <a href="#extract-flavor"><code>tazlito 3.771 +extract-flavor</code></a> peut aussi être mis dans 3.772 +<a href="http://hg.slitaz.org/flavors">mercurial</a>. Cette méthode est 3.773 +préférable car l'arborescence sera directement visible avec 3.774 +<a href="http://hg.slitaz.org/flavors/file/tip">l'interface web de 3.775 +mercurial</a>.</p> 3.776 +<p>Cette arborescence comprend :</p> 3.777 <ul> 3.778 -<li> 3.779 -Le fichier <b>receipt</b> dcrit la saveur grce aux variables : 3.780 - <ul> 3.781 - <li> 3.782 - <i>FLAVOR</i> : le nom de la saveur. 3.783 - </li> 3.784 - <li> 3.785 - <i>SHORT_DESC</i> : la description en une ligne. 3.786 - </li> 3.787 - <li> 3.788 - <i>VERSION</i> : format libre. 3.789 - </li> 3.790 - <li> 3.791 - <i>MAINTAINER</i> : adresse email. 3.792 - </li> 3.793 - <li> 3.794 - <i>FRUGAL_RAM</i> : optionnel (peut tre estim), RAM minimum ncessaire. 3.795 - </li> 3.796 - <li> 3.797 - <i>ROOTFS_SIZE</i> : optionnel (peut tre estim). Taille de rootfs.gz dcompress en RAM. 3.798 - </li> 3.799 - <li> 3.800 - <i>INITRAMFS_SIZE</i> : optionnel (peut tre estim). Taille de rootfs.gz sur le CD-ROM. 3.801 - </li> 3.802 - <li> 3.803 - <i>ISO_SIZE</i> : optionnel (peut tre estim). Taille du CD-ROM. 3.804 - </li> 3.805 - <li> 3.806 - <i>ROOTFS_SELECTION</i> : optionnel, voir <i>Meta saveur</i> plus bas. 3.807 - </li> 3.808 - </ul> 3.809 -</li> 3.810 -<li> 3.811 -Le fichier <b>packages.list</b> contenant la liste des paquets sans 3.812 -prciser leur version (tazlito utilisera la dernire disponible) 3.813 -Ce fichier est absent si ROOTFS_SELECTION est prcis dans receipt. 3.814 -</li> 3.815 -<li> 3.816 -Le fichier optionnel <b>mirrors</b> contenant la liste des miroirs non 3.817 -officiels (undigest) ajouter pour inclure des paquets personnels. 3.818 -</li> 3.819 -<li> 3.820 -Le rpertoire optionnel <b>rootfs</b> contenant l'arborescence ajouter dans 3.821 -le systme de fichier racine rootfs.gz (des fichiers de configuration 3.822 -habituellement). 3.823 -</li> 3.824 -<li> 3.825 -Le rpertoire optionnel <b>rootcd</b> contenant l'arborescence ajouter dans 3.826 -la racine du CD-ROM. 3.827 -</li> 3.828 + <li>Le fichier <b>receipt</b> décrit la saveur grâce aux variables : 3.829 + <ul> 3.830 + <li><em>FLAVOR</em> : le nom de la saveur.</li> 3.831 + <li><em>SHORT_DESC</em> : la description en une ligne.</li> 3.832 + <li><em>VERSION</em> : format libre.</li> 3.833 + <li><em>MAINTAINER</em> : adresse email.</li> 3.834 + <li><em>FRUGAL_RAM</em> : optionnel (peut être estimé), RAM minimum 3.835 + nécessaire.</li> 3.836 + <li><em>ROOTFS_SIZE</em> : optionnel (peut être estimé). Taille 3.837 + de rootfs.gz décompressé en RAM.</li> 3.838 + <li><em>INITRAMFS_SIZE</em> : optionnel (peut être estimé). Taille 3.839 + de rootfs.gz sur le CD-ROM.</li> 3.840 + <li><em>ISO_SIZE</em> : optionnel (peut être estimé). Taille 3.841 + du CD-ROM.</li> 3.842 + <li><em>ROOTFS_SELECTION</em> : optionnel, voir 3.843 + <a href="#meta-flavor">Meta saveur</a> plus bas.</li> 3.844 + </ul> 3.845 + </li> 3.846 + <li>Le fichier <b>packages.list</b> contenant la liste des paquets sans 3.847 + préciser leur version (tazlito utilisera la dernière disponible) 3.848 + Ce fichier est absent si ROOTFS_SELECTION est précisé dans receipt.</li> 3.849 + <li>Le fichier optionnel <b>mirrors</b> contenant la liste des miroirs non 3.850 + officiels (undigest) à ajouter pour inclure des paquets personnels.</li> 3.851 + <li>Le répertoire optionnel <b>rootfs</b> contenant l'arborescence à ajouter 3.852 + dans le système de fichier racine rootfs.gz (des fichiers 3.853 + de configuration habituellement).</li> 3.854 + <li>Le répertoire optionnel <b>rootcd</b> contenant l'arborescence à ajouter 3.855 + dans la racine du CD-ROM.</li> 3.856 </ul> 3.857 3.858 -<a name="tune-flavor"></a> 3.859 -<h3>Adapter une saveur</h3> 3.860 -<p> 3.861 -Il est souvent plus simple de modifier une saveur existante que d'en crer une 3.862 -ex-nihilo. Pour adapter la saveur eeepc par exemple : 3.863 -</p> 3.864 + 3.865 +<h3 id="tune-flavor">Adapter une saveur</h3> 3.866 + 3.867 +<p>Il est souvent plus simple de modifier une saveur existante que d'en créer 3.868 +une ex-nihilo. Pour adapter la saveur eeepc par exemple :</p> 3.869 + 3.870 <pre> 3.871 # tazpkg get-install mercurial 3.872 # cd /home/slitaz 3.873 # hg clone http://hg.slitaz.org/flavors 3.874 # cd flavors 3.875 -# cp -a eeepc myslitaz 3.876 +# cp -a <em>eeepc myslitaz</em> 3.877 </pre> 3.878 -<p> 3.879 -Les fichiers dans myslitaz peuvent tre adapts, puis 3.880 -</p> 3.881 + 3.882 +<p>Les fichiers dans <tt>myslitaz</tt> peuvent être adaptés, puis</p> 3.883 + 3.884 <pre> 3.885 -# tazlito pack-flavor myslitaz 3.886 +# tazlito pack-flavor <em>myslitaz</em> 3.887 </pre> 3.888 -<p> 3.889 -Crera simplement la nouvelle saveur. 3.890 -</p> 3.891 -<p> 3.892 -Astuce: on peut viter l'installation de mercurial en extrayant une saveur. 3.893 -L'exemple prcdent dvient: 3.894 -</p> 3.895 + 3.896 +<p>Créera simplement la nouvelle saveur.</p> 3.897 +<p>Astuce: on peut éviter l'installation de mercurial en extrayant une saveur. 3.898 +L'exemple précédent dévient:</p> 3.899 + 3.900 <pre> 3.901 # tazlito get-flavor eeepc 3.902 # tazlito extract-flavor eeepc.flavor 3.903 # cd /home/slitaz/flavors 3.904 -# cp -a eeepc myslitaz 3.905 +# cp -a <em>eeepc myslitaz</em> 3.906 </pre> 3.907 3.908 -<a name="meta-flavor"></a> 3.909 -<h3>Meta saveur</h3> 3.910 -<p> 3.911 -Une meta saveur contient plusieurs saveurs imbriques comme des poupes russes. 3.912 -La saveur lancer sera choisie au dmarrage suivant la quantit de RAM 3.913 -disponible. 3.914 -La variable <i>ROOTFS_SELECTION</i> dfinit les couples (quantit de RAM minimun, 3.915 -saveur correspondante), <a href="http://hg.slitaz.org/flavors/file/tip/core-3in1/receipt"> 3.916 -exemple</a> : 3.917 -</p> 3.918 + 3.919 +<h3 id="meta-flavor">Meta saveur</h3> 3.920 + 3.921 +<p>Une meta saveur contient plusieurs saveurs imbriquées comme des poupées 3.922 +russes. La saveur à lancer sera choisie au démarrage suivant la quantité de RAM 3.923 +disponible. La variable <em>ROOTFS_SELECTION</em> définit les couples (quantité 3.924 +de RAM minimun, saveur correspondante), 3.925 +<a href="http://hg.slitaz.org/flavors/file/tip/core-4in1/receipt">exemple</a> :</p> 3.926 + 3.927 <pre> 3.928 ROOTFS_SELECTION="160M core 96M justX 32M base" 3.929 </pre> 3.930 -<p> 3.931 -Une meta saveur n'a pas de liste de paquets <i>(packages.list)</i>. 3.932 -Les noyaux SliTaz antrieurs la version 2.6.30 ne supportaient pas les 3.933 -meta saveurs. 3.934 -</p> 3.935 + 3.936 +<p>Une meta saveur n'a pas de liste de paquets (<tt>packages.list</tt>). 3.937 +Les noyaux SliTaz antérieurs à la version 2.6.30 ne supportaient pas les 3.938 +meta saveurs.</p> 3.939 + 3.940 3.941 <h2>MAINTENEUR</h2> 3.942 -<p> 3.943 -Christophe Lincoln <pankso at slitaz.org><br /> 3.944 -Pascal bellard <pascal.bellard at slitaz.org> 3.945 -</p> 3.946 + 3.947 +<p>Christophe Lincoln <pankso at slitaz.org><br /> 3.948 +Pascal Bellard <pascal.bellard at slitaz.org></p> 3.949 3.950 <!-- End content --> 3.951 </div> 3.952 + 3.953 +<footer> 3.954 + Copyright © 2013 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a> 3.955 +</footer> 3.956 + 3.957 </body> 3.958 </html>
4.1 --- a/doc/tazlito.pt.html Sun Feb 17 16:23:02 2013 +0100 4.2 +++ b/doc/tazlito.pt.html Sat May 04 22:59:48 2013 +0000 4.3 @@ -1,370 +1,382 @@ 4.4 <!DOCTYPE html> 4.5 -<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> 4.6 +<html xmlns="http://www.w3.org/1999/xhtml" lang="pt"> 4.7 <head> 4.8 - <title>Manual Tazlito - Ferramenta Live do SliTaz</title> 4.9 <meta charset="utf-8" /> 4.10 + <title>Manual Tazlito — Ferramenta Live do SliTaz</title> 4.11 <link rel="shortcut icon" href="favicon.ico" /> 4.12 - <link rel="stylesheet" type="text/css" href="style.css" /> 4.13 + <link rel="stylesheet" type="text/css" href="../slitaz-doc.css" /> 4.14 + <script type="text/javascript" src="../slitaz-doc.js"></script> 4.15 </head> 4.16 <body> 4.17 4.18 -<div id="header"> 4.19 +<header> 4.20 <h1>Manual Tazlito</h1> 4.21 -</div> 4.22 +</header> 4.23 4.24 <!-- Start content --> 4.25 <div id="content"> 4.26 4.27 <h2>NOME</h2> 4.28 -<p> 4.29 -Tazlito - SliTaz Live Tool. 4.30 -</p> 4.31 + 4.32 +<p>Tazlito — SliTaz Live Tool.</p> 4.33 + 4.34 4.35 <h2>SINTAXE</h2> 4.36 + 4.37 <pre> 4.38 tazlito [command] [list|iso|flavor] [dir] 4.39 </pre> 4.40 4.41 -<h2>DESCRIO</h2> 4.42 4.43 -<p> 4.44 -Tazlito um pequeno utilitrio que extrai um LiveCD, reconstri a imagem ISO 4.45 -e regenera o sistema de arquivos root do LiveCD, criando uma variante 4.46 -(flavor) da distribuio. O Tazlito tambm pode gerar uma distribuio a 4.47 -partir de uma lista de pacotes previamente baixados. Para rodar, o Tazlito 4.48 -usa o arquivo de configurao /etc/slitaz-tools/tazlito.conf ou o 4.49 -tazlito.conf gerado pelo Tazlito no diretrio atual. Este arquivo especifica 4.50 -o nome da ISO, volume, mantenedor, os caminhos dos pacotes a serem incluidos 4.51 -e da ISO a ser gerada. Tazlito tambm pode ser usado para configurar um 4.52 -diretrio contendo arquivos adicionais que sero copiados para o LiveCD na 4.53 -gerao da distribuio. 4.54 -</p> 4.55 +<h2>DESCRIÇÃO</h2> 4.56 4.57 -<p> 4.58 -Tazlito distribudo sobre a licena livre GNU GPL V3, istalada por padro no 4.59 -SliTaz e instalada/testada com sucesso no Debian GNU/Linux. Voc ir encontrar 4.60 -informaes adicionais sobre a criao de um LiveCD no Manual SliTaz. 4.61 -</p> 4.62 +<p>Tazlito é um pequeno utilitário que extrai um LiveCD, reconstrói a imagem ISO 4.63 +e regenera o sistema de arquivos root do LiveCD, criando uma variante (flavor) 4.64 +da distribuição. O Tazlito também pode gerar uma distribuição a partir de uma 4.65 +lista de pacotes previamente baixados. Para rodar, o Tazlito usa o arquivo 4.66 +de configuração <tt>/etc/slitaz-tools/tazlito.conf</tt> ou o 4.67 +<tt>tazlito.conf</tt> gerado pelo Tazlito no diretório atual. Este arquivo 4.68 +especifica o nome da ISO, volume, mantenedor, os caminhos dos pacotes a serem 4.69 +incluidos e da ISO a ser gerada. Tazlito também pode ser usado para configurar 4.70 +um diretório contendo arquivos adicionais que serão copiados para o LiveCD na 4.71 +geração da distribuição.</p> 4.72 + 4.73 +<p>Tazlito é distribuído sobre a licença livre GNU GPL v.3, istalada por padrão 4.74 +no SliTaz e instalada/testada com sucesso no Debian GNU/Linux. Você irá 4.75 +encontrar informações adicionais sobre a criação de um LiveCD no Manual 4.76 +SliTaz.</p> 4.77 + 4.78 4.79 <h2>COMANDOS</h2> 4.80 4.81 -<a name="usage"></a> 4.82 -<h3>usage</h3> 4.83 -<p> 4.84 -O comando "usage" mostra um resumo dos comandos disponveis com uma pequena 4.85 -descrio: 4.86 -</p> 4.87 + 4.88 +<h3 id="usage">usage</h3> 4.89 + 4.90 +<p>O comando <code>usage</code> mostra um resumo dos comandos disponíveis com 4.91 +uma pequena descrição:</p> 4.92 + 4.93 <pre> 4.94 - # tazlito usage 4.95 +# tazlito usage 4.96 </pre> 4.97 4.98 -<a name="stats"></a> 4.99 -<h3>stats</h3> 4.100 -<p> 4.101 -"Stats" mostra as variveis da configurao, os caminhos para os vrios arquivos 4.102 -e diretrios e informaes sobre a imagem ISO: 4.103 -</p> 4.104 + 4.105 +<h3 id="stats">stats</h3> 4.106 + 4.107 +<p><code>stats</code> mostra as variáveis da configuração, os caminhos para os 4.108 +vários arquivos e diretórios e informações sobre a imagem ISO:</p> 4.109 + 4.110 <pre> 4.111 - # tazlito stats 4.112 +# tazlito stats 4.113 </pre> 4.114 4.115 -<a name="gen-config"></a> 4.116 -<h3>gen-config</h3> 4.117 -<p> 4.118 -O comando "gen-config" permite a gerao do arquivo de configurao pronto para 4.119 -ser editado. Por padro o arquivo criado no diretrio atual, mas tambm pode 4.120 -ser em outro diretrio informado na linha de comando: 4.121 -</p> 4.122 + 4.123 +<h3 id="gen-config">gen-config</h3> 4.124 + 4.125 +<p>O comando <code>gen-config</code> permite a geração do arquivo 4.126 +de configuração pronto para ser editado. Por padrão o arquivo é criado no 4.127 +diretório atual, mas também pode ser em outro diretório informado na linha 4.128 +de comando:</p> 4.129 + 4.130 <pre> 4.131 - # tazlito gen-config 4.132 - # tazlito gen-config /path/to/distro 4.133 +# tazlito gen-config 4.134 +# tazlito gen-config <em>/path/to/distro</em> 4.135 </pre> 4.136 4.137 -<a name="configure"></a> 4.138 -<h3>configure</h3> 4.139 -<p> 4.140 -Este comando pode configurar o arquivo de configurao do sistema ou o encontrado 4.141 -no diretrio atual: 4.142 -</p> 4.143 + 4.144 +<h3 id="configure">configure</h3> 4.145 + 4.146 +<p>Este comando pode configurar o arquivo de configuração do sistema 4.147 +ou o encontrado no diretório atual:</p> 4.148 + 4.149 <pre> 4.150 - # tazlito configure 4.151 +# tazlito configure 4.152 </pre> 4.153 4.154 -<a name="gen-iso"></a> 4.155 -<h3>gen-iso</h3> 4.156 -<p> 4.157 -O comando "gen-iso" pode gerar uma nova imagem do LiveCD a partir de modificaes 4.158 -e adies ao sistema de arquivos root do cdrom. Para funcionar, este comando 4.159 -precisa de um diretrio que contenha a "rvore" da distribuio do sistema Live. 4.160 -Esta "rvore" pode ser facilmente gerada com o comando "extract-distro", modificada 4.161 -ou reconstruida via: 4.162 -</p> 4.163 + 4.164 +<h3 id="gen-iso">gen-iso</h3> 4.165 + 4.166 +<p>O comando <code>gen-iso</code> pode gerar uma nova imagem do LiveCD a partir 4.167 +de modificações e adições ao sistema de arquivos root do CD-ROM. Para funcionar, 4.168 +este comando precisa de um diretório que contenha a “árvore” da distribuição 4.169 +do sistema Live. Esta “árvore” pode ser facilmente gerada com o comando 4.170 +<a href="#extract-distro"><code>extract-distro</code></a>, modificada ou 4.171 +reconstruida via:</p> 4.172 + 4.173 <pre> 4.174 - # tazlito gen-iso 4.175 +# tazlito gen-iso 4.176 </pre> 4.177 4.178 -<a name="gen-initiso"></a> 4.179 -<h3>gen-initiso</h3> 4.180 -<p> 4.181 -O comando "gen-initiso" faz o mesmo que o "gen-iso", mas antes ele reconstri o 4.182 -sistema comprimido initramfs. O initramfs contem o sistema de arquivos root e 4.183 -deve ser reconstrudo se modificado: 4.184 -</p> 4.185 + 4.186 +<h3 id="gen-initiso">gen-initiso</h3> 4.187 + 4.188 +<p>O comando <code>gen-initiso</code> faz o mesmo que o <code>gen-iso</code>, 4.189 +mas antes ele reconstrói o sistema comprimido initramfs. O initramfs contem 4.190 +o sistema de arquivos root e deve ser reconstruído se modificado:</p> 4.191 + 4.192 <pre> 4.193 - # tazlito gen-initiso 4.194 +# tazlito gen-initiso 4.195 </pre> 4.196 4.197 -<a name="list-flavors"></a> 4.198 -<h3>list-flavors</h3> 4.199 -<p> 4.200 -Este comando baixa (se necessrio) e mostra a lista de diferentes variantes 4.201 -disponveis. Pode-se forar o download com a opo --recharge: 4.202 -</p> 4.203 + 4.204 +<h3 id="list-flavors">list-flavors</h3> 4.205 + 4.206 +<p>Este comando baixa (se necessário) e mostra a lista de diferentes variantes 4.207 +disponíveis. Pode-se forçar o download com a opção <code>--recharge</code>:</p> 4.208 + 4.209 <pre> 4.210 - # tazlito list-flavors 4.211 - # tazlito list-flavors --recharge 4.212 +# tazlito list-flavors 4.213 +# tazlito list-flavors --recharge 4.214 </pre> 4.215 4.216 -<a name="get-flavor"></a> 4.217 -<h3>get-flavor</h3> 4.218 -<p> 4.219 -O comando "get-flavor" baixa (se necessrio) e prepara os arquivos para que o 4.220 -comando "gen-distro" gere uma variante: 4.221 -</p> 4.222 + 4.223 +<h3 id="get-flavor">get-flavor</h3> 4.224 + 4.225 +<p>O comando <code>get-flavor</code> baixa (se necessário) e prepara os arquivos 4.226 +para que o comando <a href="#gen-distro"><code>gen-distro</code></a> gere uma 4.227 +variante:</p> 4.228 + 4.229 <pre> 4.230 - # tazlito get-flavor particular-flavor 4.231 +# tazlito get-flavor <em>particular-flavor</em> 4.232 </pre> 4.233 4.234 -<a name="show-flavor"></a> 4.235 -<h3>show-flavor</h3> 4.236 -<p> 4.237 -Este comando mostra a descrio da variante e seu tamanho aps a regenerao. 4.238 -As opes --brief e --hoheader reduzem a saida do comando: 4.239 -</p> 4.240 + 4.241 +<h3 id="show-flavor">show-flavor</h3> 4.242 + 4.243 +<p>Este comando mostra a descrição da variante e seu tamanho após a regeneração. 4.244 +As opções <code>--brief</code> e <code>--hoheader</code> reduzem a saida do 4.245 +comando:</p> 4.246 + 4.247 <pre> 4.248 - # tazlito show-flavor particular-flavor 4.249 - # tazlito show-flavor particular-flavor --brief 4.250 - # tazlito show-flavor particular-flavor --brief --noheader 4.251 +# tazlito show-flavor <em>particular-flavor</em> 4.252 +# tazlito show-flavor <em>particular-flavor</em> --brief 4.253 +# tazlito show-flavor <em>particular-flavor</em> --brief --noheader 4.254 </pre> 4.255 4.256 -<a name="gen-flavor"></a> 4.257 -<h3>gen-flavor</h3> 4.258 -<p> 4.259 -O comando "gen-flavor" cria um arquivo de descrio de uma nova variante a partir 4.260 -dos resultados da regenerao da distro (gen-distro). O arquivo .flavor pode 4.261 -ser enviado ao slitaz.org: 4.262 -</p> 4.263 + 4.264 +<h3 id="gen-flavor">gen-flavor</h3> 4.265 + 4.266 +<p>O comando <code>gen-flavor</code> cria um arquivo de descrição de uma nova 4.267 +variante a partir dos resultados da regeneração da distro 4.268 +(<a href="#gen-distro"><code>gen-distro</code></a>). O arquivo <tt>.flavor</tt> 4.269 +pode ser enviado ao slitaz.org:</p> 4.270 + 4.271 <pre> 4.272 - # tazlito gen-flavor new-flavor 4.273 +# tazlito gen-flavor <em>new-flavor</em> 4.274 </pre> 4.275 4.276 -<a name="gen-liveflavor"></a> 4.277 -<h3>gen-liveflavor</h3> 4.278 -<p> 4.279 -Este comando cria um arquivo de descrio de uma nova variante a partir 4.280 -dos resultados de gerao da distro baseada no sistema atual. A opo 4.281 ---help mostra mais informaes 4.282 -</p> 4.283 -<pre> # tazlito gen-liveflavor 4.284 - # tazlito gen-liveflavor --help 4.285 + 4.286 +<h3 id="gen-liveflavor">gen-liveflavor</h3> 4.287 + 4.288 +<p>Este comando cria um arquivo de descrição de uma nova variante a partir dos 4.289 +resultados de geração da distro baseada no sistema atual. A opção 4.290 +<code>--help</code> mostra mais informações</p> 4.291 + 4.292 +<pre> 4.293 +# tazlito gen-liveflavor 4.294 +# tazlito gen-liveflavor --help 4.295 </pre> 4.296 4.297 -<a name="upgrade-flavor"></a> 4.298 -<h3>upgrade-flavor</h3> 4.299 -<p> 4.300 -Este comando renova um arquivo flavor, atualizando a lista de pacotes 4.301 -com a verso mais recente disponvel no mirror: 4.302 -</p> 4.303 + 4.304 +<h3 id="upgrade-flavor">upgrade-flavor</h3> 4.305 + 4.306 +<p>Este comando renova um arquivo flavor, atualizando a lista de pacotes com 4.307 +a versão mais recente disponível no mirror:</p> 4.308 + 4.309 <pre> 4.310 - # tazlito upgrade-flavor this-flavor 4.311 +# tazlito upgrade-flavor <em>this-flavor</em> 4.312 </pre> 4.313 4.314 -<a name="extract-flavor"></a> 4.315 -<h3>extract-flavor</h3> 4.316 -<p> 4.317 -O comando 'extract-flavor' converte um flavor em uma estrutura de pastas 4.318 -facilmente modificvel em /home/slitaz/VERSION/flavors que pode ser ser 4.319 -gerenciada com o mercurial: 4.320 -<a href="http://hg.slitaz.org/flavors">http://hg.slitaz.org/flavors</a>. 4.321 -</p> 4.322 + 4.323 +<h3 id="extract-flavor">extract-flavor</h3> 4.324 + 4.325 +<p>O comando <code>extract-flavor</code> converte um flavor em uma estrutura 4.326 +de pastas facilmente modificável em <tt>/home/slitaz/VERSION/flavors</tt> que 4.327 +pode ser ser gerenciada com o mercurial: 4.328 +<a href="http://hg.slitaz.org/flavors">http://hg.slitaz.org/flavors</a>.</p> 4.329 + 4.330 <pre> 4.331 - # tazlito extract-flavor this-flavor 4.332 +# tazlito extract-flavor <em>this-flavor</em> 4.333 </pre> 4.334 4.335 -<a name="pack-flavor"></a> 4.336 -<h3>pack-flavor</h3> 4.337 -<p> 4.338 -Este comando converte uma estrutura de pastas encontrada em 4.339 -/home/slitaz/VERSION/flavors em um arquivo de variante (.flavor). o 4.340 -inverso do que o comando 'extract-flavor' faz: 4.341 -</p> 4.342 + 4.343 +<h3 id="pack-flavor">pack-flavor</h3> 4.344 + 4.345 +<p>Este comando converte uma estrutura de pastas encontrada em 4.346 +<tt>/home/slitaz/VERSION/flavors</tt> em um arquivo de variante 4.347 +(<tt>.flavor</tt>). É o inverso do que o comando 4.348 +<a href="#extract-flavor"><code>extract-flavor</code></a> faz:</p> 4.349 + 4.350 <pre> 4.351 - # tazlito pack-flavor this-flavor 4.352 +# tazlito pack-flavor <em>this-flavor</em> 4.353 </pre> 4.354 4.355 -<a name="extract-distro"></a> 4.356 -<h3>extract-distro</h3> 4.357 -<p> 4.358 -Este comando usado para extrair uma imagem ISO do LiveCD e reconstruir a 4.359 -estrutura do cdrom e sistema root. Isto possibilita fazer as mudanas desejadas, 4.360 -adies e reconstrues da imagem ISO por meio do comando "gen-iso" ou 4.361 -"gen-initiso". Exemplo de uso: 4.362 -</p> 4.363 + 4.364 +<h3 id="extract-distro">extract-distro</h3> 4.365 + 4.366 +<p>Este comando é usado para extrair uma imagem ISO do LiveCD e reconstruir a 4.367 +estrutura do CD-ROM e sistema root. Isto possibilita fazer as mudanças 4.368 +desejadas, adições e reconstruções da imagem ISO por meio do comando 4.369 +<a href="#gen-iso"><code>gen-iso</code></a> ou 4.370 +<a href="#gen-initiso"><code>gen-initiso</code></a>. Exemplo de uso:</p> 4.371 + 4.372 <pre> 4.373 - # tazlito extract-distro slitaz-cooking.iso 4.374 +# tazlito extract-distro <em>slitaz-cooking.iso</em> 4.375 </pre> 4.376 4.377 -<a name="gen-distro"></a> 4.378 -<h3>gen-distro</h3> 4.379 -<p> 4.380 -O comando para <em>Gerao de Distribuio</em> pode gerar a rvore da distribuio 4.381 -e a imagem ISO por meio de uma lista de pacotes. Para funcionar, este comando 4.382 -precisa da lista de pacotes, um diretrio contendo todos os pacotes .tazpgk 4.383 -especificados na lista e um diretrio para gerar a distribuio. A lista de 4.384 -pacotes pode ser extraida de uma variante pelo comando "get-flavor". Ao se 4.385 -utilizar o LiveCD, as opes --cdrom e --iso= permitem a regenerao dos 4.386 -pacotes que adicionam arquivos ao diretrio /boot sem que seja necessrio o 4.387 -download dos mesmos e recuperam os arquivos adicionais do LiveCD. O caminho 4.388 -para os vrios diretrios informado no arquivo de configurao e os pacotes 4.389 -podem ser baixados dos mirrors do SliTaz ou gerados pelo Cookutils. Para gerar uma 4.390 -distribuio: 4.391 -</p> 4.392 + 4.393 +<h3 id="gen-distro">gen-distro</h3> 4.394 + 4.395 +<p>O comando para <em>Geração de Distribuição</em> pode gerar a árvore 4.396 +da distribuição e a imagem ISO por meio de uma lista de pacotes. Para funcionar, 4.397 +este comando precisa da lista de pacotes, um diretório contendo todos os pacotes 4.398 +<tt>.tazpgk</tt> especificados na lista e um diretório para gerar 4.399 +a distribuição. A lista de pacotes pode ser extraida de uma variante pelo 4.400 +comando <a href="#get-flavor"><code>get-flavor</code></a>. Ao se utilizar 4.401 +o LiveCD, as opções <tt>--cdrom</tt> e <tt>--iso=</tt> permitem a regeneração 4.402 +dos pacotes que adicionam arquivos ao diretório <tt>/boot</tt> sem que seja 4.403 +necessário o download dos mesmos e recuperam os arquivos adicionais do LiveCD. 4.404 +O caminho para os vários diretórios é informado no arquivo de configuração e os 4.405 +pacotes podem ser baixados dos mirrors do SliTaz ou gerados pelo Cookutils. Para 4.406 +gerar uma distribuição:</p> 4.407 + 4.408 <pre> 4.409 - # tazlito gen-distro 4.410 - # tazlito gen-distro --cdrom 4.411 - # tazlito gen-distro --iso=slitaz.iso 4.412 - # tazlito gen-distro package-list 4.413 +# tazlito gen-distro 4.414 +# tazlito gen-distro --cdrom 4.415 +# tazlito gen-distro --iso=<em>slitaz.iso</em> 4.416 +# tazlito gen-distro <em>package-list</em> 4.417 </pre> 4.418 4.419 -<a name="clean-distro"></a> 4.420 -<h3>clean-distro</h3> 4.421 -<p> 4.422 -Remove todos os arquivos gerados ou extraidos da estrutura do LiveCD: 4.423 -</p> 4.424 + 4.425 +<h3 id="clean-distro">clean-distro</h3> 4.426 + 4.427 +<p>Remove todos os arquivos gerados ou extraidos da estrutura do LiveCD:</p> 4.428 + 4.429 <pre> 4.430 - # tazlito clean-distro 4.431 +# tazlito clean-distro 4.432 </pre> 4.433 4.434 -<a name="check-distro"></a> 4.435 -<h3>check-distro</h3> 4.436 -<p> 4.437 -Este comando simplesmente verifica se os arquivos instalados pelos pacotes esto 4.438 -presentes no sistema: 4.439 -</p> 4.440 + 4.441 +<h3 id="check-distro">check-distro</h3> 4.442 + 4.443 +<p>Este comando simplesmente verifica se os arquivos instalados pelos pacotes 4.444 +estão presentes no sistema:</p> 4.445 + 4.446 <pre> 4.447 - # tazlito check-distro 4.448 +# tazlito check-distro 4.449 </pre> 4.450 4.451 -<a name="writeiso"></a> 4.452 -<h3>writeiso</h3> 4.453 -<p> 4.454 -Este comando ir converter o sistema de arquivos atual em um arquivo 4.455 -cpio (rootfs.gz) e ento gerar uma imagem ISO inicializvel. Pode ser 4.456 -usado tanto em instalaes no HD quanto em modo LiveCD, e ir arquivar 4.457 -tambm o contedo do diretrio /home. Com ele, pode-se facilmente 4.458 -remasterizar e construir sua prpria imagem de LiveCD. Para tanto 4.459 -inicie o sistema, modifique arquivos, instale pacotes e ento: 4.460 -</p> 4.461 + 4.462 +<h3 id="writeiso">writeiso</h3> 4.463 + 4.464 +<p>Este comando irá converter o sistema de arquivos atual em um arquivo cpio 4.465 +(<tt>rootfs.gz</tt>) e então gerar uma imagem ISO inicializável. Pode ser usado 4.466 +tanto em instalações no HD quanto em modo LiveCD, e irá arquivar também 4.467 +o conteúdo do diretório <tt>/home</tt>. Com ele, pode-se facilmente remasterizar 4.468 +e construir sua própria imagem de LiveCD. Para tanto inicie o sistema, modifique 4.469 +arquivos, instale pacotes e então:</p> 4.470 + 4.471 <pre> 4.472 - # tazlito writeiso [gzip|lzma|none] 4.473 - # tazlito writeiso gzip 4.474 - # tazlito writeiso gzip image-name 4.475 +# tazlito writeiso [gzip|lzma|none] 4.476 +# tazlito writeiso gzip 4.477 +# tazlito writeiso gzip <em>image-name</em> 4.478 </pre> 4.479 4.480 -<a name="frugal-install"></a> 4.481 -<h3>frugal-install</h3> 4.482 -<p> 4.483 -Executa uma instalao frugal em /boot/frugal e adiciona uma entrada ao 4.484 -GRUB, caso necessrio. Este tipo de instalao ir rodar o SliTaz 4.485 -diretamente na memria RAM (mesmo comportamento do LiveCD), o que 4.486 -permite testar a distro ou ter um sistema de recuperao pronto para uso. 4.487 -Para instalar todos os arquivos necessrios a partir de uma estrutura 4.488 -de pastas ou de uma imagem ISO: 4.489 -</p> 4.490 + 4.491 +<h3 id="frugal-install">frugal-install</h3> 4.492 + 4.493 +<p>Executa uma instalação frugal em <tt>/boot/frugal</tt> e adiciona uma entrada 4.494 +ao GRUB, caso necessário. Este tipo de instalação irá rodar o SliTaz diretamente 4.495 +na memória RAM (mesmo comportamento do LiveCD), o que permite testar a distro 4.496 +ou ter um sistema de recuperação pronto para uso. Para instalar todos os 4.497 +arquivos necessários a partir de uma estrutura de pastas ou de uma imagem 4.498 +ISO:</p> 4.499 + 4.500 <pre> 4.501 - # tazlito frugal-install 4.502 - # tazlito -fi slitaz.iso 4.503 +# tazlito frugal-install 4.504 +# tazlito -fi <em>slitaz.iso</em> 4.505 </pre> 4.506 4.507 -<a name="check-list"></a> 4.508 -<h3>check-list</h3> 4.509 -<p> 4.510 -Verifica se o arquivo distro-packages.list est atualizado com as 4.511 -mais recentes verses dos pacotes: 4.512 -</p> 4.513 + 4.514 +<h3 id="check-list">check-list</h3> 4.515 + 4.516 +<p>Verifica se o arquivo <tt>distro-packages.list</tt> está atualizado com as 4.517 +mais recentes versões dos pacotes:</p> 4.518 + 4.519 <pre> 4.520 - # tazlito check-list 4.521 +# tazlito check-list 4.522 </pre> 4.523 4.524 -<a name="repack"></a> 4.525 -<h3>repack</h3> 4.526 -<p> 4.527 -Comprime novamente o rootfs com a melhor compresso possvel: 4.528 -</p> 4.529 + 4.530 +<h3 id="repack">repack</h3> 4.531 + 4.532 +<p>Comprime novamente o rootfs com a melhor compressão possível:</p> 4.533 + 4.534 <pre> 4.535 - # tazlito repack slitaz.iso 4.536 +# tazlito repack <em>slitaz.iso</em> 4.537 </pre> 4.538 4.539 -<a name="merge"></a> 4.540 -<h3>merge</h3> 4.541 -<p> 4.542 -Combina diversas variantes. Cada rootfs uma consequncia de seu 4.543 -anterior. O primeiro rootfs extraido da imagem ISO indicada como 4.544 -terceiro argumento. As variantes sero escolhidas no momento do boot, 4.545 -de acordo com a memria RAM disponvel: 4.546 -</p> 4.547 + 4.548 +<h3 id="merge">merge</h3> 4.549 + 4.550 +<p>Combina diversas variantes. Cada rootfs é uma consequência de seu anterior. 4.551 +O primeiro rootfs é extraido da imagem ISO indicada como terceiro argumento. As 4.552 +variantes serão escolhidas no momento do boot, de acordo com a memória RAM 4.553 +disponível:</p> 4.554 + 4.555 <pre> 4.556 - # tazlito merge 160M slitaz-core.iso 96M rootfs-justx.gz 32M rootfs-base.gz 4.557 +# tazlito merge 160M slitaz-core.iso 96M rootfs-justx.gz 32M rootfs-base.gz 4.558 </pre> 4.559 4.560 -<a name="build-loram"></a> 4.561 -<h3>build-loram</h3> 4.562 -<p> 4.563 -Cria uma variante para sistemas com pouca memria RAM partir de uma 4.564 -imagem ISO do SliTaz. Pode-se gerar uma variante que seja carregada na 4.565 -diretamente na memria ou lida a partir do cdrom: 4.566 -</p> 4.567 + 4.568 +<h3 id="build-loram">build-loram</h3> 4.569 + 4.570 +<p>Cria uma variante para sistemas com pouca memória RAM à partir de uma imagem 4.571 +ISO do SliTaz. Pode-se gerar uma variante que seja carregada na diretamente 4.572 +na memória ou lida a partir do CD-ROM:</p> 4.573 + 4.574 <pre> 4.575 - # tazlito build-loram slitaz.iso loram.iso 4.576 - # tazlito build-loram slitaz.iso loram-cdrom.iso cdrom 4.577 +# tazlito build-loram <em>slitaz.iso loram.iso</em> 4.578 +# tazlito build-loram <em>slitaz.iso loram-cdrom.iso</em> cdrom 4.579 </pre> 4.580 4.581 -<a name="emu-iso"></a> 4.582 -<h3>emu-iso</h3> 4.583 -<p> 4.584 -O comando emu-iso utiliza o emulador Qemu para iniciar e rodar o SliTaz. 4.585 - util para testar a iso criada sem a necessidade de grav-la em um 4.586 -cdrom ou bootar em modo frugal. 4.587 -</p> 4.588 -<pre> # tazlito emu-iso 4.589 - # tazlito emu-iso path/to/image.iso 4.590 + 4.591 +<h3 id="emu-iso">emu-iso</h3> 4.592 + 4.593 +<p>O comando <code>emu-iso</code> utiliza o emulador Qemu para iniciar e rodar 4.594 +o SliTaz. É util para testar a ISO criada sem a necessidade de gravá-la em um 4.595 +CD-ROM ou bootar em modo frugal.</p> 4.596 + 4.597 +<pre> 4.598 +# tazlito emu-iso 4.599 +# tazlito emu-iso <em>path/to/image.iso</em> 4.600 </pre> 4.601 4.602 -<a name="burn-iso"></a> 4.603 -<h3>burn-iso</h3> 4.604 -<p> 4.605 -O comando "burn-iso" obtm informaes sobre o dispositivo de cd e as velocidades 4.606 -permitidas para gravao, e o wodim (parte do cdrkit) inicia para gravar a imagem 4.607 -ISO. A imagem ISo padro aquela especificada no arquivo de configurao, mas 4.608 - possvel especificar uma imagem diferente por meio da linha de comando: 4.609 -</p> 4.610 + 4.611 +<h3 id="burn-iso">burn-iso</h3> 4.612 + 4.613 +<p>O comando <code>burn-iso</code> obtém informações sobre o dispositivo de CD 4.614 +e as velocidades permitidas para gravação, e o wodim (parte do cdrkit) inicia 4.615 +para gravar a imagem ISO. A imagem ISO padrão é aquela especificada no arquivo 4.616 +de configuração, mas é possível especificar uma imagem diferente por meio 4.617 +da linha de comando:</p> 4.618 + 4.619 <pre> 4.620 - # tazlito burn-iso 4.621 - # tazlito burn-iso slitaz-hacked.iso 4.622 +# tazlito burn-iso 4.623 +# tazlito burn-iso <em>slitaz-hacked.iso</em> 4.624 </pre> 4.625 4.626 + 4.627 <h2>FLAVORS</h2> 4.628 -<p> 4.629 -Um arquivo <i>.flavor</i> contm somente alguns poucos Kb de informao 4.630 -necessria para (re)construir um LiveCD customizado do SliTaz. 4.631 -</p> 4.632 4.633 -<a name="rebuild-flavor"></a> 4.634 -<h3>(Re)construa uma variante</h3> 4.635 -<p> 4.636 -Voc pode escolher uma variante para (re)construir a partir daquelas 4.637 -disponveis: 4.638 -</p> 4.639 +<p>Um arquivo <tt>.flavor</tt> contém somente alguns poucos Kb de informação 4.640 +necessária para (re)construir um LiveCD customizado do SliTaz.</p> 4.641 + 4.642 + 4.643 +<h3 id="rebuild-flavor">(Re)construa uma variante</h3> 4.644 + 4.645 +<p>Você pode escolher uma variante para (re)construir a partir daquelas 4.646 +disponíveis:</p> 4.647 + 4.648 <pre> 4.649 # tazlito list-flavors 4.650 4.651 @@ -378,159 +390,140 @@ 4.652 eeepc 31.2M 105.4M SliTaz eeepc system 4.653 justX 16.1M 51.2M SliTaz with a minimal X environment 4.654 </pre> 4.655 -<p> 4.656 -Como exeplo, comearemos a reconstruir a variante <i>eeepc</i> que 4.657 -ocupa 105.4M de RAM e possui um tamanho de imagem ISO de 31.2M: 4.658 -</p> 4.659 + 4.660 +<p>Como exeplo, começaremos a reconstruir a variante <em>eeepc</em> que ocupa 4.661 +105.4M de RAM e possui um tamanho de imagem ISO de 31.2M:</p> 4.662 + 4.663 <pre> 4.664 # tazlito clean-distro 4.665 -# tazlito get-flavor eeepc 4.666 +# tazlito get-flavor <em>eeepc</em> 4.667 # tazlito gen-distro 4.668 </pre> 4.669 4.670 -<a name="create-flavor"></a> 4.671 -<h3>Crie uma variante</h3> 4.672 -<p> 4.673 -Para criar uma variante, voc deve: 4.674 -</p> 4.675 + 4.676 +<h3 id="create-flavor">Crie uma variante</h3> 4.677 + 4.678 +<p>Para criar uma variante, você deve:</p> 4.679 + 4.680 <ul> 4.681 - <li>Criar uma imagem ISO usando o comando <b>tazlito-gen-distro</b> 4.682 - e ento criar um arquivo flavor usando <b>tazlito gen-flavor</b>; ou</li> 4.683 - <li>Criar diretamente uma estrutura de arquivos que define o flavor 4.684 - (veja <b>tazlito extract-flavor</b>) e ento criar o flavor 4.685 - usando <b>tazlito pack-flavor</b>.</li> 4.686 + <li>Criar uma imagem ISO usando o comando 4.687 + <a href="#gen-distro"><code>tazlito gen-distro</code></a> e então criar 4.688 + um arquivo flavor usando 4.689 + <a href="#gen-flavor"><code>tazlito gen-flavor</code></a>; ou</li> 4.690 + <li>Criar diretamente uma estrutura de arquivos que define o flavor (veja 4.691 + <a href="#extract-flavor"><code>tazlito extract-flavor</code></a>) 4.692 + e então criar o flavor usando 4.693 + <a href="#pack-flavor"><code>tazlito pack-flavor</code></a>.</li> 4.694 </ul> 4.695 4.696 -<a name="publish-flavor"></a> 4.697 -<h3>Publique uma variante</h3> 4.698 -<p> 4.699 -Um arquivo .flavor possui alguns Kb de tamanho, ento voc pode envi-lo 4.700 -para a lista de discusso do SliTaz. 4.701 -</p> 4.702 -<p> 4.703 -Os arquivos resultantes do comando <b>tazlito extract flavor</b> pode 4.704 -tambm ser colocado no repositrio mercurial (http://repos.slitaz.org/flavors). 4.705 -Este mtodo preferido porque a estrutura de pastas poder ser 4.706 -acessada diretamente por uma 4.707 -<a href="http://hg.slitaz.org/flavors/file/tip">interface web</a>. 4.708 -</p> 4.709 -<p> 4.710 -Esta estrutura inclui: 4.711 -</p> 4.712 + 4.713 +<h3 id="publish-flavor">Publique uma variante</h3> 4.714 + 4.715 +<p>Um arquivo <tt>.flavor</tt> possui alguns Kb de tamanho, então você pode 4.716 +enviá-lo para <a href="http://www.slitaz.org/pt/mailing-list.php">a lista de 4.717 +discussão</a> do SliTaz.</p> 4.718 + 4.719 +<p>Os arquivos resultantes do comando <a href="#extract-flavor"><code>tazlito 4.720 +extract-flavor</code></a> pode também ser colocado no repositório 4.721 +<a href="http://hg.slitaz.org/flavors">mercurial</a>. Este método é preferido 4.722 +porque a estrutura de pastas poderá ser acessada diretamente por uma 4.723 +<a href="http://hg.slitaz.org/flavors/file/tip">interface web</a>.</p> 4.724 +<p>Esta estrutura inclui:</p> 4.725 + 4.726 <ul> 4.727 -<li> 4.728 -Uma <b>receita</b> (arquivo <i>receipt</i>) que descreve a variante 4.729 -por intermdio das variveis: 4.730 - <ul> 4.731 - <li> 4.732 -FLAVOR: O nome da variante. 4.733 - </li> 4.734 - <li> 4.735 -SHORT_DESC: Uma curta descrio 4.736 - </li> 4.737 - <li> 4.738 -VERSION: Verso. 4.739 - </li> 4.740 - <li> 4.741 -MAINTAINER: Email do desenvolvedor/criador. 4.742 - </li> 4.743 - <li> 4.744 -FRUGAL_RAM: Memria RAM mnima recomendvel (varivel opcional). 4.745 - </li> 4.746 - <li> 4.747 -ROOTFS_SIZE: Tamanho que o rootfs.gz ocupa descomprimido na RAM (opcional). 4.748 - </li> 4.749 - <li> 4.750 -INITRAMFS_SIZE: Tamanho que o rootfs.gz ocupa em um CDROM (opcional). 4.751 - </li> 4.752 - <li> 4.753 -ISO_SIZE: Tamanho do CDROM (opcional). 4.754 - </li> 4.755 - <li> 4.756 -ROOTFS_SELECTION: Opcional, veja <i>Meta flavor</i> abaixo. 4.757 - </li> 4.758 - </ul> 4.759 -</li> 4.760 -<li> 4.761 -O arquivo <b>packages.list</b> contem a lista de pacotes sem especificar 4.762 -uma verso (o tazlito sempre utiliza os ltimos pacotes disponveis). 4.763 -Este arquivo no aparece caso a varivel ROOTFS_SELECTION esteja 4.764 -definida. 4.765 -</li> 4.766 -<li> 4.767 -O arquivo opcional <b>mirrors</b> contem a lista de mirror no oficiais 4.768 -(undigest) a serem incluidos para se obter pacotes personalizados. 4.769 -</li> 4.770 -<li> 4.771 -O diretrio opcional <b>rootfs</b> contem uma estrutura de pastas e arquivos 4.772 -a serem adicionados ao sistema de arquivos rootfs.gz (normalmente sero 4.773 -arquivos de configurao). 4.774 -</li> 4.775 -<li> 4.776 -O diretrio opcional <b>rootcd</b> contem uma estrutura de pastas e arquivos 4.777 -a serem adicionados ao CDROM. 4.778 -</li> 4.779 + <li>Uma <b>receita</b> (arquivo <em>receipt</em>) que descreve a variante 4.780 + por intermédio das variáveis: 4.781 + <ul> 4.782 + <li>FLAVOR: O nome da variante.</li> 4.783 + <li>SHORT_DESC: Uma curta descrição</li> 4.784 + <li>VERSION: Versão.</li> 4.785 + <li>MAINTAINER: Email do desenvolvedor/criador.</li> 4.786 + <li>FRUGAL_RAM: Memória RAM mínima recomendável (variável 4.787 + opcional).</li> 4.788 + <li>ROOTFS_SIZE: Tamanho que o rootfs.gz ocupa descomprimido na RAM 4.789 + (opcional).</li> 4.790 + <li>INITRAMFS_SIZE: Tamanho que o rootfs.gz ocupa em um CD-ROM 4.791 + (opcional).</li> 4.792 + <li>ISO_SIZE: Tamanho do CD-ROM (opcional).</li> 4.793 + <li>ROOTFS_SELECTION: Opcional, veja <a href="#meta-flavor">Meta 4.794 + flavor</a> abaixo.</li> 4.795 + </ul> 4.796 + </li> 4.797 + <li>O arquivo <b>packages.list</b> contem a lista de pacotes sem especificar 4.798 + uma versão (o tazlito sempre utiliza os últimos pacotes disponíveis). 4.799 + Este arquivo não aparece caso a variável ROOTFS_SELECTION esteja 4.800 + definida.</li> 4.801 + <li>O arquivo opcional <b>mirrors</b> contem a lista de mirror não oficiais 4.802 + (undigest) a serem incluidos para se obter pacotes personalizados.</li> 4.803 + <li>O diretório opcional <b>rootfs</b> contem uma estrutura de pastas 4.804 + e arquivos a serem adicionados ao sistema de arquivos rootfs.gz 4.805 + (normalmente serão arquivos de configuração).</li> 4.806 + <li>O diretório opcional <b>rootcd</b> contem uma estrutura de pastas 4.807 + e arquivos a serem adicionados ao CD-ROM.</li> 4.808 </ul> 4.809 4.810 -<a name="tune-flavor"></a> 4.811 -<h3>Adapte uma variante</h3> 4.812 -<p> 4.813 -s vezes mais fcil modificar uma variante existente do que criar uma 4.814 -nova. Para adaptar a variante eeepc, por exemplo: 4.815 -</p> 4.816 + 4.817 +<h3 id="tune-flavor">Adapte uma variante</h3> 4.818 + 4.819 +<p>Às vezes é mais fácil modificar uma variante existente do que criar uma nova. 4.820 +Para adaptar a variante eeepc, por exemplo:</p> 4.821 + 4.822 <pre> 4.823 # tazpkg get-install mercurial 4.824 # cd /home/slitaz 4.825 # hg clone http://hg.slitaz.org/flavors 4.826 # cd flavors 4.827 -# cp -a eeepc myslitaz 4.828 +# cp -a <em>eeepc myslitaz</em> 4.829 </pre> 4.830 -<p> 4.831 -Arquivos em <i>my-slitaz</i> podem ser adaptados, ento: 4.832 -</p> 4.833 + 4.834 +<p>Arquivos em <tt>my-slitaz</tt> podem ser adaptados, então:</p> 4.835 + 4.836 <pre> 4.837 -# tazlito pack-flavor myslitaz 4.838 +# tazlito pack-flavor <em>myslitaz</em> 4.839 </pre> 4.840 -<p> 4.841 -Isto ir criar uma nova variante adaptada de uma outra existente. 4.842 -</p> 4.843 -<p> 4.844 -Dica: Pode-se evitar a instalao do mercurial extraindo-se uma variante. 4.845 -Usando o exemplo anterior: 4.846 -</p> 4.847 + 4.848 +<p>Isto irá criar uma nova variante adaptada de uma outra existente.</p> 4.849 +<p>Dica: Pode-se evitar a instalação do mercurial extraindo-se uma variante. 4.850 +Usando o exemplo anterior:</p> 4.851 + 4.852 <pre> 4.853 # tazlito get-flavor eeepc 4.854 # tazlito extract-flavor eeepc.flavor 4.855 # cd /home/slitaz/flavors 4.856 -# cp -a eeepc myslitaz 4.857 +# cp -a <em>eeepc myslitaz</em> 4.858 </pre> 4.859 4.860 -<a name="meta-flavor"></a> 4.861 -<h3>Meta flavor</h3> 4.862 -<p> 4.863 -Uma meta variante (meta flavor) contem diversas variantes juntas. Ao se 4.864 -iniciar o sistema com uma meta variante, uma variante contida no LiveCD 4.865 -ir ser chamada dependendo do tamanho da memria RAM disponvel. A 4.866 -varivel ROOTFS_SELECTION define o mnimo de RAM a ser utilizada e os 4.867 -parametros das variantes existentes. Exemplo usando a meta variante 4.868 -<a href="http://hg.slitaz.org/flavors/file/tip/core-3in1/receipt"></a>: 4.869 -</p> 4.870 + 4.871 +<h3 id="meta-flavor">Meta flavor</h3> 4.872 + 4.873 +<p>Uma meta variante (meta flavor) contem diversas variantes juntas. Ao se 4.874 +iniciar o sistema com uma meta variante, uma variante contida no LiveCD irá ser 4.875 +chamada dependendo do tamanho da memória RAM disponível. A variável 4.876 +ROOTFS_SELECTION define o mínimo de RAM a ser utilizada e os parametros das 4.877 +variantes existentes. 4.878 +<a href="http://hg.slitaz.org/flavors/file/tip/core-4in1/receipt">Exemplo</a> 4.879 +usando a meta variante:</p> 4.880 + 4.881 <pre> 4.882 ROOTFS_SELECTION="160M core 96M justX 32M base" 4.883 </pre> 4.884 -<p> 4.885 -Este tipo de variante no possui uma lista de pacotes (packages.list) 4.886 -e s suportada no SliTaz a partir do kernel 2.6.30. 4.887 -</p> 4.888 + 4.889 +<p>Este tipo de variante não possui uma lista de pacotes 4.890 +(<tt>packages.list</tt>) e só é suportada no SliTaz a partir do kernel 4.891 +2.6.30.</p> 4.892 + 4.893 4.894 <h2>MANTENEDOR</h2> 4.895 -<p> 4.896 -Christophe Lincoln <pankso at slitaz.org><br /> 4.897 -Pascal bellard <pascal.bellard at slitaz.org> 4.898 -</p> 4.899 + 4.900 +<p>Christophe Lincoln <pankso at slitaz.org><br /> 4.901 +Pascal Bellard <pascal.bellard at slitaz.org></p> 4.902 4.903 <!-- End content --> 4.904 </div> 4.905 + 4.906 +<footer> 4.907 + Copyright © 2013 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a> 4.908 +</footer> 4.909 + 4.910 </body> 4.911 </html> 4.912 -