Jump to content

TazLiTo

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by AnomieBOT (talk | contribs) at 03:06, 12 June 2015 (Dating maintenance tags: {{Merge into}}). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

TazLito is the LiveCD creation utility in SliTaz GNU/Linux.

Usage

Syntax:

 tazlito [command] [list|iso|flavor] [dir]

Possible keywords for command:

  • usage
    • Displays a summary of available commands
    • e.g., # tazlito usage
  • stats
    • Displays the configuration variables, the paths to the various files and directories, and information on the ISO image
    • e.g., # tazlito stats
  • gen-config
    • Allows you to generate a configuration file ready to be edited
    • e.g., # tazlito gen-config
  • configure
    • Configures the system configuration file or one found in the current directory
    • e.g., # tazlito configure
  • gen-iso
    • Can generate a new LiveCD image
    • e.g., # tazlito gen-iso
  • gen-initiso
    • Does the same work as 'gen-iso', but it rebuilds the initramfs compressed system
    • e.g., # tazlito gen-initiso
  • list-flavors
    • Downloads and displays a list of the different flavors available
    • e.g., # tazlito list-flavors
  • get-flavor
    • Downloads (if necessary) and prepares the files for 'gen-distro' to generate a flavor
    • e.g., # tazlito get-flavor particular-flavor
  • show-flavor
    • Displays the description of the flavor and its size after regeneration
    • e.g., # tazlito show-flavor particular-flavor
  • gen-flavor
    • Creates a description file of a new flavor from the results of generating a distro (gen-distro)
    • e.g. # tazlito gen-flavor new-flavor
  • gen-liveflavor
    • Creates a description file of a new flavor from the results of generating a distro based on the current system
    • e.g., # tazlito gen-liveflavor
  • extract-distro
    • Extract an ISO image from the LiveCD to rebuild the structure of the root cdrom and system
    • e.g., # tazlito extract-distro slitaz-cooking.iso
  • gen-distro
    • Generate the distro-tree and an ISO image via a list of packages
    • e.g., # tazlito gen-distro
  • clean-distro
    • Removes all files generated or extracts of the structure of the LiveCD
    • e.g., # tazlito clean-distro
  • addhacker
    • Allows the addition of the user hacker to the distribution
    • e.g., # tazlito addhacker
  • check-distro
    • Verifies if files installed by the packages are present on the system
    • e.g., # tazlito check-distro
  • emu-iso
    • Uses the QEMU emulator to start and run SliTaz
    • e.g., # tazlito emu-iso
  • burn-iso
    • Guesses the cdrom device and its speed, and wodim (part of cdrkit) will begin to burn an ISO image
    • e.g., # tazlito burn-iso

Commands

gen-iso

Performs the following operations:

  • Check Root
  • Verify Root CD
  • Generate LiveCD ISOLinux
  • Distro Stats

gen-initiso

Performs the following operations:

  • Check Root
  • Verify Root CD
  • Generate initramfs
  • Generate LiveCD ISOLinux
  • Distro Stats

Common Operations

Check Root

Check to ensure UID is zero (i.e., TazLito was run by root or root sudoer).

Check Root File System

Looks for the existence of an etc. directory in the root file system directory. N.B., this does not do any further checking to ensure anything is actually in the directory. However, if TazLito is used for all LiveCD creation operations (that is, one does not create/modify the directories used by TazLito) the directories existence implies it is populated properly.

Verify Root CD

Looks for the existence of a boot directory in the root CD directory. N.B., this does not do any further checking to ensure anything is actually in the directory. However, if TazLito is used for all LiveCD creation operations (that is, one does not create/modify the directories used by TazLito) the directories existence implies it is populated properly.

Generate initramfs

  1. Executes scripts for packages altering the root file system
  2. Hard links redundant files in the root filesystem to save space
  3. Runs cpio to create the initramfs, compressing with lzma or gzip (or no compression)