tazlito annotate doc/tazlito.en.html @ rev 211

doc: Update CSS and clean-up
author Christophe Lincoln <pankso@slitaz.org>
date Thu Feb 24 13:45:28 2011 +0100 (2011-02-24)
parents 740c4e602c14
children b7493ef28221
rev   line source
pankso@117 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
pankso@117 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
pankso@117 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
pankso@117 4 <head>
pankso@117 5 <title>Tazlito Manual - SliTaz Live Tool</title>
pankso@117 6 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
pankso@117 7 <meta name="description" content="" />
pankso@117 8 <meta name="expires" content="never" />
pankso@211 9 <meta name="modified" content="2011-02-24 13:30:00" />
pankso@117 10 <style type="text/css"><!--
pankso@211 11 body { font: 90% sans-serif, vernada, arial; margin: 0;
pankso@211 12 border-top: 34px solid #f1f1f1; }
pankso@211 13 #header { background: #351a0a; color: black; height: 50px;
pankso@117 14 border-top: 1px solid black; border-bottom: 1px solid black; }
pankso@117 15 #content { margin: 0px 50px 26px 50px; }
pankso@211 16 h1 { margin: 14px 0px 0px 16px; color: #fff; margin: 10px; }
pankso@211 17 h3 { font-weight: bold; color: #666666; }
pankso@117 18 li { line-height: 1.4em; }
pankso@211 19 pre { padding: 5px; color: black; background: #e1e0b0;
pankso@211 20 border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; }
pankso@117 21 code { font-size: 100%; color: #669900; background: transparent; }
pankso@117 22 hr { color: white; background: white; height: 1px; border: 0; }
pankso@117 23 --></style>
pankso@117 24 </head>
pankso@117 25 <body bgcolor="#ffffff">
pankso@117 26 <div id="header">
pankso@211 27 <h1>Tazlito Manual</h1>
pankso@117 28 </div>
pankso@117 29 <hr />
pankso@117 30 <!-- Start content -->
pankso@117 31 <div id="content">
pankso@117 32
pankso@117 33 <h2>NAME</h2>
pankso@117 34 <p>
pankso@117 35 Tazlito - SliTaz Live Tool.
pankso@117 36 </p>
pankso@117 37
pankso@117 38 <h2>SYNTAX</h2>
pankso@117 39 <pre>
pankso@117 40 tazlito [command] [list|iso|flavor] [dir]
pankso@117 41 </pre>
pankso@117 42
pankso@117 43 <h2>DESCRIPTION</h2>
pankso@117 44 <p>
pankso@117 45 Tazlito is a small utility to extract a LiveCD, rebuild the
pankso@117 46 ISO image and regenerate the root filesystem of the LiveCD.
pankso@117 47 Tazlito can also generate a distribution from a list of packages
pankso@117 48 previously downloaded. To run, Tazlito uses the configuration file
paul@187 49 /etc/tazlito/tazlito.conf or an easily generated tazlito.conf
paul@187 50 found in the current directory.
pankso@117 51 It specifies the name of the ISO, volume, maintainer and
pankso@117 52 the paths of the packages to distribute and the generated ISO.
paul@121 53 Tazlito can also set up a directory containing additional files
pankso@117 54 which will be copied to the LiveCD when generating the distribution.
pankso@117 55 </p>
pankso@117 56 <p>
pankso@117 57 Tazlito is distributed under the free GNU licence GPL V3,
pankso@117 58 installed by default on SliTaz and installed/sucessfully tested
pankso@117 59 on Debian GNU/Linux. You will find additional information
pankso@117 60 about creating a LiveCD in the Handbook.
pankso@117 61 </p>
pankso@117 62
pankso@117 63 <h2>COMMANDS</h2>
pankso@128 64
pankso@117 65 <a name="usage"></a>
pankso@211 66 <h3>usage</h3>
pankso@117 67 <p>
pankso@117 68 The 'usage' command displays a summary of available commands
pankso@117 69 with a short description:
pankso@117 70 </p>
pankso@117 71 <pre>
pankso@117 72 # tazlito usage
pankso@117 73 </pre>
pankso@128 74
pankso@117 75 <a name="stats"></a>
pankso@211 76 <h3>stats</h3>
pankso@117 77 <p>
pankso@117 78 Stats displays the configuration variables, the paths to the
pankso@117 79 various files and directories, and information on the ISO image:
pankso@117 80 </p>
pankso@117 81 <pre>
pankso@117 82 # tazlito stats
pankso@117 83 </pre>
pankso@128 84
pankso@117 85 <a name="gen-config"></a>
pankso@211 86 <h3>gen-config</h3>
pankso@117 87 <p>
pankso@117 88 The 'gen-config' command allows you to generate a configuration
pankso@117 89 file ready to be edited. By default the file is created in
pankso@117 90 the current directory, but can be in another directory
pankso@117 91 if specified via the command line:
pankso@117 92 </p>
pankso@117 93 <pre>
pankso@117 94 # tazlito gen-config
pankso@117 95 # tazlito gen-config /path/to/distro
pankso@117 96 </pre>
pankso@128 97
pankso@117 98 <a name="configure"></a>
pankso@211 99 <h3>configure</h3>
pankso@117 100 <p>
pankso@117 101 This command configures the system configuration
pankso@117 102 file or one found in the current directory:
pankso@117 103 </p>
pankso@117 104 <pre>
pankso@117 105 # tazlito configure
pankso@117 106 </pre>
pankso@128 107
pankso@117 108 <a name="gen-iso"></a>
pankso@211 109 <h3>gen-iso</h3>
pankso@117 110 <p>
pankso@117 111 The 'gen-iso' command can generate a
pankso@117 112 new LiveCD image following modifications and additions to the
pankso@117 113 root filesystem of the cdrom. To function, this command needs
pankso@117 114 a directory containing the distro-tree of the Live system.
pankso@117 115 This tree can easily be built with the 'extract-distro' command,
pankso@117 116 modified and rebuilt via:
pankso@117 117 </p>
pankso@117 118 <pre>
pankso@117 119 # tazlito gen-iso
pankso@117 120 </pre>
pankso@128 121
pankso@117 122 <a name="gen-initiso"></a>
pankso@211 123 <h3>gen-initiso</h3>
pankso@117 124 <p>
pankso@117 125 The 'gen'initso' command will do the same work as 'gen-iso',
pankso@117 126 but it rebuilds the initramfs compressed system prior.
pankso@117 127 The initramfs contains the root filesystem and
pankso@117 128 must be rebuilt if modified:
pankso@117 129 </p>
pankso@117 130 <pre>
pankso@117 131 # tazlito gen-initiso
pankso@117 132 </pre>
pankso@128 133
pankso@117 134 <a name="list-flavors"></a>
pankso@211 135 <h3>list-flavors</h3>
pankso@117 136 <p>
pankso@117 137 The 'list-flavors' command downloads (if necessary) and displays
pankso@117 138 a list of the different flavors available. You can force the
pankso@117 139 download with the --recharge option:
pankso@117 140 </p>
pankso@117 141 <pre>
pankso@117 142 # tazlito list-flavors
pankso@117 143 # tazlito list-flavors --recharge
pankso@117 144 </pre>
pankso@128 145
pankso@117 146 <a name="get-flavors"></a>
pankso@211 147 <h3>get-flavor</h3>
pankso@117 148 <p>
pankso@117 149 The 'get-flavor' command downloads (if necessary) and prepares the
pankso@117 150 files for 'gen-distro' to generate a flavor:
pankso@117 151 </p>
pankso@117 152 <pre>
pankso@117 153 # tazlito get-flavor particular-flavor
pankso@117 154 </pre>
pankso@128 155
pankso@117 156 <a name="show-flavors"></a>
pankso@211 157 <h3>show-flavor</h3>
pankso@117 158 <p>
pankso@117 159 The 'show-flavor' command displays the description of the
pankso@117 160 flavor and its size after regeneration. The options
pankso@117 161 --brief and --noheader reduce the output displayed:
pankso@117 162 </p>
pankso@117 163 <pre>
pankso@117 164 # tazlito show-flavor particular-flavor
pankso@117 165 # tazlito show-flavor particular-flavor --brief
pankso@117 166 # tazlito show-flavor particular-flavor --brief --noheader
pankso@117 167 </pre>
pankso@128 168
pankso@117 169 <a name="gen-flavor"></a>
pankso@211 170 <h3>gen-flavor</h3>
pankso@117 171 <p>
pankso@117 172 The 'gen-flavor' command creates a description file of a new
pankso@117 173 flavor from the results of generating a distro (gen-distro).
pankso@117 174 The .flavor file can then be sent to slitaz.org:
pankso@117 175 </p>
pankso@117 176 <pre>
pankso@117 177 # tazlito gen-flavor new-flavor
pankso@117 178 </pre>
pankso@128 179
pankso@117 180 <a name="gen-liveflavor"></a>
pankso@211 181 <h3>gen-liveflavor</h3>
pankso@117 182 <p>
pankso@117 183 The 'gen-liveflavor' command creates a description file of a new
pankso@117 184 flavor from the results of generating a distro based on the
pankso@117 185 current system. The --help option provides more information:
pankso@117 186 </p>
pankso@117 187 <pre> # tazlito gen-liveflavor
pankso@117 188 # tazlito gen-liveflavor --help
pankso@117 189 </pre>
pankso@128 190
pascal@158 191 <a name="upgrade-flavor"></a>
pankso@211 192 <h3>upgrade-flavor</h3>
pascal@158 193 <p>
pascal@158 194 The `upgrade-flavor' command refreshes a flavor file by updating the
pascal@158 195 list of packages with the latest versions available:
pascal@158 196 </p>
pascal@158 197 <pre>
pascal@158 198 # tazlito upgrade-flavor this-flavor
pascal@158 199 </pre>
pascal@158 200
pascal@158 201 <a name="extract-flavor"></a>
pankso@211 202 <h3>extract-flavor</h3>
pascal@158 203 <p>
pascal@158 204 The 'extract-flavor' command converts a flavor into an easily modifiable
pascal@158 205 tree structure in /home/slitaz/flavors which can be managed with
pascal@158 206 mercurial:
pascal@158 207 <a href="http://hg.slitaz.org/flavors">http://hg.slitaz.org/flavors</a>.
pascal@158 208 </p>
pascal@158 209 <pre>
pascal@158 210 # tazlito extract-flavor this-flavor
pascal@158 211 </pre>
pascal@158 212
pascal@158 213 <a name="pack-flavor"></a>
pankso@211 214 <h3>pack-flavor</h3>
pascal@158 215 <p>
pascal@158 216 The 'pack-flavor' command converts a tree structure in /home/slitaz/flavors
pascal@158 217 into a flavor file (.flavor). It is inverse of 'tazlito extract-flavor':
pascal@158 218 </p>
pascal@158 219 <pre>
pascal@158 220 # tazlito pack-flavor this-flavor
pascal@158 221 </pre>
pascal@158 222
pankso@117 223 <a name="extract-distro"></a>
pankso@211 224 <h3>extract-distro</h3>
pankso@117 225 <p>
pankso@117 226 The 'extract-distro' command is used to extract an ISO image
pankso@117 227 from the LiveCD to rebuild the structure of the root cdrom
pankso@117 228 and system. It is then possible to make the desired changes
pankso@117 229 or additions and rebuild the ISO image via 'gen-iso' or
pankso@117 230 'gen-initiso'. Example of use:
pankso@117 231 </p>
pankso@117 232 <pre>
pankso@117 233 # tazlito extract-distro slitaz-cooking.iso
pankso@117 234 </pre>
pankso@128 235
pankso@117 236 <a name="gen-distro"></a>
pankso@211 237 <h3>gen-distro</h3>
pankso@117 238 <p>
pankso@117 239 The <em>Generate Distribution</em> command can generate the
pankso@117 240 distro-tree and an ISO image via a list of packages. To function,
pankso@117 241 this command needs a list of packages, a directory containing
pankso@117 242 all the (.tazpkg) packages on the list, and a directory to
pankso@117 243 generate the distribution. The list of packages can be extracted
paul@187 244 from a flavor with the 'get-flavor' command. If one uses the
pankso@117 245 LiveCD, the options --cdrom and --iso= permit the regeneration
pankso@117 246 of packages that place files in /boot without being obliged
pankso@117 247 to download them and recovers the additional files of the
pankso@117 248 LiveCD. The path to the various directories are configured
pankso@117 249 in the configuration file and packages can be downloaded
pankso@117 250 from the SliTaz mirrors or generated by Tazwok. To generate
pankso@117 251 a distribution:
pankso@117 252 </p>
pankso@117 253 <pre>
pankso@117 254 # tazlito gen-distro
pankso@117 255 # tazlito gen-distro --cdrom
pankso@117 256 # tazlito gen-distro --iso=slitaz.iso
pankso@117 257 # tazlito gen-distro package-list
pankso@117 258 </pre>
pankso@128 259
pankso@117 260 <a name="clean-distro"></a>
pankso@211 261 <h3>clean-distro</h3>
pankso@117 262 <p>
pankso@117 263 Removes all files generated or extracts of the structure
pankso@117 264 of the LiveCD:
pankso@117 265 </p>
pankso@117 266 <pre>
pankso@117 267 # tazlito clean-distro
pankso@117 268 </pre>
pankso@128 269
pankso@117 270 <a name="check-distro"></a>
pankso@211 271 <h3>check-distro</h3>
pankso@117 272 <p>
pankso@117 273 This command simply verifies if files installed
pankso@117 274 by the packages are present on the system:
pankso@117 275 </p>
pankso@117 276 <pre>
pankso@117 277 # tazlito check-distro
pankso@117 278 </pre>
pankso@128 279
pankso@128 280 <a name="writeiso"></a>
pankso@211 281 <h3>writeiso</h3>
pankso@128 282 <p>
paul@153 283 This command will write the current filesystem to a cpio archive
paul@153 284 (rootfs.gz) and then generate a bootable ISO image. Writeiso can
paul@153 285 be used in a HD install or in live mode and will also archive your
paul@153 286 current /home directory. This command lets you easily remaster and
paul@153 287 build your own LiveCD image, just boot, modify any files, and then:
paul@153 288
pankso@128 289 </p>
pankso@128 290 <pre>
pankso@128 291 # tazlito writeiso [gzip|lzma|none]
pankso@128 292 # tazlito writeiso gzip
pankso@128 293 # tazlito writeiso gzip image-name
pankso@128 294 </pre>
pankso@128 295
pankso@128 296 <a name="frugal-install"></a>
pankso@211 297 <h3>frugal-install</h3>
pankso@128 298 <p>
paul@153 299 Perfom a frugal installation into /boot/frugal and add a GRUB entry
paul@153 300 if needed. Frugal mode will make SliTaz work completely in memory
paul@153 301 (RAM) - useful to test a distro without burning an ISO or to have a
paul@153 302 rescue system ready to use when the computer powers on. To install
paul@153 303 all needed files from a distro tree or an ISO image:
pankso@128 304 </p>
pankso@128 305 <pre>
pankso@128 306 # tazlito frugal-install
pankso@128 307 # tazlito -fi slitaz.iso
pankso@128 308 </pre>
pankso@128 309
pascal@158 310 <a name="check-list"></a>
pankso@211 311 <h3>check-list</h3>
pascal@158 312 <p>
pascal@158 313 Checks if the distro-packages.list is updated with the latest package
paul@159 314 versions:
pascal@158 315 </p>
pascal@158 316 <pre>
pascal@158 317 # tazlito check-list
pascal@158 318 </pre>
pascal@158 319
pascal@158 320 <a name="repack"></a>
pankso@211 321 <h3>repack</h3>
pascal@158 322 <p>
pascal@158 323 Recompresses the rootfs with the best possible compression:
pascal@158 324 </p>
pascal@158 325 <pre>
pascal@158 326 # tazlito repack slitaz.iso
pascal@158 327 </pre>
pascal@158 328
pascal@158 329 <a name="merge"></a>
pankso@211 330 <h3>merge</h3>
pascal@158 331 <p>
pascal@158 332 Combines several flavors like nested Russian dolls. Each rootfs is a
pascal@158 333 subset of the previous. The first rootfs is extracted from the ISO image
pascal@158 334 used in the third argument. The flavor will then be chosen to launch at
pascal@158 335 startup according to the amount of RAM available:
pascal@158 336 </p>
pascal@158 337 <pre>
pascal@158 338 # tazlito merge 160M slitaz-core.iso 96M rootfs-justx.gz 32M rootfs-base.gz
pascal@158 339 </pre>
pascal@158 340
pascal@171 341 <a name="build-loram"></a>
pankso@211 342 <h3>build-loram</h3>
pascal@171 343 <p>
paul@173 344 Creates an ISO image flavor for low ram systems from a SliTaz ISO image.
paul@173 345 You can build a flavor with / always in ram or where / resides on the cdrom:
pascal@171 346 </p>
pascal@171 347 <pre>
pascal@171 348 # tazlito build-loram slitaz.iso loram.iso
pascal@171 349 # tazlito build-loram slitaz.iso loram-cdrom.iso cdrom
pascal@171 350 </pre>
pascal@171 351
paul@121 352 <a name="emu-iso"></a>
pankso@211 353 <h3>emu-iso</h3>
paul@121 354 <p>
paul@121 355 The emu-iso command uses the Qemu emulator to start and run SliTaz.
paul@121 356 Qemu is used to test the newly built ISO image without burning to a
pascal@158 357 cdrom or booting into frugal mode:
paul@121 358 </p>
paul@121 359 <pre>
paul@121 360 # tazlito emu-iso
paul@121 361 # tazlito emu-iso path/to/image.iso
paul@121 362 </pre>
pankso@128 363
pankso@117 364 <a name="burn-iso"></a>
pankso@211 365 <h3>burn-iso</h3>
pankso@117 366 <p>
pankso@117 367 Burn-iso will guess the cdrom device and its speed, and wodim
pankso@117 368 (part of cdrkit) will begin to burn an ISO image. The default
paul@187 369 ISO image is the one located in the current configuration file,
pankso@117 370 but it's possible to specify a different image via the
pankso@117 371 command line:
pankso@117 372 </p>
pankso@117 373 <pre>
pankso@117 374 # tazlito burn-iso
pankso@117 375 # tazlito burn-iso slitaz-hacked.iso
pankso@117 376 </pre>
pankso@117 377
pascal@158 378 <h2>FLAVORS</h2>
pascal@158 379 <p>
pascal@158 380 A <i>.flavor</i> file contains just a few KB of information needed to
pascal@158 381 (re)manufacture a custom LiveCD of SliTaz.
pascal@158 382 </p>
pascal@158 383
pascal@158 384 <a name="rebuild-flavor"></a>
pankso@211 385 <h3>Manufacture a flavor</h3>
pascal@158 386 <p>
pascal@158 387 You can choose the flavor to (re)manufacture from among those available:
pascal@158 388 </p>
pascal@158 389 <pre>
pascal@158 390 # tazlito list-flavors
pascal@158 391
pascal@158 392 List of flavors
pascal@158 393 ================================================================================
pascal@158 394 Name ISO Rootfs Description
pascal@158 395 ================================================================================
pascal@158 396 base 6.9M 13.1M Minimal set of packages to boot
pascal@158 397 core-3in1 31.5M 105.6M SliTaz core system with justX and base alternatives
pascal@158 398 core 31.5M 104.6M SliTaz core system
pascal@158 399 eeepc 31.2M 105.4M SliTaz eeepc system
paul@159 400 justX 16.1M 51.2M SliTaz with a minimal X environment
pascal@158 401 </pre>
pascal@158 402 <p>
pascal@158 403 We will start by remanufacturing the <i>eeepc</i> flavor which uses 105.4M of RAM
paul@159 404 and has a CD-ROM size of 31.2M:
pascal@158 405 </p>
pascal@158 406 <pre>
pascal@158 407 # tazlito clean-distro
pascal@158 408 # tazlito get-flavor eeepc
pascal@158 409 # tazlito gen-distro
pascal@158 410 </pre>
pascal@158 411
pascal@158 412 <a name="create-flavor"></a>
pankso@211 413 <h3>Create a flavor</h3>
pascal@158 414 <p>
pascal@158 415 To create a flavor, you must:
pascal@158 416 </p>
pascal@158 417 <ul>
pascal@158 418 <li>Either create an ISO image with <b>tazlito gen-distro</b> and then create
pascal@158 419 a flavor file with <b>tazlito gen-flavor</b></li>
pascal@158 420 <li>Either directly create the tree structure that defines the flavor
pascal@158 421 (see <b>tazlito extract-flavor</b>) and then create the flavor with
pascal@158 422 <b>tazlito pack-flavor</b></li>
pascal@181 423 <li>Either use the
pascal@181 424 <a href="http://mirror.slitaz.org/pizza/">online builder</a></li>
pascal@158 425 </ul>
pascal@158 426
pascal@158 427 <a name="publish-flavor"></a>
pankso@211 428 <h3>Post a flavor</h3>
pascal@158 429 <p>
pascal@158 430 Because a .flavor file contains just a few KB; it can be easily sent via the
pascal@158 431 mailing list.
pascal@158 432 </p>
pascal@158 433 <p>
pascal@158 434 The results of <b>tazlito extract flavor</b> can also be put in mercurial
pascal@158 435 (http://repos.slitaz.org/flavors). This method is preferred because the
pascal@167 436 tree will be directly visible with the
pascal@167 437 <a href="http://hg.slitaz.org/flavors/file/tip">mercurial web interface</a>.
pascal@158 438 </p>
pascal@158 439 <p>
pascal@158 440 This tree includes:
paul@159 441 </p>
pascal@158 442 <ul>
pascal@158 443 <li>
paul@159 444 A <b>receipt</b> file describing the flavor thanks to the variables:
pascal@158 445 <ul>
pascal@158 446 <li>
pascal@158 447 FLAVOR: The flavor name.
pascal@158 448 </li>
pascal@158 449 <li>
pascal@158 450 SHORT_DESC: Short description.
pascal@158 451 </li>
pascal@158 452 <li>
pascal@158 453 VERSION: Free format.
pascal@158 454 </li>
pascal@158 455 <li>
pascal@158 456 MAINTAINER: Email address of maintainer.
pascal@158 457 </li>
pascal@158 458 <li>
paul@159 459 FRUGAL_RAM: Minimum RAM required (optional).
pascal@158 460 </li>
pascal@158 461 <li>
paul@159 462 ROOTFS_SIZE: Size of rootfs.gz decompressed into RAM (optional).
pascal@158 463 </li>
pascal@158 464 <li>
paul@159 465 INITRAMFS_SIZE: Size of rootfs.gz on the CD-ROM (optional).
pascal@158 466 </li>
pascal@158 467 <li>
paul@159 468 ISO_SIZE: Size of CD-ROM (optional).
pascal@158 469 </li>
pascal@158 470 <li>
paul@159 471 ROOTFS_SELECTION: Optional, see <i>Meta flavor</i> below.
pascal@158 472 </li>
pascal@158 473 </ul>
pascal@158 474 </li>
pascal@158 475 <li>
paul@159 476 The file <b>packages.list</b> containing the list of packages without
paul@159 477 specifying the version (tazlito uses the latest available).
paul@159 478 This file is missing if ROOTFS_SELECTION exists in the receipt.
paul@159 479 </li>
pascal@158 480 <li>
pascal@158 481 The optional <b>mirrors</b> file containing the list of unofficial mirrors
paul@159 482 (undigest) to be added to include personal packages.
pascal@158 483 </li>
pascal@158 484 <li>
pascal@158 485 The optional directory <b>rootfs</b> containing the tree to add to the
pascal@158 486 root filesystem rootfs.gz (configuration files usually).
pascal@158 487 </li>
pascal@158 488 <li>
pascal@158 489 The optional directory <b>rootcd</b> containing the tree to add to the
pascal@158 490 root of the CD-ROM.
pascal@158 491 </li>
pascal@158 492 </ul>
pascal@158 493
pascal@158 494 <a name="tune-flavor"></a>
pankso@211 495 <h3>Adapt a flavor</h3>
pascal@158 496 <p>
pascal@158 497 It is often easier to modify an existing flavor than to create one from
pascal@158 498 scratch. To adapt the eeepc flavor for example:
pascal@158 499 </p>
pascal@158 500 <pre>
pascal@158 501 # tazpkg get-install mercurial
pascal@158 502 # cd /home/slitaz
pascal@158 503 # hg clone http://hg.slitaz.org/flavors
pascal@158 504 # cd flavors
pascal@158 505 # cp -a eeepc myslitaz
pascal@158 506 </pre>
pascal@158 507 <p>
paul@187 508 Files in my-slitaz can then be changed, and:
pascal@158 509 </p>
pascal@158 510 <pre>
pascal@158 511 # tazlito pack-flavor myslitaz
pascal@158 512 </pre>
pascal@158 513 <p>
pascal@158 514 Will simply create the new flavor.
pascal@158 515 </p>
pascal@165 516 <p>
pascal@165 517 Tip: you can skip mercurial installation by extracting a flavor.
paul@168 518 Using the previous example:
pascal@165 519 </p>
pascal@165 520 <pre>
pascal@165 521 # tazlito get-flavor eeepc
pascal@165 522 # tazlito extract-flavor eeepc.flavor
pascal@165 523 # cd /home/slitaz/flavors
pascal@165 524 # cp -a eeepc myslitaz
pascal@165 525 </pre>
pascal@158 526
pascal@158 527 <a name="meta-flavor"></a>
pankso@211 528 <h3>Meta flavor</h3>
pascal@158 529 <p>
pascal@158 530 A meta flavor contains several flavors like nested Russian dolls. The flavor
pascal@158 531 will be launched at startup according to the amount of RAM available.
pascal@158 532 The ROOTFS_SELECTION variable defines the minimim RAM and corresponding
pascal@158 533 flavor parameters, <a href="http://hg.slitaz.org/flavors/file/tip/core-3in1/receipt">
pascal@158 534 example</a>:
pascal@158 535 </p>
pascal@158 536 <pre>
pascal@158 537 ROOTFS_SELECTION="160M core 96M justX 32M base"
pascal@158 538 </pre>
pascal@158 539 <p>
pascal@158 540 A meta flavor doesn't contain a list of packages (packages.list). SliTaz
pascal@158 541 kernels prior to 2.6.30 do not support meta flavors.
pascal@158 542 </p>
pascal@158 543
pankso@117 544 <h2>MAINTAINER</h2>
pankso@117 545 <p>
pankso@117 546 Christophe Lincoln &lt;pankso at slitaz.org&gt;
pankso@117 547 </p>
pankso@117 548
pankso@117 549 <!-- End content -->
pankso@117 550 </div>
pankso@117 551 </body>
pankso@117 552 </html>
pankso@117 553