Flavors: customize SliTaz to your needs
Flavors are a customized SliTaz live CD-ROM for a specific:
- usage — your profession, demo, games, office, virtualizer, rescue…
- target — eeepc901, cluster, ARM tablet…
- look — enlightenment, multi touch interface, other OS fake…
- configuration — with your settings
- subset/superset and so on…
A flavor file (*.flavor) holds all the information to build an ISO image in a few kilobytes.
This ISO image can be burnt on a CD-ROM/DVD or installed on an USB key with tazusb.
Online builder — Download your flavor file in 6 steps
Note: to build a tiny text based server, you can try Tiny SliTaz builder instead.
Step 1. Find the packages for your flavor using:
Embedded builder: Tazlito
The Online flavor builder cannot manage file access rights or advanced features such as private mirrors, meta flavors or non-free packages.
See the documentation and examples online.
In short: create a
tree with a receipt… and then run:
# tazlito pack-flavor your-flavor # tazlito get-flavor your-flavor.flavor # tazlito gen-distro
You have remastered SliTaz without using flavors and you have only an ISO image? This tool will create a flavor for you!
# tazlito iso2flavor your-ISO_image your-flavor
Example: build a flavor from the Live CD
The SliTaz Live CD flavor is called core. Get this flavor and extract it:
# tazlito get-flavor core # tazlito extract-flavor core # cd /home/slitaz/flavors/core
Install any packages you want, add or modify some files… Copy these files
rootfs tree. Example:
# mkdir -p rootfs/etc/init.d # cp -a /etc/init.d/local.sh rootfs/etc/init.d # cp -a /etc/dropbear rootfs/etc # cp -a /etc/network.conf rootfs/etc # cp -a /etc/firefox rootfs/etc
# ls /var/lib/tazpkg/installed > packages.list
rootcd tree for extra files on the CD-ROM.
# mkdir rootcd # vi rootcd/README.txt
receipt and rename the flavor.
# vi receipt # cd .. # mv core myconfig
# cd # tazlito pack-flavor myconfig