# HG changeset patch # User Dominique Corbex # Date 1361349857 -3600 # Node ID 81f961f39b06cab0d434d163b79c4fb501ef4eca # Parent e8cb586475526a43a12a59117915fb257447940e move tazint to its own repo, fix Makefile + tazdrop/fr.po errors diff -r e8cb58647552 -r 81f961f39b06 Makefile --- a/Makefile Sun Feb 17 12:58:55 2013 +0100 +++ b/Makefile Wed Feb 20 09:44:17 2013 +0100 @@ -5,7 +5,7 @@ DOCDIR?=/usr/share/doc DESTDIR?= -PROJECTS=slitaz-tools slitaz-boxes tazbox tazinst tazdrop +PROJECTS=slitaz-tools slitaz-boxes tazbox tazdrop LINGUAS=es_AR el fr pt_BR ru all: msgfmt @@ -44,19 +44,13 @@ --package-name="TazDrop" ./tazdrop/tazdrop @echo "done" -tazinst-pot: - @echo -n "Generating tazinst pot file... " - @xgettext -o po/tazinst/tazinst.pot -L Shell \ - --package-name="Tazinst" ./installer/tazinst - @echo "done" - -pot: tools-pot boxes-pot tazbox-pot tazdrop-pot tazinst-pot +pot: tools-pot boxes-pot tazbox-pot tazdrop-pot msgmerge: @for p in $(PROJECTS); do \ for l in $(LINGUAS); do \ if [ -f "po/$$p/$$l.po" ]; then \ - echo -e "Updating $$p $$l po file.\n" \ + echo -e "Updating $$p $$l po file.\n"; \ msgmerge -U po/$$p/$$l.po po/$$p/$$p.pot; \ fi; \ done; \ @@ -66,8 +60,8 @@ @for p in $(PROJECTS); do \ for l in $(LINGUAS); do \ if [ -f "po/$$p/$$l.po" ]; then \ - echo -e "Compiling $$p $$l mo file...\n" \ - mkdir -p po/mo/$$l \ + echo -e "Compiling $$p $$l mo file...\n"; \ + mkdir -p po/mo/$$l; \ msgfmt -o po/mo/$$l/$$p.mo po/$$p/$$l.po; \ fi; \ done; \ @@ -107,16 +101,6 @@ install -m 0755 tinyutils/soundconf $(DESTDIR)$(PREFIX)/sbin install -m 0755 tinyutils/setmixer $(DESTDIR)$(PREFIX)/sbin - # tazinst - install -m 0755 installer/tazinst $(DESTDIR)$(PREFIX)/sbin - for l in $(LINGUAS); do \ - for i in `ls po/mo/$$l/tazinst.mo` ; do \ - install -m 0755 -d $(DESTDIR)$(PREFIX)/share/locale/$$l/LC_MESSAGES; \ - install -m 0644 po/mo/$$l/tazinst.mo \ - $(DESTDIR)$(PREFIX)/share/locale/$$l/LC_MESSAGES; \ - done \ - done - # slitaz-tools i18n for l in $(LINGUAS); \ do \ @@ -139,7 +123,7 @@ install -m 0755 boxes/* $(DESTDIR)$(PREFIX)/bin install -m 0755 tazbox/tazbox $(DESTDIR)$(PREFIX)/bin install -m 0755 tinyutils/subox $(DESTDIR)$(PREFIX)/bin - + # Libs #install -m 0755 lib/*.* $(DESTDIR)$(PREFIX)/lib/slitaz diff -r e8cb58647552 -r 81f961f39b06 README --- a/README Sun Feb 17 12:58:55 2013 +0100 +++ b/README Wed Feb 20 09:44:17 2013 +0100 @@ -2,14 +2,14 @@ =============================================================================== -The SliTaz tools package provides many tinyutils, and shared and custom -configuration files designed to improve SliTaz. The tools were initially -created to help people build their own distribution by following the SliTaz -Cookbook; now the package mostly provides all the configuration tools and -all home-made GTK boxes such as subox, tazctrlbox, the installer, etc. +The SliTaz tools package provides many tinyutils, and shared and custom +configuration files designed to improve SliTaz. The tools were initially +created to help people build their own distribution by following the SliTaz +Cookbook; now the package mostly provides all the configuration tools and +all home-made GTK boxes such as subox, tazctrlbox, etc. -The package also provides some scripts (firewall), desktop files with their -icons, and the licenses and examples to help hackers or users understand and +The package also provides some scripts (firewall), desktop files with their +icons, and the licenses and examples to help hackers or users understand and manage SliTaz. @@ -17,7 +17,6 @@ ----------------------- You will find documentation in the doc/ folder and README files for some tools: - * installer/README * tazbox/README * tazdrop/README @@ -35,7 +34,7 @@ Translation ------------ +----------- To start a new translation please use msginit from the pot file directory. Example for French/France locale (fr_FR): @@ -50,8 +49,8 @@ $ make msgmerge -To compile po files for testing purposes you can use 'make msgfmt' or manually -compile your translation. Example for french locale, note that the file must +To compile po files for testing purposes you can use 'make msgfmt' or manually +compile your translation. Example for french locale, note that the file must be copied into /usr/share/locale/fr/LC_MESSAGES so gettext can find it: $ msgfmt -o tazbox.mo fr.po diff -r e8cb58647552 -r 81f961f39b06 applications/tazinst-doc.desktop --- a/applications/tazinst-doc.desktop Sun Feb 17 12:58:55 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=Tazinst manual -Name[pt]=Manual do Tazinst -Name[pt_BR]=Manual do Tazinst -Name[fr]=Manuel de Tazinst -Name[ru]=Руководство TazInst -Exec=browser file:///usr/share/doc/slitaz/tazinst.html -Icon=text-html -Type=Application -Categories=Documentation; diff -r e8cb58647552 -r 81f961f39b06 doc/tazinst.en.html --- a/doc/tazinst.en.html Sun Feb 17 12:58:55 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,355 +0,0 @@ - - - - Tazinst Manual - Manual for 'tazinst' installer - - - - - - - - - - -
- -

NAME

-

- Tazinst - Tiny autonomous zone installer manager -

- -

SYNTAX

-
-tazinst [command] [option]
-
- -

DESCRIPTION

-

- Tazinst is a lightweight SliTaz HDD installer (~ 31 KB). It installs SliTaz - to a hard drive from a Live-CD, a LiveUSB key, a SliTaz ISO image, or from - the web by downloading a stable, cooking or rolling version or by giving - the http link of another iso (eg: Development ISO). -

-

- Tazinst can format the target partition to ext2, ext3, ext4 or other formats - if the matching packages are installed. The home partition can be installed - on another partition and if need be, formatted before installation into any - one of the available formats. Tazinst may upon request install the Grub - bootloader in the MBR of the target disk. A dual-boot with an existing - Windows© partition is possible, finding the Windows© partition can either be - done automatically or manually specified. -

-

- Tazinst can also update SliTaz installed on a hard disk partition which is - handy in case of version changes. In this case, Slitaz is updated, data in - /home is preserved and additional packages are reinstalled on to the new - version. -

-

- Tazinst was created independently for the needs of the SliTaz GNU/Linux mini - distribution. -

-

- Tazinst is written from scratch in shell script and is compatible with - Busybox Ash and Bash. Tazinst is licensed under the GNU Free gpl v3. -

- -

SETUP FILE

-

- Tazinst installer is able to perform an installation automatically based on - a simple setup file with clear variables such as: - INST_TYPE="iso", TGT_PARTITION="/dev/hda1". - - With this way, it allows developers to create a different kind of frontend: - Dialog, GTK and CGI/web in TazPanel. The frontend just has to create a - setup file and start the cmdline installer and report steps in a nice way - (progress bar or/and messages). -

-

- The setup file contains the following variables: -

- - - - - - - - -

- Note that only variables preceded by a asterisk are mandatory, others are - optional. Thus a minimal setup file can be: -

-
-INST_TYPE=cdrom
-TGT_PARTITION=/dev/hda3
-
-

- This file will install SliTaz on /dev/hda3 formatting the partition from a - LiveCD. -

- -

COMMANDS

- - -

new

-

- Generates a new self-documenting setup file which when edited as required - by the user will install or update SliTaz to a hard drive. -

-
-tazinst new /var/lib/tazinst.conf
-
- - - -

install

-

- Performs a SliTaz install on a HDD based on data in the setup file. - If you decide to format your HDD, all data will be lost. If you do not - format, all data except for any existing /home directory will be removed, - the home directory will be kept as is. -

-
-tazinst install /var/lib/tazinst.conf
-
- - -

upgrade

-

- Upgrade an existing SliTaz system on a HDD based on data in the setup file. - Your /home /etc /var/www directories will be kept, all other directories - will be removed. Any additional package added to your old Slitaz system - will be updated as long you have an active internet connection. -

-
-tazinst upgrade /var/lib/tazinst.conf
-
- - -

showurl

-

- Display the full URL of the predefined shortcuts: 'stable', 'cooking, - 'rolling'. -

-

- Note: You may overwrite these shortcuts in the system file: - /etc/slitaz/tazinst.conf. -

-
-tazinst showurl stable
-
- - -

check

-

- Check a setup file for errors. -

-
-tazinst check /var/lib/tazinst.conf
-
- - -

log

-

- Display the last log file contents and exit. -

-
-tazinst log
-
- - -

version

-

- Print the version information and exit. -

-
-tazinst version
-
- -

SYSTEM FILE

-

- The /etc/slitaz/tazinst.conf configuration file allows you to change the default - settings of tazinst, if you want to use custom values for URLs, directories - and files, you'll have to create one and modify the following variables: -

- - - - - - - -

MAINTAINERS

-

- Christophe Lincoln <pankso at slitaz.org>
- Dominique Corbex <domcox at slitaz.org> -

- - -
- - - - - diff -r e8cb58647552 -r 81f961f39b06 doc/tazinst.fr.html --- a/doc/tazinst.fr.html Sun Feb 17 12:58:55 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,368 +0,0 @@ - - - - Tazinst Manual - Manuel de l'installateur 'tazinst' - - - - - - - - - - -
- -

NOM

-

- Tazinst - Tiny autonomous zone installer manager -

- -

SYNTAXE

-
-tazinst [commande] [option]
-
- -

DESCRIPTION

-

- Tazinst est l'installateur ultra léger (~31 Ko) de SliTaz sur disque dur. - Il permet d'installer SliTaz au choix à partir du Live-CD, d'une clé - LiveUSB, d'une image ISO de SliTaz, ou depuis le web en téléchargeant la - version stable, la version cooking ou en donnant le lien http d'une autre - iso (ex: iso de developpement). -

-

- Tazinst permet de formatter la partition cible aux formats de base ext2, - ext3, ext4 ou d'autres formats si les paquets correspondants ont été - installés. La partition /home peut être installée sur une autre partition, - et si besoin être formattée avant l'installation dans un des formats - disponibles. Tazinst peut, à la demande, installer le chargeur de démarrage - Grub dans le mbr du disque cible. Un dual-boot avec une partition Windows© - existante est possible, la recherche de la partition Windows© étant soit - automatique, soit précisée manuellement. -

-

- Tazinst permet également la mise à jour de SliTaz déjà installé sur une - partition du disque dur, ce qui est pratique en cas de changement de - version. Dans ce cas, Slitaz est mis à jour, les données présentes dans - /home sont préservées, et les paquets supplémentaires sont réinstallés - dans la nouvelle version. -

-

- Tazinst a été créé pour les besoins de SliTaz GNU/Linux, mini distribution - autonome. -

-

- Tazinst, écrit en script shell à partir de zéro est compatible Bash, et - fonctionne avec Ash du projet Busybox. Tazinst est distribué sous license - libre GNU gpl v3. -

- -

FICHIER DE PARAMÈTRES

-

- L'installateur Tazinst permet de réaliser une installation automatiquement - à l'aide d'un simple fichier de paramètres contenant des variables - significatives telles que : - INST_TYPE="iso", TGT_PARTITION="/dev/hda1". - - De cette manière, cela permet aux développeurs de créer différents types de - frontend : Dialog, GTK et CGI/web dans TazPanel. Le frontend doit juste - créer un fichier de paramètres, puis lancer tazinst en ligne de commande et - afficher un rapport d'avancement des différentes étapes (Jauges et/ou - messages). -

-

- Le fichier de paramètres contient les variables suivantes : -

- - - - - - - - -

- À noter que seules les variables précédées d'une atérisque sont - obligatoires, les autres sont optionnelles. Ainsi un fichier de - paramètres minimaliste peut être le suivant: -

-
-INST_TYPE=cdrom
-TGT_PARTITION=/dev/hda3
-
-

- Ce fichier permettra une installation de SliTaz sur /dev/hda3, sans - formatter la partition, à partir d'un LiveCD. -

- -

COMMANDES

- - -

new

-

- Génère un fichier de paramètres autodocumenté, qui une fois édité - suivant les besoins de l'utilisateur, permettra d'installer ou mettre - à jour SliTaz sur disque dur. -

-
-tazinst new /var/lib/tazinst.conf
-
- - -

install

-

- Lance l'installation de SliTaz en fonction des données présentes dans le - fichier de paramètres. Si le formattage de la partition est demandé, - toutes les données seront perdues. Si le disque n'est pas formatté, toutes - les données sauf un répertoire /home existant seront effacées, ce répertoire - /home sera gardé tel quel. -

-
-tazinst install /var/lib/tazinst.conf
-
- - -

upgrade

-

- Lance la mise à jour de SliTaz en fonction des données présentes dans le - fichier de paramètres. Les répertoires /home /etc /var/www seront - conservés, tous les autres répertoires seront supprimés. Tout paquet ajouté - à la configuration de votre ancien système SliTaz sera mis à jour à la - condition qu'une connexion internet soit active. -

-
-tazinst upgrade /var/lib/tazinst.conf
-
- - -

showurl

-

- Affiche l'URL complète des raccourcis prédéfinis : 'stable', 'cooking, - 'rolling'. -

-

- Note: Vous pouvez redéfinir ces raccourcis dans le fichier système : - /etc/slitaz/tazinst.conf. -

-
-tazinst showurl stable
-
- - -

check

-

- Vérifie que le fichier de paramètres ne contient pas d'erreurs. -

-
-tazinst check /var/lib/tazinst.conf
-
- - -

log

-

- Affiche le contenu du fichier journal. -

-
-tazinst log
-
- - -

version

-

- Affiche les informations de version. -

-
-tazinst version
-
- -

FICHIER SYSTÈME DE CONFIGURATION

-

- Le fichier système de configuration /etc/slitaz/tazinst.conf permet de - changer les paramètres par défaut de tazinst. Pour utiliser des valeurs - personnalisées pour les URL, répertoires et fichiers, ce fichier doit être - créé et les variables suivantes modifiées : -

- - - - - - - -

MAINTENEURS

-

- Christophe Lincoln <pankso at slitaz.org>
- Dominique Corbex <domcox at slitaz.org> -

- - -
- - - - - diff -r e8cb58647552 -r 81f961f39b06 doc/tazinst.html --- a/doc/tazinst.html Sun Feb 17 12:58:55 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -tazinst.en.html \ No newline at end of file diff -r e8cb58647552 -r 81f961f39b06 doc/tazinst.pt.html --- a/doc/tazinst.pt.html Sun Feb 17 12:58:55 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,352 +0,0 @@ - -html xmlns="http://www.w3.org/1999/xhtml"> - - Manual do instalador Tazinst Manual - - - - - - - - - - -
- -

NOME

-

- Tazinst - Instalador do SliTaz -

- -

SINTAXE

-
-tazinst [comando] [opção]
-
- -

DESCRIÇÃO

-

- O Tazinst é o instalador do SliTaz em disco rígidos, com um executável que - possui mais ou menos 31 Kb. Ele instala o SliTaz no disco rígido a partir - de uma mídia LiveCD, de um LiveUSB, de uma Imagem ISO ou a partir da web, - usando uma versão estável, de testes (cooking) ou rolling, ou então - a partir de uma ISO encontrada em um link da web (uma ISO de - desenvolvimento, por exemplo, encontrada num mirror oficial). -

-

- O Tazinst pode formatar uma partiçÃo em ext2, ext3, ext4 ou outro formato - caso os pacotes necessários estejam instalados. O diretório /home pode ser - instalado em qualquer partição, caso necessário, e ser formatado em qualquer - formato requerido. Ele também pode instalar o Grub na MBR do disco alvo. - Dual Boot com Windows é suportado caso uma partição Windows seja encontrada, - seja automaticamente ou manualmente. -

-

- O Tazinst pode atualizar o SliTaz instalado em um disco rígido, o que é - útil em mudanças de versão. Neste caso, a distribuição é atualizada, - os dados em /home são preservados e pacotes adicionais são reinstalados - com sua nova versão. -

-

- O Tazinst foi criado em Shell Script e é compatível com o Ash e Bash - do Busybox. É licenciado sob GNU Free gpl v3. -

- -

ARQUIVO DE CONFIGURAÇÃO

-

- O instalador Tazinst pode instalar o SliTaz automaticamente usando um - arquivo de configuração que possui variáveis como - INST_TYPE="iso", TGT_PARTITION="/dev/hda1". - Desta forma, permite aos desenvolvedores criar diferentes interfaces de - usuário: Dialog, GTK e Web/CGI no TazPanel. A interface cria um arquivo - de configuração e inicia o instalador na linha de comando, informando os - passos com mensagens ou uma barra de progresso. -

-

- O arquivo de configuração possui as seguintes variáveis: -

- - - - - - - - -

- Note que somente variáveis marcadas com um asterisco nesta ajuda ajuda - são obrigatórias, as outras são opcionais. Então, um arquivo de configuração - mínimo para instalação seria: -

-
-INST_TYPE=cdrom
-TGT_PARTITION=/dev/hda3
-
-

- Este arquivo mínimo instala o SliTaz na partição /dev/hda3, formatando a - partição e utilizando o LiveCD como fonte. -

- -

COMANDOS

- - -

new

-

- Gera um arquivo de configuração comentado que, ao ser editado pelo usuário, - irá instalar ou atualizar o SliTaz no dísco rígido -

-
-tazinst new /var/lib/tazinst.conf
-
- - -

install

-

- Instala o SliTaz no dísco rígido utilizando os dados informados no - arquivo de configuração. Caso se decida formatar o HD, todos os dados nele - serão perdidos. Caso não se formate, todos os dados a não ser os contidos - em /home serão removidos, ou seja, o diretório /home será mantido. -

-
-tazinst install /var/lib/tazinst.conf
-
- - -

upgrade

-

- Atualiza uma instalação do SliTaz existente no disco rígido baseado nos - dados informados no arquivo de configuração. Os diretórios /home, /etc e - /var/www serão mantidos, todos os outros diretórios serão removidos. - Qualquer pacote adicional adicionado à antiga instalação será atualizado, - desde que haja uma conexão de internet disponível. -

-
-tazinst upgrade /var/lib/tazinst.conf
-
- - -

showurl

-

- Mostra os endereços predefinidos nos atalhos 'stable', 'cooking' e - 'rolling'. -

-

- Note que é possível refefinir estes atalhos no arquivo de sistema: - /etc/slitaz/tazinst.conf. -

-
-tazinst showurl stable
-
- - -

check

-

- Verifica um arquivo de configuração: -

-
-tazinst check /var/lib/tazinst.conf
-
- - -

log

-

- Mostra o conteúdo do último arquivo de log: -

-
-tazinst log
-
- - -

version

-

- Mostra informação sobre a versão: -

-
-tazinst version
-
- -

ARQUIVO DO SISTEMA

-

- O arquivo /etc/slitaz/tazinst.conf permite mudar as configurações do - instalador Tazinst, permitindo atribuir valores alternativos para - endereços da web, diretórios e arquivos. Caso se queira, deve-se criar um - e modificar com as seguintes variáveis: -

- - - - - - - -

MANTENEDORES

-

- Christophe Lincoln <pankso at slitaz.org>
- Dominique Corbex <domcox at slitaz.org> -

- - -
- - - - - diff -r e8cb58647552 -r 81f961f39b06 installer/README --- a/installer/README Sun Feb 17 12:58:55 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,39 +0,0 @@ -SliTaz Installer -================================================================================ - - -The first SliTaz installer was built using ncurses Dialog within a SHell script. -It was the last SliTaz home made tool that didn't have a desktop integrated -interface and had some crappy code as it was written at the start of the -project. - -Tazinst is the new installer written entirely in SHell script and usable from -the cmdline without dialog or any other gui-like interface! This new installer -is able to perform an installation automatically based on a simple config file -with clear variables such as: INST_TYPE="iso", TGT_PARTITION="/dev/hda1". - -With this way, it allows developers to create a different kind of frontend: -Dialog, GTK and CGI/web in TazPanel. The frontend just has to create a config -file and start the cmdline installer and report steps in a nice way (progress -bar or/and messages). - - -i18n ----- -Tazinst has been coded from the beginning with gettext support. Please -forget 'echo' and use gettext, but remember that gettext "" is equivalent -to echo -n. All scripts use the same TEXTDOMAIN and the same pot files, all -translations go in the po/ folder. - -To start a new translation please use msginit from the pot file directory. -Example for French/France locale (fr_FR): - -$ msginit -l fr_FR -o fr.po -i tazinst.pot - -To update all translations from a newly updated pot file: - -$ make msgmerge -Or: -$ msgmerge -U fr.po tazinst.pot - -================================================================================ diff -r e8cb58647552 -r 81f961f39b06 installer/tazinst --- a/installer/tazinst Sun Feb 17 12:58:55 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1251 +0,0 @@ -#!/bin/sh -# tazinst - SliTaz GNU/Linux installer. -# -# So this is the SliTaz installer. The script starts with a -# few main variables, then all the functions and then the -# full sequence of functions. -# -# (C) 2007-2012 SliTaz - GNU General Public License v3. -# -# Authors : Christophe Lincoln -# Dominique Corbex -# -# Exit codes: -# 1: Parameters error -# 2: Setup file error -# 3: Source error -# 4: Cancelled by user -# 5: Target partition error -# 6: SliTaz system to upgrade not found -# 7: Another instance is running -# 8: Internal error - -VERSION=3.35 - -# Internationalization -. /usr/bin/gettext.sh -TEXTDOMAIN='tazinst' -export TEXTDOMAIN - -SOURCE_ROOT=/media/source -TARGET_ROOT=/mnt/target -LOG=/var/log/tazinst.log -LOCK=/run/tazinst.pid -BACKLIST="SliTaz GNU/Linux installer" - -# DEBUG=1: Enable debug msgs -DEBUG=0 - -# Predefined urls -URL_STABLE="http://mirror.slitaz.org/iso/stable/slitaz-4.0.iso" -URL_COOKING="http://mirror.slitaz.org/iso/cooking/slitaz-cooking.iso" -URL_ROLLING="http://mirror.slitaz.org/iso/rolling/slitaz-core.iso" - -# Tazinst conf -[ -r /etc/slitaz/tazinst.conf ] && . /etc/slitaz/tazinst.conf - -# Print a short help -usage() -{ - cat < $(gettext "Install SliTaz on HDD using setup file contents.") - upgrade $(gettext "Upgrade SliTaz on HDD using setup file contents.") - new $(gettext "Create a new setup file.") - check $(gettext "Check validity of settings in a setup file.") - showurl $(gettext "Show full URL of a predefined shortcut (stable|cooking|rolling).") - log $(gettext "Display log file contents and exit.") - version $(gettext "Print version and exit.") -EOT - exit 1 -} - -# Print an error msg & exit -# $1: exit code -# $@: err msg -abort() -{ - # unmouting source & target - if mount | grep -q $SOURCE_ROOT; then - umount $SOURCE_ROOT 2>>$LOG - fi - if mount | grep -q $TARGET_ROOT; then - umount $TARGET_ROOT 2>>$LOG - fi - # rm lock - rm -f $LOCK - - echo -e "$(gettext "Error") $@" - test $(id -u) = 0 && echo "Installation cancelled on error $@" >> $LOG - exit $1 -} - -# Print a warning msg -warning() -{ - echo -e "$(gettext "Warning:") $@" | tee -a $LOG -} - -# Print a debug msg -debug() -{ - [ $DEBUG -gt 0 ] && echo -e "\033[1mDEBUG:\033[0m $1" - [ $DEBUG -gt 0 ] && echo "DEBUG: $1" >>$LOG -} - -# Print a simple msg -msg() -{ - STEP=$(($STEP+1)) - echo "$STEP. $@" | tee -a $LOG - sleep 1 -} - -####################### -# New setup functions # -####################### - -# Generate a setup file -# $1: Setup file -gen_setup() -{ - SETUP=$1 - [ -z "$1" ] && abort 1 "Missing parameter for install configuration" - touch $SETUP || abort 2 $(gettext "Can't write setup file") - if [ -r "$SETUP" ]; then - cat > $SETUP << _EOF_ -# SliTaz Installer setup file. -# - -# Install type : [cdrom|usb|iso|web|weboot] -INST_TYPE="cdrom" - -# Install source -# usb:/dev/xxx, ex: SRC_FILE=/dev/sdb1 -# iso:file.iso, ex: SRC_FILE=~/slitaz.3.0.iso -# web: url, ex: SRC_FILE=http://mirror.slitaz.org/iso/cooking/slitaz-cooking.iso -# web: predefined mirrors (stable|cooking|rolling), ex: SRC_FILE=cooking -SRC_FILE="" - -# Install Target (Root Partition, ex /dev/hda5). -TGT_PARTITION="" - -# Target File system. -# SliTaz uses ext3 by default but another filesystem can be used if wanted, -# for this please adjust your /etc/fstab after installation. Valid options are: -# (btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|jfs|ntfs|reiser4|reiserfs|ufs|xfs) -TGT_FS="ext3" - -# Home partition. -# On most GNU/Linux systems users personal files are stored in the directory -# /home. Home can be on another hard disk or on a separate partition. -TGT_HOME="" -# Home File system (if /home is on a separate partition) -TGT_HOME_FS="" - -# Hostname -TGT_HOSTNAME="slitaz" - -# root password -# The root administrator privilege lets you manage and configure the full -# system. A root user can damage your system so you should always setup a -# strong password with special characters and/or numbers. -TGT_ROOT_PWD="root" - -# The default user for the system will have his personal files stored -# in /home/*user* (and will be automatically added to the audio group). -TGT_USER="tux" -TGT_USER_PWD="" - -# Grub bootloader -# install grub [yes|no] -TGT_GRUB="no" - -# Windows dual-boot -# Dual boot is disabled if WINBOOT is empty: TGT_WINBOOT="" -# You may let tazinst find your win partition, mode=auto: TGT_WINBOOT="auto" -# or use manual setting: "hd[disk],[partition]" ex:TGT_WINBOOT=hd0,0 -TGT_WINBOOT="" - -_EOF_ - echo "$(ls $1)" $(gettext "created.") - else - abort 2 $(gettext "Setup file not found") - fi -} - -###################### -# Checking functions # -###################### - -# def values and start log -# $@ : -init() -{ - # Check if another instance of tazinst is running - if [ -e "$LOCK" ]; then - echo $(gettext "Another instance of tazinst is running.") - exit 7 - else - echo $$ > $LOCK - fi - - echo "=== Tazinst: start at `date` ===" >$LOG - echo "Command: $0 $@" >>$LOG - debug $(fdisk -l | grep \/dev) - - # Default Type - INST_TYPE=cdrom - # Default Hostname. - TGT_HOSTNAME=slitaz - # Default root passwd - TGT_ROOT_PWD=root - # Default user - TGT_USER=tux - # Default Grub Install - TGT_GRUB=no -} - -# Read setup -# $1: setup file -read_setup_file() -{ - SETUP=$1 - if [ -n "$SETUP" ]; then - if [ -r "$SETUP" ]; then - debug "Using setup-file=$SETUP" - # source doesn't like file without a path - [ $(echo "$SETUP" | grep -c "/") == "0" ] && SETUP="./$SETUP" - source $SETUP || abort 2 $(gettext "Unable to read setup file") - else - abort 2 $(gettext "Setup file not found") - fi - else - abort 2 $(gettext "No setup file provided") - fi -} - -# check main vars -check_vars() -{ - # error handling - local error=no - local found=no - local partition="" - - debug "--- Tazinst main options ---" - debug "action=$INST_ACTION" - debug "type=$INST_TYPE" - debug "source=$SRC_FILE" - debug "/ partition=$TGT_PARTITION" - debug "/ filesystem=$TGT_FS" - debug "/home partition=$TGT_HOME" - debug "/home filesystem=$TGT_HOME_FS" - debug "hostname=$TGT_HOSTNAME" - debug "root-pwd=$TGT_ROOT_PWD" - debug "user=$TGT_USER" - debug "user-pwd=$TGT_USER_PWD" - debug "grub=$TGT_GRUB" - debug "winboot=$TGT_WINBOOT" - debug "--------------------------------------" - - # Check Action - case $INST_ACTION in - install|upgrade|check) ;; - *) msg "$INST_ACTION: $(gettext "Unknown install mode")"; error=yes ;; - esac - - # Check Type - case $INST_TYPE in - cdrom|weboot) ;; - usb|iso|web) - # We need a valid source - if [ -z "$SRC_FILE" ]; then - msg "$INST_TYPE: $(gettext "No source file provided")"; error=yes - fi ;; - *) msg "$INST_TYPE: $(gettext "Unknown source type")"; error=yes ;; - esac - - # Check Source file - # 1. assign predefs - if [ "$INST_TYPE" == "web" ]; then - [ "$SRC_FILE" == "stable" ] && SRC_FILE=$URL_STABLE - [ "$SRC_FILE" == "cooking" ] && SRC_FILE=$URL_COOKING - [ "$SRC_FILE" == "rolling" ] && SRC_FILE=$URL_ROLLING - fi - # 2. check avail. - case $INST_TYPE in - iso) - if [ ! -r "$SRC_FILE" ]; then - msg "$SRC_FILE: $(gettext "Source file not found")"; error=yes - fi ;; - web) - if ! wget -sq "$SRC_FILE" 2> /dev/null ; then - msg "$SRC_FILE: $(gettext "URL not found")"; error=yes - fi ;; - esac - - # Check Target Partition - found=no - LIST_PARTITION=$(fdisk -l | awk '/^\/dev/{printf "%s ",$1}') - for partition in $LIST_PARTITION; do - [ "$partition" == "$TGT_PARTITION" ] && found="yes" - done - if [ "$found" != "yes" ]; then - msg "$TGT_PARTITION: $(gettext "Partition for / not found")"; error=yes - fi - if [ "$TGT_PARTITION" == "$SRC_FILE" ]; then - msg $(gettext "Target and source partitions should be different"); error=yes - fi - - # Check Filesystem - case $TGT_FS in - "") ;; - btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|jfs|ntfs|reiser4|reiserfs|ufs|xfs) - found=no - for xdir in /sbin /usr/sbin /usr/bin; do - [ -x "$xdir/mkfs.$TGT_FS" ] && found=yes - done - if [ "$found" == "no" ]; then - msg "$TGT_FS: mkfs.$TGT_FS $(gettext "is not installed")"; error=yes - fi ;; - *) msg "$TGT_FS: $(gettext "Unknown filesystem (/)")"; error=yes ;; - esac - - # Check Home partition - if [ -n "$TGT_HOME" ]; then - found=no - for partition in $LIST_PARTITION; do - [ "$partition" == "$TGT_HOME" ] && found=yes - done - if [ "$found" != "yes" ]; then - msg "$TGT_HOME: $(gettext "Partition for /home not found")"; error=yes - fi - if [ "$TGT_HOME" == "$SRC_FILE" ]; then - msg $(gettext "/home and source partitions should be different"); error=yes - fi - if [ "$TGT_HOME" == "$TGT_PARTITION" ]; then - msg $(gettext "/ and /home partitions should be different"); error=yes - fi - fi - - # Check Home Filesystem - case $TGT_HOME_FS in - "") ;; - btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|jfs|ntfs|reiser4|reiserfs|ufs|xfs) - found=no - for xdir in /sbin /usr/sbin /usr/bin; do - [ -x "$xdir/mkfs.$TGT_HOME_FS" ] && found=yes - done - if [ "$found" == "no" ]; then - msg "$TGT_FS: mkfs.$TGT_HOME_FS $(gettext "is not installed")"; error=yes - fi ;; - *) msg "$TGT_HOME_FS: $(gettext "Unknown filesystem (/home)")"; error=yes ;; - esac - - # Check Grub - case $TGT_GRUB in - yes|no) ;; - *) msg $(gettext "Bootloader (grub): Invalid settings"); error=yes ;; - esac - - # Check Winboot - case $TGT_WINBOOT in - "") ;; - auto) ;; - hd[[:digit:]],[[:digit:]]) ;; - *) msg $(gettext "Windows Dual-Boot: Invalid settings"); error=yes ;; - esac - - # Stop on error - [ "$error" == "yes" ] && abort 1 -} - -# Exit install if user is not root. -check_root() -{ - if test $(id -u) != 0 ; then - gettext "You must be the root user (system administrator) to install SliTaz, \ -please use 'su' to get a root SHell and restart installation." - exit 0 - fi -} - -# Mount cdrom -check_cdrom() -{ - # Set device name - DRIVE_NAME=`cat /proc/sys/dev/cdrom/info | grep "drive name" | cut -f 3` [ -n "$DRIVE_NAME" ] || DRIVE_NAME=cdrom - CDROM=/dev/$DRIVE_NAME - # Try to mount a cdrom - if mount -t iso9660 $CDROM $SOURCE_ROOT 2>>$LOG; then - debug "Using files from cdrom ($CDROM)..." - sleep 2 - else - warning "$CDROM: $(gettext "Mount failed")" - fi -} - -# Link LiveUSB -check_usb() -{ - # /home is on USB dev - if [ -d /home/boot ]; then - debug "Using files from USB device..." - ln -s /home/boot $SOURCE_ROOT/boot - SOURCE_STATUS="link" - sleep 2 - else - # Try to mount LiveUSB - if mount $SRC_FILE $SOURCE_ROOT 2>>$LOG; then - debug "Using files from USB device ($SRC_FILE)..." - SOURCE_STATUS="mount" - else - warning "$SRC_FILE: $(gettext "Failed to mount USB device")" - fi - fi -} - -# Mount ISO file -check_iso() -{ - local src_md5 - # Integrity check - src_md5=$(echo $SRC_FILE | sed 's/.iso$/.md5/') - if [ -r "$src_md5" ]; then - [ $(md5sum $SRC_FILE | cut -d' ' -f1) == $(cat "$src_md5" | cut -d' ' -f1) ] || \ - abort 3 "$SRC-FILE: $(gettext "md5sum mismatch, file corrupted")" - else - warning "$SRC_FILE: $(gettext "md5 file not found, unable to check integrity.")" - fi - # Try to mount ISO - if mount -o loop -t iso9660 $SRC_FILE $SOURCE_ROOT 2>>$LOG; then - debug "Using files from ISO ($SRC_FILE)..." - sleep 2 - else - warning "$SRC_FILE: $(gettext "Failed to mount ISO.")" - fi -} - -# Source is on the web -check_web() -{ - local src_md5 - msg "Downloading $SRC_FILE" - if wget $SRC_FILE -P /tmp; then - debug "Download completed." - else - warning "$SRC_FILE: $(gettext "File download failed.")" - fi - src_md5=$(echo $SRC_FILE | sed 's/.iso$/.md5/') - msg "Downloading $src_md5" - wget $src_md5 -P /tmp || warning "$src_md5: $(gettext "File download failed.")" - tmpfile=$(echo $SRC_FILE | awk 'BEGIN{RS="/"}{out=$1}END{printf"%s",out}') - SRC_FILE="/tmp/$tmpfile" - check_iso -} - -# We may be in Tiny Web boot mode -check_weboot() -{ - if [ -d $SRC_FILE/boot ]; then - debug "Using files from HTTP device..." - ln -s $SRC_FILE/boot $SOURCE_ROOT/boot - sleep 2 - else - abort 3 $(gettext "Web boot files not found") - fi -} - -# set up source and check Slitaz' content -check_source() -{ - debug "Creating mount point ($SOURCE_ROOT)..." - mkdir -p $SOURCE_ROOT - sleep 1 - case $INST_TYPE in - cdrom) - check_cdrom ;; - usb) - check_usb ;; - iso) - check_iso ;; - web) - check_web ;; - weboot) - check_cdrom - check_web ;; - *) - abort 8 $(gettext "Internal") ;; - esac - - # Exit with error msg if no rootfs.gz found. - debug "Checking installation media..." - if [ ! -f $SOURCE_ROOT/boot/rootfs.gz -a \ - ! -f $SOURCE_ROOT/boot/rootfs1.gz ]; then - abort 3 $(gettext "Invalid source") - else - debug "Installation media checked ok" - fi -} - -####################### -# Installer functions # -####################### - -# Mount and mkfs with progress. -prepare_install() -{ - debug "Preparing target partition..." - # Target may be used - mount | grep -q $TGT_PARTITION && \ - abort 5 "$TGT_PARTITION: $(gettext "Partition in use")" - # Mount point can be already used. - if mount | grep -q $TARGET_ROOT; then - umount $TARGET_ROOT 2>>$LOG - fi - sleep 2 - - # Formatting root partition - case $TGT_FS in - "") - debug "The partition ($TGT_PARTITION) will be cleaned..." -# ROOT_FS=$(parted /dev/hda5 print -m | grep "^1:" | cut -d':' -f5) ;; - ROOT_FS=auto ;; - *) - msg "$(gettext "Formatting / partition:") $TGT_PARTITION ($TGT_FS)" - mkfs.$TGT_FS $TGT_PARTITION >>$LOG 2>>$LOG - ROOT_FS=$TGT_FS ;; - esac - sleep 2 - - # Formatting /home - if [ -n "$TGT_HOME" ]; then - case $TGT_HOME_FS in - "") - debug "The partition ($TGT_HOME) will be kept..." ;; - *) - msg "$(gettext "Formatting /home partition:") $TGT_HOME ($TGT_HOME_FS)" - mkfs.$TGT_HOME_FS -L "Home" $TGT_HOME >>$LOG 2>>$LOG ;; - esac - sleep 2 - fi - - # Mount target. - debug "Creating mount point: $TARGET_ROOT" - mkdir -p $TARGET_ROOT >>$LOG - sleep 2 - - mount -t $ROOT_FS $TGT_PARTITION $TARGET_ROOT >>$LOG 2>>$LOG - if [ $(mount | grep -c "mnt/target") == "0" ]; then - abort 5 "$TGT_PARTITION: $(gettext "Unable to mount partition")" - fi -} - -# Get a clean target device (15%). -clean_target() -{ - if [ -z "$TGT_FS" ]; then - # partition was not formatted - debug "Cleaning the root partition ($TGT_PARTITION)..." - # Keep /home in case of reinstall. - cd $TARGET_ROOT || abort 8 $(gettext "Internal") - for dir in * - do - case "$dir" in - home) - debug "keeping /home found on: $TGT_PARTITION" - mv home home.bak ;; - lost+found) - continue ;; - *) - debug "removing target: $dir" - rm -rf $dir 2>>$LOG ;; - esac - done - if [ -d mklost+found ]; then - mklost+found 2>>$LOG - fi - fi - sleep 2 -} - -# Kernel is renamed to standard vmlinuz-$VERSION. -install_kernel() -{ - if [ -d /$TARGET_ROOT/lib/modules ]; then - KERNEL=$(ls /$TARGET_ROOT/lib/modules | tail -1) - KERNEL="vmlinuz-$KERNEL" - else - KERNEL=vmlinuz-`uname -r` - warning "$(gettext "Kernel name not found, falling back to:") $(uname -r)" - fi - mkdir -p $TARGET_ROOT/boot - cp $SOURCE_ROOT/boot/bzImage $TARGET_ROOT/boot/$KERNEL - debug "install_kernel: $KERNEL" - sleep 2 -} - -# Copy isolinux r/w files (not syslinux, some files are read only). -copy_bootloaders() -{ - if [ -d "$SOURCE/ROOT/boot/isolinux" ]; then - debug "Copy isolinux r/w files" - mkdir -p $TARGET_ROOT/boot/isolinux - cp -a $SOURCE_ROOT/boot/isolinux/*.cfg $TARGET_ROOT/boot/isolinux - cp -a $SOURCE_ROOT/boot/isolinux/*.kbd $TARGET_ROOT/boot/isolinux - cp -a $SOURCE_ROOT/boot/isolinux/*.txt $TARGET_ROOT/boot/isolinux - cp -a $SOURCE_ROOT/boot/isolinux/*.bin $TARGET_ROOT/boot/isolinux - cp -a $SOURCE_ROOT/boot/isolinux/*.msg $TARGET_ROOT/boot/isolinux - cp -a $SOURCE_ROOT/boot/isolinux/*.lss $TARGET_ROOT/boot/isolinux - cp -a $SOURCE_ROOT/boot/isolinux/*.c32 $TARGET_ROOT/boot/isolinux - fi - # GRUB splash image - if [ -f "$SOURCE_ROOT/boot/grub/splash.xpm.gz" ]; then - debug "Copy GRUB splash image" - mkdir -p $TARGET_ROOT/boot/grub - cp $SOURCE_ROOT/boot/grub/splash.xpm.gz $TARGET_ROOT/boot/grub - fi -} - -need_package() -{ - [ -d /var/lib/tazpkg/installed/$1 ] || tazpkg get-install $1 -} - -# extract packed rootfs: squashfs or cromfs -extract_loramfs() -{ - local i - for i in $(cpio -idvum 2> /dev/null); do - case "$i" in - rootfs*) - need_package squashfs - if ! unsquashfs $i ; then - need_package cromfs - unmkcromfs $i squashfs-root - fi - mv -f squashfs-root/* . - rmdir squashfs-root - rm -f $i - esac - done -} - -# This is a loram rootfs.gz, skip loram bootstrap and extract -extract_first_loramfs() -{ - (zcat $1 || unlzma -c $1) | cpio -i extractfs.cpio 2> /dev/null && - ( cd / ; cpio -id ) < extractfs.cpio && rm -f extractfs.cpio - ofs=$(awk '/07070100/ { o+=index($0,"07070100"); printf "%d\n",o/4 ; exit } { o+=1+length() }' < $1) - dd if=$1 skip=$(($ofs / 1024)) bs=4k count=1 2> /dev/null | \ - ( dd skip=$(($ofs % 1024)) bs=4 2> /dev/null ; \ - dd if=$1 skip=$((1 + ($ofs / 1024) )) bs=4k ) | extract_loramfs -} - -# Extract lzma'ed or gziped rootfs. -extract_rootfs() -{ - local isloramfs - isloramfs= - cd $TARGET_ROOT || abort 8 $(gettext "Internal") - if [ -d $1/../fs/etc ]; then - # This is a tazlitobox loram (cdrom) - cp -a $1/../fs/. . - else - for i in $(ls $1/rootfs* | sort -r); do - if [ ! -d etc ]; then - if [ $( (zcat $i 2>/dev/null || lzma d $i -so) | wc -c) \ - -lt $(stat -c %s $i) ]; then - # This is a tazlitobox loram (ram) - isloramfs=$i - extract_first_loramfs $i - continue - fi - fi - if [ -n "$isloramfs" ]; then - extract_loramfs < $i - continue - fi - ( zcat $i 2>/dev/null || lzma d $i -so || \ - cat $i ) 2>>$LOG | cpio -idu - done 2>>$LOG > /dev/null - fi - cp /etc/keymap.conf etc - # unpack /usr (double check...) - if ls etc/tazlito | grep -q ".extract"; then - for i in etc/tazlito/*.extract; do - [ -f "$i" ] && . $i /media/cdrom - done - fi -} - -# Pre configure freshly installed system (60 - 80%). -pre_config_system() -{ - cd $TARGET_ROOT || abort 8 $(gettext "Internal") - # Restore backup of existing /home if exists. - # (created by prepare_target_dev) - if [ -d home.bak ]; then - debug "Restoring directory: /home..." - rm -rf home - mv home.bak home - sleep 1 - fi - # Add root device to CHECK_FS in rcS.conf to check filesystem - # on each boot. - debug "Adding $TGT_PARTITION and CHECK_FS to file /etc/rcS.conf..." - sed -i s#'CHECK_FS=\"\"'#"CHECK_FS=\"$TGT_PARTITION\""# etc/rcS.conf - sleep 2 - # Set hostname. - msg "$(gettext "Configuring host name:") $TGT_HOSTNAME" - sed -i s/slitaz/$TGT_HOSTNAME/ etc/hostname etc/hosts -} - -# Set root passwd and create user after rootfs extraction. -users_settings() -{ - cat > $TARGET_ROOT/users.sh << _EOF_ -#!/bin/sh -echo "root:$TGT_ROOT_PWD" | chpasswd -m -adduser -D -H $TGT_USER - -for grp in audio cdrom floppy dialout disk kmem tape tty video; do - if ! grep \$grp /etc/group | grep -q $TGT_USER ; then - grep -q \$grp /etc/group && addgroup $TGT_USER \$grp - fi -done - -echo "$TGT_USER:$TGT_USER_PWD" | chpasswd -m -if [ ! -d /home/$TGT_USER ]; then - cp -a /etc/skel /home/$TGT_USER - [ -e /root/.xinitrc ] && cp /root/.xinitrc /home/$TGT_USER - mkdir -p /home/$TGT_USER/.config/slitaz - cp -a /etc/slitaz/applications.conf /home/$TGT_USER/.config/slitaz - # Set ownership - if grep -q ^users: /etc/group; then - chown -R $TGT_USER:users /home/$TGT_USER - else - chown -R $TGT_USER:$TGT_USER /home/$TGT_USER - fi - # Path for user desktop files. - for i in /home/$TGT_USER/.local/share/applications/*.desktop - do - [ -e "$i" ] && sed -i s/"user_name"/"$TGT_USER"/g \$i - done -fi -# Slim default user. -if [ -f /etc/slim.conf ]; then - sed -i s/"default_user .*"/"default_user $TGT_USER"/ \ - /etc/slim.conf -fi -_EOF_ - chmod +x $TARGET_ROOT/users.sh - chroot $TARGET_ROOT ./users.sh - rm $TARGET_ROOT/users.sh - sleep 2 -} - -# /home can be on a separate partition. If default user exists in /home -# we remove default file created by users_settings(). -home_config() -{ - debug "home_config: $TGT_HOME" - cd $TARGET_ROOT || abort 8 $(gettext "Internal") - mv home/$TGT_USER tmp - mount $TGT_HOME home - if [ -d $TARGET_ROOT/home/$TGT_USER ]; then - rm -rf tmp/$TGT_USER - else - mv tmp/$TGT_USER home - fi - echo "$TGT_HOME /home ext3 defaults 0 2" \ - >> etc/fstab - umount home -} - -# Search for a Windows partition -win_partition() -{ - debug "Searching for Windows" - if [ "$TGT_WINBOOT" == "auto" ];then - WINBOOT=$(fdisk -l | awk ' -BEGIN{ - disk=-1 - found=0 - winboot=""} -{ - # Count disks - if ($1=="Disk"){ - disk++ - part=-1 - dev=substr($2,6,3) - # get removable status - file="/sys/block/"dev"/removable" - "cat " file | getline removable - close("cat ") -} - # Count partitions - if (substr($1,1,4)=="/dev"){ - # List fixed drives only - if (removable==0){ - part++ - # Read partition Id - if ($2=="*"){Id=$6} else {Id=""} - # Detect Windows Partition Type: 7,b,c,e,f - WPT="[7bcef]" - if (Id ~ WPT){ - found++ - # record 1st Windows partition found - if (found==1){ - winboot=sprintf("hd%d,%d",disk,part) - } - } - } - } -} -END{printf "%s", winboot}') - if [ -z "$WINBOOT" ]; then - warning $(gettext "No windows partition found. Dual-boot disabled") - TGT_WINBOOT="" - fi - fi -} - -# Determine GRUB partition number and GRUB disk number. -grub_partition() -{ - DISK_LETTER=${TGT_PARTITION#/dev/[h-s]d} - DISK_LETTER=${DISK_LETTER%[0-9]} - GRUB_PARTITION=$((${TGT_PARTITION#/dev/[h-s]d[a-z]}-1)) - for disk in a b c d e f g h - do - nb=$(($nb+1)) - if [ "$disk" = "$DISK_LETTER" ]; then - GRUB_DISK=$(($nb-1)) - break - fi - done - GRUB_ROOT="(hd${GRUB_DISK},${GRUB_PARTITION})" -} - -# Create grub conf -grub_config() -{ - grub_partition - if [ "$TGT_GRUB" == "yes" ]; then - win_partition - fi - # Create the target GRUB configuration. - mkdir -p $TARGET_ROOT/boot/grub - cat > $TARGET_ROOT/boot/grub/menu.lst << _EOF_ -# /boot/grub/menu.lst: GRUB boot loader configuration. -# - -# By default, boot the first entry. -default 0 - -# Boot automatically after 8 secs. -timeout 8 - -# Graphical splash image. -splashimage=/boot/grub/splash.xpm.gz - -# Change the colors. -#color yellow/brown light-green/black - -# For booting SliTaz from : $TGT_PARTITION -# -title SliTaz GNU/Linux [$(cat $TARGET_ROOT/etc/slitaz-release)](Kernel $KERNEL) -root $GRUB_ROOT -kernel /boot/$KERNEL root=$TGT_PARTITION quiet - -_EOF_ - if [ -n "$TGT_WINBOOT" ]; then - msg $(gettext "Enabling Windows dual-boot") - cat >> $TARGET_ROOT/boot/grub/menu.lst << _EOF_ -# For booting Windows : -# -title Microsoft Windows - rootnoverify ($WINBOOT) - chainloader +1 - -_EOF_ - fi - # log - debug "grub_config: $TARGET_ROOT/boot/grub/menu.lst" - echo "--- menu.lst -------------" >>$LOG - cat $TARGET_ROOT/boot/grub/menu.lst >>$LOG - echo "--- menu.lst -------------" >>$LOG - sleep 2 -} - -# Files install, calling for functions or with cmds. -install_files() -{ - msg "$(gettext "Installing SliTaz on:") $TGT_PARTITION" - # saving pwd - local save_pwd=$(pwd) - - debug "Cleaning the root partition if necessary..." - clean_target - - debug "Extracting the root system..." - extract_rootfs $SOURCE_ROOT/boot - - debug "Installing the kernel..." - install_kernel - - debug "Copying the bootloader syslinux/isolinux..." - copy_bootloaders - - debug "Preconfiguring the system..." - pre_config_system - - msg "$(gettext "Configuring root and default user account:") $TGT_USER" - users_settings - - if [ "$TGT_HOME" != "" ]; then - msg "$(gettext "Configuring partition to be used as /home:") $TGT_HOME" - home_config - sleep 2 - fi - - debug "Creating configuration file for GRUB (menu.lst)..." - grub_config - - debug "Files installation completed" - sleep 2 - # restoring pwd - cd $save_pwd -} - -# GRUB info with disk name used for grub-install. -grub_install() -{ - if [ "$TGT_GRUB" == "yes" ]; then - TARGET_DISK=`echo $TGT_PARTITION | sed s/"[0-9]"/''/` - msg "$(gettext "Running grub-install on:") $TARGET_DISK" - grub-install --no-floppy \ - --root-directory=$TARGET_ROOT $TARGET_DISK 2>>$LOG - debug "Grub installation done..." - else - debug "Grub not installed" - fi -} - -# Copy log file, umount target and eject cdrom. -umount_devices() -{ - # Umount target - if mount | grep -q $TARGET_ROOT; then - echo "$(gettext "Unmounting target partition:") $TGT_PARTITION" - umount $TARGET_ROOT 2>>$LOG - fi - - # Umount source - if mount | grep -q $SOURCE_ROOT; then - echo "$(gettext "Unmounting:") $SOURCE_ROOT" - umount $SOURCE_ROOT - fi - - # Eject cd - if [ "$INST_TYPE" == "cdrom" ]; then - gettext "Ejecting cdrom..." - eject - fi - # Remove lock file - rm -f $LOCK - sleep 2 -} - -# End of installation. -end_of_install() -{ - msg $(gettext "Installation complete. You can now restart (reboot)") - echo " $(gettext "from your SliTaz GNU/Linux system.")" - echo "=== Tazinst end at `date` ===" >>$LOG - # Log files - echo "$(gettext "Copying log files") ($LOG)..." - cp -a $LOG $TARGET_ROOT/var/log - sleep 2 - # umount - umount_devices -} - -##################### -# Upgrade functions # -##################### - -# Mount. -prepare_upgrade() -{ - debug "Preparing the target partition..." - # Target may be used - mount | grep -q $TGT_PARTITION && \ - abort 5 "$TGT_PARTITION: $(gettext "Partition in use")" - # Mount point can be already used. - if mount | grep -q $TARGET_ROOT; then - umount $TARGET_ROOT 2>>$LOG - fi - mkdir -p $TARGET_ROOT && sleep 2 - # Mount target. - mount $TGT_PARTITION $TARGET_ROOT >>$LOG 2>>$LOG - if [ $(mount | grep -c "mnt/target") == "0" ]; then - abort 5 "$TGT_PARTITION $(gettext "Unable to mount partition")" - fi -} - -# Check for a valid SliTaz -check_release() -{ - if [ -f $TARGET_ROOT/etc/slitaz-release ]; then - release=`cat $TARGET_ROOT/etc/slitaz-release` - msg "$(gettext "Preparing upgrade of SliTaz release:") $release" - else - abort 6 "$TGT_PARTITION: $(gettext "This partition doesn't appear to contain \ -a valid SliTaz system, the file: /etc/slitaz-release doesn't exist.")" - fi && sleep 2 -} - -# Backup target packages list. -backup_files() -{ - cd $TARGET_ROOT || abort 8 $(gettext "Internal") - ls -1 var/lib/tazpkg/installed > home/packages-selection.list - for dir in * - do - case "$dir" in - boot) - rm -rf boot/vmlinuz-* ;; - home) - mv home home.bak - debug "keeping /home found on: $TGT_PARTITION" ;; - etc) - tar czf etc.tar.gz etc - mv etc etc.bak - debug "keeping /etc found on: $TGT_PARTITION" ;; - var) - if [ -d var/www ]; then - mv var/www www.bak - debug "keeping /var/www found on: $TGT_PARTITION" - fi - rm -rf var 2>>$LOG ;; - lost+found) - continue ;; - *) - debug "removing target: $dir" - rm -rf $dir 2>>$LOG ;; - esac - done - if [ -d mklost+found ]; then - mklost+found 2>>$LOG - fi - sleep 2 -} - -# Restore backups. -restore_files() -{ - rm -rf $TARGET_ROOT/home - mv $TARGET_ROOT/home.bak $TARGET_ROOT/home - rm -rf $TARGET_ROOT/etc - mv $TARGET_ROOT/etc.bak $TARGET_ROOT/etc - if [ -d $TARGET_ROOT/www.bak ]; then - rm -rf $TARGET_ROOT/var/www - mv $TARGET_ROOT/www.bak $TARGET_ROOT/var/www - fi - debug "backups restored: `date`" - - # /var/lib/slitaz-installer - mkdir -p $TARGET_ROOT/var/lib/tazinst - mv $TARGET_ROOT/etc.tar.gz $TARGET_ROOT/var/lib/tazinst - mv $TARGET_ROOT/home/packages-selection.list $TARGET_ROOT/var/lib/tazinst -} - -# Added pkgs -install_pkgs() -{ - # Check if the pkg is on the mirror. - debug "Checking the availability of packages..." - touch packages-to-install.list - packages=0 - diff=`cat packages-selection.diff | sort` - for pkg in $diff - do - if grep -q ^$pkg-[0-9] /var/lib/tazpkg/packages.list; then - packages=$(($packages+1)) - echo "$pkg" >> packages-to-install.list - fi - done - - # Install packages. - debug "Installing any packages..." - sleep 2 - if [ "$packages" == "0" ]; then - debug "packages to install: 0" - else - # Get-install all missing pkgs. - for pkg in `cat packages-to-install.list` - do - debug "Installing: $pkg..." - # Get install package and answer yes in case of dependencies. - pkgname=`grep ^$pkg /var/lib/tazpkg/packages.list` - tazpkg get $pkg >/dev/null 2>/dev/null - yes "" | tazpkg install $pkgname.tazpkg --root=$TARGET_ROOT >/dev/null 2>/dev/null - rm -f $pkgname.tazpkg - done - fi - debug "Installation of packages complete..." - sleep 2 -} - -# Search for added pkgs -update_pkgs() -{ - cd $TARGET_ROOT/var/lib/tazinst || abort 8 $(gettext "Internal") - # LiveCD packages list. - debug "Creating package lists..." - ls -1 $TARGET_ROOT/var/lib/tazpkg/installed > packages-source.list || exit 1 - debug "packages-source.list: done" - # Diff - diff packages-source.list packages-selection.list | \ - grep ^+[a-z] | sed s/^+// > packages-selection.diff - debug "packages-selection.diff: done" - # Get mirror list. - tazpkg recharge >>$LOG 2>>$LOG - if [ -f /var/lib/tazpkg/packages.list ]; then - install_pkgs - else - touch packages-to-install.list - warning $(gettext "The list of available packages on the mirror could not be \ -downloaded. No missing packages will be reinstalled now, but \ -you can do so later by looking at the following list: \ -/var/lib/tazinst/packages-selection.diff") - fi - sleep 2 -} - -# Update grub conf -grub_update() -{ - # Backup and create a new grub menu.lst. - if [ "$TGT_GRUB" == "yes" ]; then - msg $(gettext "Grub update") - mv $TARGET_ROOT/boot/grub/menu.lst \ - $TARGET_ROOT/boot/grub/menu.lst.bak 2>/dev/null - grub_config - fi -} - -# Prepare the partition to upgrade, backup, install, restore configs -# and reinstall pkgs. -upgrade_files() -{ - # saving pwd - local save_pwd=$(pwd) - cd $TARGET_ROOT || abort 8 $(gettext "Internal") - - debug "Searching for /etc/slitaz-release" - check_release - - msg $(gettext "Backup /etc, /home and the packages list...") - backup_files - - msg "$(gettext "Upgrading SliTaz on:") $TGT_PARTITION" - - debug "Copying the bootloader syslinux/isolinux..." - copy_bootloaders - - debug "Extracting the root system..." - extract_rootfs $SOURCE_ROOT/boot - - msg $(gettext "Restoring configuration files...") - restore_files - - debug "Installing the kernel..." - install_kernel - - msg $(gettext "Upgrading added packages...") - update_pkgs - - # restoring pwd - cd $save_pwd -} - -# End of system upgrade. -end_of_upgrade() -{ - pkgscd=`cat $TARGET_ROOT/var/lib/tazinst/packages-source.list | wc -l` - pkginst=`cat $TARGET_ROOT/var/lib/tazinst/packages-to-install.list | wc -l` - msg $(gettext "Upgrade finished. You can now restart (reboot)") - echo $(gettext "from your SliTaz GNU/Linux system.") - echo "$(gettext "Packages on the cdrom :") $pkgscd" - echo "$(gettext "Packages installed from the mirror :") $pkginst" - echo "=== Tazinst end at `date` ===" >>$LOG - umount_devices -} - -###################### -# Installer sequence # -###################### - -case $1 in - install) - INST_ACTION=install - check_root - init $@ - read_setup_file $2 - check_vars - check_source - prepare_install - install_files - grub_install - end_of_install ;; - upgrade) - INST_ACTION=upgrade - check_root - init $@ - read_setup_file $2 - check_vars - check_source - prepare_upgrade - upgrade_files - grub_update - end_of_upgrade ;; - new) - gen_setup $2 ;; - showurl) - LOG="/dev/null" - case $2 in - stable) - echo $URL_STABLE ;; - cooking) - echo $URL_COOKING ;; - rolling) - echo $URL_ROLLING ;; - *) - abort 1 $(gettext "Unknown url shortcut") - esac ;; - check) - LOG="/dev/null" - INST_ACTION=check - check_root - init $@ - read_setup_file $2 - check_vars - rm -f $LOCK ;; - log) - [ -r "$LOG" ] && cat $LOG ;; - version) - echo $VERSION ;; - usage|*) - usage ;; -esac - -exit 0 diff -r e8cb58647552 -r 81f961f39b06 po/tazdrop/fr.po --- a/po/tazdrop/fr.po Sun Feb 17 12:58:55 2013 +0100 +++ b/po/tazdrop/fr.po Wed Feb 20 09:44:17 2013 +0100 @@ -3,17 +3,18 @@ # This file is distributed under the same license as the PACKAGE package. # Christophe Lincoln , 2010. # +#, fuzzy msgid "" msgstr "" "Project-Id-Version: TazDrop\n" -"Report-Msgid-Bugs-To: \n" +"Report-Msgid-Bugs-To:\n" "POT-Creation-Date: 2012-07-01 20:20+0000\n" -"PO-Revision-Date: 2012-12-20 09:35+0100\n" +"PO-Revision-Date: 2013-02-20 10:21+0100\n" "Last-Translator: Stanislas Leduc \n" "Language-Team: French\n" "Language: fr\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: tazdrop/tazdrop:32 diff -r e8cb58647552 -r 81f961f39b06 po/tazinst/es_AR.po --- a/po/tazinst/es_AR.po Sun Feb 17 12:58:55 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,481 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: Tazinst\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-02 15:56+0200\n" -"PO-Revision-Date: 2011-08-11 20:52-0300\n" -"Last-Translator: Lucas Gioia \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: installer/tazinst:51 -msgid "Tazinst - SliTaz installer - Version" -msgstr "Tazinst - Instalador SliTaz - Versión" - -#: installer/tazinst:53 -msgid "Usage" -msgstr "Uso" - -#: installer/tazinst:53 -#, fuzzy -msgid "tazinst [command] [setup-file|url-shortcut]" -msgstr "tazinst [commando] [config-file|url|optiones]" - -#: installer/tazinst:55 -msgid "Commands" -msgstr "Comandos" - -#: installer/tazinst:56 -msgid "Print this short usage." -msgstr "Imprime este corto uso." - -#: installer/tazinst:57 -#, fuzzy -msgid "Install SliTaz on HDD using setup file contents." -msgstr "Instala SliTaz en un disco duro usando un archivo de configuración." - -#: installer/tazinst:58 -#, fuzzy -msgid "Upgrade SliTaz on HDD using setup file contents." -msgstr "Actualiza SliTaz en un disco duro usando un archivo de configuración." - -#: installer/tazinst:59 -msgid "Create a new setup file." -msgstr "" - -#: installer/tazinst:60 -#, fuzzy -msgid "Check validity of settings in a setup file." -msgstr "Comprobar validez del archivo de configuración." - -#: installer/tazinst:61 -#, fuzzy -msgid "Show full URL of a predefined shortcut (stable|cooking|rolling)." -msgstr "" -"Mostrar el URL completo de un URL predefinido (stable|cooking|rolling)." - -#: installer/tazinst:62 -msgid "Display log file contents and exit." -msgstr "" - -#: installer/tazinst:63 -msgid "Print version and exit." -msgstr "" - -#: installer/tazinst:83 -msgid "Error" -msgstr "Error" - -#: installer/tazinst:91 -msgid "Warning:" -msgstr "Precaución" - -#: installer/tazinst:119 -#, fuzzy -msgid "Can't write setup file" -msgstr "No se puede escribir el archivo de configuración" - -#: installer/tazinst:176 -msgid "created." -msgstr "" - -#: installer/tazinst:178 installer/tazinst:226 -#, fuzzy -msgid "Setup file not found" -msgstr "Archivo no encontrado" - -#: installer/tazinst:192 -msgid "Another instance of tazinst is running." -msgstr "" - -#: installer/tazinst:224 -#, fuzzy -msgid "Unable to read setup file" -msgstr "Incapaz de leer el archivo de configuración" - -#: installer/tazinst:229 -#, fuzzy -msgid "No setup file provided" -msgstr "No provista de un archivo de configuración" - -#: installer/tazinst:260 -#, fuzzy -msgid "Unknown install mode" -msgstr "Sistema de archivos desconocido" - -#: installer/tazinst:269 -#, fuzzy -msgid "No source file provided" -msgstr "No provista de un archivo de configuración" - -#: installer/tazinst:271 -msgid "Unknown source type" -msgstr "" - -#: installer/tazinst:285 -#, fuzzy -msgid "Source file not found" -msgstr "Archivo no encontrado" - -#: installer/tazinst:289 -#, fuzzy -msgid "URL not found" -msgstr "Archivo no encontrado" - -#: installer/tazinst:300 -#, fuzzy -msgid "Partition for / not found" -msgstr "Partición no encontrada" - -#: installer/tazinst:303 -msgid "Target and source partitions should be different" -msgstr "" - -#: installer/tazinst:315 installer/tazinst:346 -#, fuzzy -msgid "is not installed" -msgstr "No está instalado." - -#: installer/tazinst:317 -#, fuzzy -msgid "Unknown filesystem (/)" -msgstr "Sistema de archivos desconocido" - -#: installer/tazinst:327 -#, fuzzy -msgid "Partition for /home not found" -msgstr "Partición no encontrada" - -#: installer/tazinst:330 -msgid "/home and source partitions should be different" -msgstr "" - -#: installer/tazinst:333 -msgid "/ and /home partitions should be different" -msgstr "" - -#: installer/tazinst:348 -#, fuzzy -msgid "Unknown filesystem (/home)" -msgstr "Sistema de archivos desconocido" - -#: installer/tazinst:354 -#, fuzzy -msgid "Bootloader (grub): Invalid settings" -msgstr "Configuraciónes inválidas" - -#: installer/tazinst:362 -#, fuzzy -msgid "Windows Dual-Boot: Invalid settings" -msgstr "Configuraciónes inválidas" - -#: installer/tazinst:373 -msgid "" -"You must be the root user (system administrator) to install SliTaz, please " -"use 'su' to get a root SHell and restart installation." -msgstr "" -"Debes ser usuario root (administrador del sistema) para instalar SliTaz. Por " -"favor usa el comando 'su' para tener un SHell root y reiniciar la " -"instalación." - -#: installer/tazinst:390 -msgid "Mount failed" -msgstr "" - -#: installer/tazinst:409 -msgid "Failed to mount USB device" -msgstr "Falló el montaje del dispositivo USB" - -#: installer/tazinst:422 -msgid "md5sum mismatch, file corrupted" -msgstr "" - -#: installer/tazinst:424 -msgid "md5 file not found, unable to check integrity." -msgstr "archivo md5 no encontrado. Incapaz de comprobar integridad." - -#: installer/tazinst:431 -msgid "Failed to mount ISO." -msgstr "Falló al montar ISO." - -#: installer/tazinst:443 installer/tazinst:447 -#, fuzzy -msgid "File download failed." -msgstr "Falló al descargar." - -#: installer/tazinst:461 -msgid "Web boot files not found" -msgstr "Archivos boot web no encontrados" - -#: installer/tazinst:484 installer/tazinst:557 installer/tazinst:656 -#: installer/tazinst:691 installer/tazinst:759 installer/tazinst:1019 -#: installer/tazinst:1111 installer/tazinst:1152 -msgid "Internal" -msgstr "Interno" - -#: installer/tazinst:491 -msgid "Invalid source" -msgstr "Fuente inválida" - -#: installer/tazinst:507 installer/tazinst:991 -msgid "Partition in use" -msgstr "Partición en uso" - -#: installer/tazinst:521 -#, fuzzy -msgid "Formatting / partition:" -msgstr "Formateando partición /home:" - -#: installer/tazinst:533 -msgid "Formatting /home partition:" -msgstr "Formateando partición /home:" - -#: installer/tazinst:546 installer/tazinst:1000 -#, fuzzy -msgid "Unable to mount partition" -msgstr "Formato partición root" - -#: installer/tazinst:586 -msgid "Kernel name not found, falling back to:" -msgstr "" - -#: installer/tazinst:706 -msgid "Configuring host name:" -msgstr "Configurando el nombre de host:" - -#: installer/tazinst:814 -msgid "No windows partition found. Dual-boot disabled" -msgstr "No se encontraron particiónes windows. boot-dual desactivado" - -#: installer/tazinst:870 -msgid "Enabling Windows dual-boot" -msgstr "Activando inicio dual Windows" - -#: installer/tazinst:891 -#, fuzzy -msgid "Installing SliTaz on:" -msgstr "Instalando SliTaz en" - -#: installer/tazinst:910 -msgid "Configuring root and default user account:" -msgstr "Configurando root y cuenta de usuario predeterminada..." - -#: installer/tazinst:914 -#, fuzzy -msgid "Configuring partition to be used as /home:" -msgstr "Configurando partición para ser usada como /home..." - -#: installer/tazinst:933 -msgid "Running grub-install on:" -msgstr "Corriendo grub-install en:" - -#: installer/tazinst:947 -#, fuzzy -msgid "Unmounting target partition:" -msgstr "Desmontando objetivo" - -#: installer/tazinst:953 -#, fuzzy -msgid "Unmounting:" -msgstr "Desmontando" - -#: installer/tazinst:959 -msgid "Ejecting cdrom..." -msgstr "eyectando cdrom..." - -#: installer/tazinst:970 -#, fuzzy -msgid "Installation complete. You can now restart (reboot)" -msgstr "Instalación completa. Puede reiniciar" - -#: installer/tazinst:971 installer/tazinst:1187 -msgid "from your SliTaz GNU/Linux system." -msgstr "de su sistema SliTaz GNU/Linux" - -#: installer/tazinst:974 -msgid "Copying log files" -msgstr "Copiando archivos log" - -#: installer/tazinst:1009 -msgid "Preparing upgrade of SliTaz release:" -msgstr "Preparando actualización de SliTaz, versión:" - -#: installer/tazinst:1011 -msgid "" -"This partition doesn't appear to contain a valid SliTaz system, the file: /" -"etc/slitaz-release doesn't exist." -msgstr "" -"Esta partición no parece contener un sistema válido SliTaz. La fila: /etc/" -"slitaz-release no existe." - -#: installer/tazinst:1126 -msgid "" -"The list of available packages on the mirror could not be downloaded. No " -"missing packages will be reinstalled now, but you can do so later by looking " -"at the following list: /var/lib/tazinst/packages-selection.diff" -msgstr "" -"La lista de los paquetes disponibles en el espejo, no pueden ser " -"descargados. No missing packages will be reinstalled now, pero puedes luego " -"mirar en la siguiente lista: /var/lib/tazinst/packages-selection.diff" - -#: installer/tazinst:1139 -msgid "Grub update" -msgstr "Actualizar Grub" - -#: installer/tazinst:1157 -msgid "Backup /etc, /home and the packages list..." -msgstr "Creando copia de seguridad /etc, /home y la lista de paquetes..." - -#: installer/tazinst:1160 -msgid "Upgrading SliTaz on:" -msgstr "Actualizando SliTaz en :" - -#: installer/tazinst:1168 -msgid "Restoring configuration files..." -msgstr "Restaurando archivos de configuración..." - -#: installer/tazinst:1174 -msgid "Upgrading added packages..." -msgstr "Actualizando paquetes agregados..." - -#: installer/tazinst:1186 -#, fuzzy -msgid "Upgrade finished. You can now restart (reboot)" -msgstr "" -"Actualización completa. Puede ahora reiniciar su sistema operativo SliTaz " -"GNU/Linux." - -#: installer/tazinst:1188 -msgid "Packages on the cdrom :" -msgstr "Paquetes en cdrom :" - -#: installer/tazinst:1189 -msgid "Packages installed from the mirror :" -msgstr "Paquetes instalados desde el espejo :" - -#: installer/tazinst:1233 -msgid "Unknown url shortcut" -msgstr "" - -#~ msgid "Generate a configuration file." -#~ msgstr "Generar un archivo de configuración" - -#~ msgid "Install or upgrade using command line options:" -#~ msgstr "Instalar o actualizar usando las opciónes en la línea de comandos:" - -#~ msgid "Full Install (not upgrading, all present data will be lost)." -#~ msgstr "" -#~ "Instalación completa (no actualiza, todo dato presente será perdido)." - -#~ msgid "Upgrade (Needs an active internet connection)." -#~ msgstr "Actualizar (necesita una conexión de internet activa)." - -#~ msgid "Install type (cdrom|usb|iso|web|weboot)." -#~ msgstr "Tipo de instalación (cdrom|usb|web|webroot)." - -#~ msgid "Source media (ex: file.iso|usb partition|web url)." -#~ msgstr "Fuente de datos (ej: archivo.iso| partición usb| web url)." - -#~ msgid "Partition where SliTaz will be installed (ex:/dev/hda3)." -#~ msgstr "Partición donde SliTaz será instalada (ej: /dev/hda3)." - -#~ msgid "Partition to be formatted (fs=ext2|ext3|ext4|etc..)." -#~ msgstr "Partición a ser fomateada (fs=ext2|ext3|ext4|etc...)." - -#~ msgid "Install Grub." -#~ msgstr "Instalar Grub." - -#~ msgid "Dual-boot a Windows partition (auto|hd, ex:hd0,0)." -#~ msgstr "Inicio dual en partición Windows (auto|hd, ej: hd0,0)." - -#~ msgid "Debug mode." -#~ msgstr "Modo debug." - -#~ msgid "Config file not found" -#~ msgstr "Archivo de configuración no encontrado" - -#~ msgid "Mismatched parameters" -#~ msgstr "Los parámetros no coinciden" - -#~ msgid "will not be formatted during upgrade" -#~ msgstr "no se formateará durante la actualización" - -#~ msgid "but SRC_FILE is not set" -#~ msgstr "pero SRC_FILE no está establecido" - -#~ msgid "file not found on the web" -#~ msgstr "Archivo no encontrado en el web" - -#~ msgid "Invalid format" -#~ msgstr "Formato inválido" - -#~ msgid "Failed to mount" -#~ msgstr "Falló el montaje" - -#~ msgid "corrupted" -#~ msgstr "corrupto" - -#~ msgid "Installation settings summary:" -#~ msgstr "Sumario de configuraciónes de instalación." - -#~ msgid "Format /home partition" -#~ msgstr "Formato partición /home" - -#~ msgid "Install SliTaz on" -#~ msgstr "Instalar SliTaz en" - -#~ msgid "Source:" -#~ msgstr "Fuente:" - -#~ msgid "Set Home partition to" -#~ msgstr "Establecer partición Home a" - -#~ msgid "Set Hostname as" -#~ msgstr "Establecer Hostname como" - -#~ msgid "Set Default user as" -#~ msgstr "Configurar usuario predeterminado a" - -#~ msgid "Check" -#~ msgstr "Comprobar" - -#~ msgid "Backup /etc, /home and the packages list" -#~ msgstr "Hacer copias de seguridad de /etc, /home y la lista de paquetes" - -#~ msgid "Upgrade SliTaz on" -#~ msgstr "Actualizando SliTaz en" - -#~ msgid "Restore /etc, /home" -#~ msgstr "Restaurando /etc, /home" - -#~ msgid "Upgrade additional packages." -#~ msgstr "Actualizando paquetes adicionales." - -#~ msgid "Enable Windows dual-boot" -#~ msgstr "Activar dual-boot Windows" - -#~ msgid "Install Grub" -#~ msgstr "Instalar Grub" - -#~ msgid "Continue:(y/n)" -#~ msgstr "Continuar:(y/n)" - -#~ msgid "Cancelled by user" -#~ msgstr "Cancelado por usuario" - -#~ msgid "Formatting main partition:" -#~ msgstr "Formatear partición principal:" - -#~ msgid "Can't mount" -#~ msgstr "No se puede montar" - -#~ msgid "Falling back to running kernel name.." -#~ msgstr "Volviendo a correr el nombre del kernel..." diff -r e8cb58647552 -r 81f961f39b06 po/tazinst/fr.po --- a/po/tazinst/fr.po Sun Feb 17 12:58:55 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,461 +0,0 @@ -# French translation for Tazinst (SliTaz installer). -# Traduction française du paquet Tazinst -# Copyright (C) 2011-2012 - SliTaz Team -# This file is distributed under the same license as Tazinst. -# Dominique Corbex , 2011-2012 -# -msgid "" -msgstr "" -"Project-Id-Version: 3.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-02 15:56+0200\n" -"PO-Revision-Date: 2012-05-19 11:20+0200\n" -"Last-Translator: Dominique Corbex \n" -"Language-Team: French\n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#: installer/tazinst:51 -msgid "Tazinst - SliTaz installer - Version" -msgstr "Tazinst - Installateur Slitaz - Version" - -#: installer/tazinst:53 -msgid "Usage" -msgstr "Usage" - -#: installer/tazinst:53 -msgid "tazinst [command] [setup-file|url-shortcut]" -msgstr "tazinst [commande] [fichier-param|raccourci-url]" - -#: installer/tazinst:55 -msgid "Commands" -msgstr "Commandes" - -#: installer/tazinst:56 -msgid "Print this short usage." -msgstr "Affiche cette petite aide" - -#: installer/tazinst:57 -msgid "Install SliTaz on HDD using setup file contents." -msgstr "Installe SliTaz sur HDD à l'aide d'un fichier de paramètres." - -#: installer/tazinst:58 -msgid "Upgrade SliTaz on HDD using setup file contents." -msgstr "Met à jour SliTaz sur HDD à l'aide d'un fichier de paramètres." - -#: installer/tazinst:59 -msgid "Create a new setup file." -msgstr "Crée un nouveau fichier de paramètres." - -#: installer/tazinst:60 -msgid "Check validity of settings in a setup file." -msgstr "Vérifie la validité du fichier de paramètres." - -#: installer/tazinst:61 -msgid "Show full URL of a predefined shortcut (stable|cooking|rolling)." -msgstr "Affiche l'URL complète d'un raccourci (stable|cooking|rolling)." - -#: installer/tazinst:62 -msgid "Display log file contents and exit." -msgstr "Affiche le contenu du fichier journal." - -#: installer/tazinst:63 -msgid "Print version and exit." -msgstr "Affiche la version." - -#: installer/tazinst:83 -msgid "Error" -msgstr "Erreur" - -#: installer/tazinst:91 -msgid "Warning:" -msgstr "Attention :" - -#: installer/tazinst:119 -msgid "Can't write setup file" -msgstr "Impossible d'écrire un fichier de paramètres" - -#: installer/tazinst:176 -msgid "created." -msgstr "Créé." - -#: installer/tazinst:178 installer/tazinst:226 -msgid "Setup file not found" -msgstr "fichier de paramètres non trouvé" - -#: installer/tazinst:192 -msgid "Another instance of tazinst is running." -msgstr "Une autre instance de tazinst est en cours." - -#: installer/tazinst:224 -msgid "Unable to read setup file" -msgstr "Impossible de lire le fichier de paramètres" - -#: installer/tazinst:229 -msgid "No setup file provided" -msgstr "Aucun fichier de paramètres fourni" - -#: installer/tazinst:260 -msgid "Unknown install mode" -msgstr "Mode d'installation inconnu" - -#: installer/tazinst:269 -msgid "No source file provided" -msgstr "Pas de fichier source fourni" - -#: installer/tazinst:271 -msgid "Unknown source type" -msgstr "Type de source inconnu" - -#: installer/tazinst:285 -msgid "Source file not found" -msgstr "fichier source non trouvé" - -#: installer/tazinst:289 -msgid "URL not found" -msgstr "URL non trouvée" - -#: installer/tazinst:300 -msgid "Partition for / not found" -msgstr "Partition / non trouvée" - -#: installer/tazinst:303 -msgid "Target and source partitions should be different" -msgstr "Les partitions cible et source doivent etre différentes" - -#: installer/tazinst:315 installer/tazinst:346 -msgid "is not installed" -msgstr "n'est pas installé" - -#: installer/tazinst:317 -msgid "Unknown filesystem (/)" -msgstr "Système de fichiers inconnu (/)" - -#: installer/tazinst:327 -msgid "Partition for /home not found" -msgstr "Partition /home non trouvée" - -#: installer/tazinst:330 -msgid "/home and source partitions should be different" -msgstr "Les partitions source et /home doivent être différentes" - -#: installer/tazinst:333 -msgid "/ and /home partitions should be different" -msgstr "Les partitions / et /home doivent être différentes" - -#: installer/tazinst:348 -msgid "Unknown filesystem (/home)" -msgstr "Système de fichiers inconnu (/home)" - -#: installer/tazinst:354 -msgid "Bootloader (grub): Invalid settings" -msgstr "Chargeur d'amore Grub: Paramètre invalide" - -#: installer/tazinst:362 -msgid "Windows Dual-Boot: Invalid settings" -msgstr "Windows Dual-Boot: Paramètre invalide" - -#: installer/tazinst:373 -msgid "" -"You must be the root user (system administrator) to install SliTaz, please " -"use 'su' to get a root SHell and restart installation." -msgstr "" -"Vous devez être l'utilisateur root (administrateur système) pour installer " -"SliTaz, utilisez « su » pour obtenir un shell root et redémarrer " -"l'installation." - -#: installer/tazinst:390 -msgid "Mount failed" -msgstr "Échec du montage" - -#: installer/tazinst:409 -msgid "Failed to mount USB device" -msgstr "Impossible de monter le périphérique USB" - -#: installer/tazinst:422 -msgid "md5sum mismatch, file corrupted" -msgstr "Erreur md5sum, fichier corrompu" - -#: installer/tazinst:424 -msgid "md5 file not found, unable to check integrity." -msgstr "fichier md5 non trouvé, impossible de vérifier l'intégrité." - -#: installer/tazinst:431 -msgid "Failed to mount ISO." -msgstr "Impossible de monter l'image ISO." - -#: installer/tazinst:443 installer/tazinst:447 -msgid "File download failed." -msgstr "Échec au téléchargement du fichier." - -#: installer/tazinst:461 -msgid "Web boot files not found" -msgstr "Fichiers Web boot non trouvés" - -#: installer/tazinst:484 installer/tazinst:557 installer/tazinst:656 -#: installer/tazinst:691 installer/tazinst:759 installer/tazinst:1019 -#: installer/tazinst:1111 installer/tazinst:1152 -msgid "Internal" -msgstr "Interne" - -#: installer/tazinst:491 -msgid "Invalid source" -msgstr "Source invalide" - -#: installer/tazinst:507 installer/tazinst:991 -msgid "Partition in use" -msgstr "Partition utilisée" - -#: installer/tazinst:521 -msgid "Formatting / partition:" -msgstr "Formatage de la partition / :" - -#: installer/tazinst:533 -msgid "Formatting /home partition:" -msgstr "Formatage de la partition /home :" - -#: installer/tazinst:546 installer/tazinst:1000 -msgid "Unable to mount partition" -msgstr "Impossible de monter la partition" - -#: installer/tazinst:586 -msgid "Kernel name not found, falling back to:" -msgstr "Nom du noyau non trouvé, retour à:" - -#: installer/tazinst:706 -msgid "Configuring host name:" -msgstr "Configuration du Hostname :" - -#: installer/tazinst:814 -msgid "No windows partition found. Dual-boot disabled" -msgstr "Aucune partition Windows trouvée. Dual-boot désactivé" - -#: installer/tazinst:870 -msgid "Enabling Windows dual-boot" -msgstr "Activation du Dual-boot avec Windows" - -#: installer/tazinst:891 -msgid "Installing SliTaz on:" -msgstr "Installation de SliTaz sur:" - -#: installer/tazinst:910 -msgid "Configuring root and default user account:" -msgstr "Configuration des comptes de root et de l'utilisateur par défaut :" - -#: installer/tazinst:914 -msgid "Configuring partition to be used as /home:" -msgstr "Configuration de la partition à utiliser comme /home:" - -#: installer/tazinst:933 -msgid "Running grub-install on:" -msgstr "Installation de Grub sur:" - -#: installer/tazinst:947 -msgid "Unmounting target partition:" -msgstr "Démontage de la partition:" - -#: installer/tazinst:953 -msgid "Unmounting:" -msgstr "Démontage:" - -#: installer/tazinst:959 -msgid "Ejecting cdrom..." -msgstr "Éjection du CD-Rom..." - -#: installer/tazinst:970 -msgid "Installation complete. You can now restart (reboot)" -msgstr "Installation terminée. Vous pouvez maintenant redémarrer " - -#: installer/tazinst:971 installer/tazinst:1187 -msgid "from your SliTaz GNU/Linux system." -msgstr "votre système SliTaz GNU/Linux." - -#: installer/tazinst:974 -msgid "Copying log files" -msgstr "Copie du fichier journal" - -#: installer/tazinst:1009 -msgid "Preparing upgrade of SliTaz release:" -msgstr "Préparation de la mise à jour de la version de SliTaz :" - -#: installer/tazinst:1011 -msgid "" -"This partition doesn't appear to contain a valid SliTaz system, the file: /" -"etc/slitaz-release doesn't exist." -msgstr "" -"Cette partition ne semble pas contenir un système SliTaz valide, le " -"fichier: /etc/slitaz-release n'existe pas." - -#: installer/tazinst:1126 -msgid "" -"The list of available packages on the mirror could not be downloaded. No " -"missing packages will be reinstalled now, but you can do so later by looking " -"at the following list: /var/lib/tazinst/packages-selection.diff" -msgstr "" -"La liste des paquets disponibles sur le miroir ne peut être téléchargée. " -"Aucun paquet manquant ne peut être réinstallé maintenant, mais il est " -"possible de le faire ultérieurement à l'aide de la liste suivante : /var/lib/" -"tazinst/packages-selection.diff" - -#: installer/tazinst:1139 -msgid "Grub update" -msgstr "Mise à jour de Grub" - -#: installer/tazinst:1157 -msgid "Backup /etc, /home and the packages list..." -msgstr "Sauvegarde de /etc, /home et de la liste des paquets..." - -#: installer/tazinst:1160 -msgid "Upgrading SliTaz on:" -msgstr "Mise à jour de SliTaz sur :" - -#: installer/tazinst:1168 -msgid "Restoring configuration files..." -msgstr "Restauration des fichiers de configuration..." - -#: installer/tazinst:1174 -msgid "Upgrading added packages..." -msgstr "Mise à jour des paquets additionnels..." - -#: installer/tazinst:1186 -msgid "Upgrade finished. You can now restart (reboot)" -msgstr "La mise à jour est terminée. Vous pouvez redémarrer" - -#: installer/tazinst:1188 -msgid "Packages on the cdrom :" -msgstr "Paquets sur le cdrom :" - -#: installer/tazinst:1189 -msgid "Packages installed from the mirror :" -msgstr "Paquets installés depuis le miroir :" - -#: installer/tazinst:1233 -msgid "Unknown url shortcut" -msgstr "Raccourci d'URL inconnu" - -#~ msgid "Generate a configuration file." -#~ msgstr "Génére un fichier de configuration." - -# -#~ msgid "Install or upgrade using command line options:" -#~ msgstr "" -#~ "Installe ou met à jour en utilisant des options en ligne de commande:" - -#~ msgid "Full Install (not upgrading, all present data will be lost)." -#~ msgstr "" -#~ "Installation complète (pas de mise à jour, les données seront perdues)." - -#~ msgid "Upgrade (Needs an active internet connection)." -#~ msgstr "Mise à jour (Nécessite une connexion internet active)." - -#~ msgid "Install type (cdrom|usb|iso|web|weboot)." -#~ msgstr "Type d'installation (cdrom|usb|iso|web|weboot)." - -#~ msgid "Source media (ex: file.iso|usb partition|web url)." -#~ msgstr "Média source (ex: fichier.iso|partition usb|url web)." - -#~ msgid "Partition where SliTaz will be installed (ex:/dev/hda3)." -#~ msgstr "Partition où SliTaz sera installé (ex:/dev/hda3)." - -#~ msgid "Partition to be formatted (fs=ext2|ext3|ext4|etc..)." -#~ msgstr "Formatage de la partition (fs=ext2|ext3|ext4|etc..)." - -#~ msgid "Install Grub." -#~ msgstr "Installer Grub." - -#~ msgid "Dual-boot a Windows partition (auto|hd, ex:hd0,0)." -#~ msgstr "" -#~ "Dual-boot avec une partition Windows (auto|hd, ex:hd0,0)." - -#~ msgid "Debug mode." -#~ msgstr "Mode Debug" - -#~ msgid "Config file not found" -#~ msgstr "Fichier de configuration non trouvé" - -#~ msgid "Mismatched parameters" -#~ msgstr "Paramètres incompatibles" - -#~ msgid "will not be formatted during upgrade" -#~ msgstr "ne sera pas formaté durant la mise à jour" - -#~ msgid "but SRC_FILE is not set" -#~ msgstr "mais SRC_FILE n'est pas défini" - -#~ msgid "file not found on the web" -#~ msgstr "fichier non trouvé sur le web" - -#~ msgid "Invalid format" -#~ msgstr "Format invalide" - -#~ msgid "Failed to mount" -#~ msgstr "Impossible de monter" - -#~ msgid "corrupted" -#~ msgstr "corrompu" - -#~ msgid "Installation settings summary:" -#~ msgstr "Récapitulatif des paramètres d'installation:" - -#~ msgid "Format /home partition" -#~ msgstr "Formatage de la partition /home" - -#~ msgid "Install SliTaz on" -#~ msgstr "Installe SliTaz sur" - -#~ msgid "Source:" -#~ msgstr "Source :" - -#~ msgid "Set Home partition to" -#~ msgstr "Installe la partition /home sur" - -#~ msgid "Set Hostname as" -#~ msgstr "Définition du Hostname" - -#~ msgid "Set Default user as" -#~ msgstr "Définition de l'utilsateur par défaut" - -#~ msgid "Check" -#~ msgstr "Vérifie" - -#~ msgid "Backup /etc, /home and the packages list" -#~ msgstr "Sauvegarde de /etc, /home et de la liste des paquets" - -#~ msgid "Upgrade SliTaz on" -#~ msgstr "Met à jour SliTaz sur" - -#~ msgid "Restore /etc, /home" -#~ msgstr "Restauration de /etc, /home" - -#~ msgid "Upgrade additional packages." -#~ msgstr "Mise à jour des paquets additionnels." - -#~ msgid "Enable Windows dual-boot" -#~ msgstr "Active le Dual-boot avec Windows" - -#~ msgid "Install Grub" -#~ msgstr "Installe Grub" - -#~ msgid "Continue:(y/n)" -#~ msgstr "Continuer : (o/n)" - -#~ msgid "Cancelled by user" -#~ msgstr "Annulé par l'utilisateur" - -#~ msgid "Formatting main partition:" -#~ msgstr "Formatage de la partition principale :" - -#~ msgid "Can't mount" -#~ msgstr "Montage impossible" - -#~ msgid "Falling back to running kernel name.." -#~ msgstr "Repli sur le nom du noyau actuellement utilisé.." - -#~ msgid "Check configuration file validity." -#~ msgstr "Vérification de la validité du fichier de configuration." - -#~ msgid "Installation cancelled" -#~ msgstr "Installation annulée" diff -r e8cb58647552 -r 81f961f39b06 po/tazinst/pt_BR.po --- a/po/tazinst/pt_BR.po Sun Feb 17 12:58:55 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,334 +0,0 @@ -# Tazinst Brazilian Portuguese translation. -# Copyright (C) 2012 www.slitaz.org -# This file is distributed under the same license as the tazinst package. -# Claudinei Pereira , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: Tazinst\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-02 15:56+0200\n" -"PO-Revision-Date: 2013-01-26 01:55-0300\n" -"Last-Translator: Claudinei Pereira \n" -"Language-Team: Brazilian Portuguese (i18n@slitaz.org>\n" -"Language: pt_BR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#: installer/tazinst:51 -msgid "Tazinst - SliTaz installer - Version" -msgstr "Tazinst - Instalador do SliTaz - Versão" - -#: installer/tazinst:53 -msgid "Usage" -msgstr "Utilização" - -#: installer/tazinst:53 -msgid "tazinst [command] [setup-file|url-shortcut]" -msgstr "tazinst [comando] [setup-file|url-shortcut]" - -#: installer/tazinst:55 -msgid "Commands" -msgstr "Comandos" - -#: installer/tazinst:56 -msgid "Print this short usage." -msgstr "Exibe esta utilização" - -#: installer/tazinst:57 -msgid "Install SliTaz on HDD using setup file contents." -msgstr "Instala o SliTaz no disco rígido usando o arquivo de configuração" - -#: installer/tazinst:58 -msgid "Upgrade SliTaz on HDD using setup file contents." -msgstr "Atualiza o SliTaz no disco rígido usando o arquivo de configuração" - -#: installer/tazinst:59 -msgid "Create a new setup file." -msgstr "Cria um novo arquivo de configuração" - -#: installer/tazinst:60 -msgid "Check validity of settings in a setup file." -msgstr "Checa a validade das informações no arquivo de configuração" - -#: installer/tazinst:61 -msgid "Show full URL of a predefined shortcut (stable|cooking|rolling)." -msgstr "Mostra a URL completa de um atalho (estável|cooking|rolling)." - -#: installer/tazinst:62 -msgid "Display log file contents and exit." -msgstr "Mostra o conteúdo do arquivo de log e sai." - -#: installer/tazinst:63 -msgid "Print version and exit." -msgstr "Mostra a versão e sai." - -#: installer/tazinst:83 -msgid "Error" -msgstr "Erro" - -#: installer/tazinst:91 -msgid "Warning:" -msgstr "Aviso:" - -#: installer/tazinst:119 -msgid "Can't write setup file" -msgstr "Não é possível criar o arquivo de configuração" - -#: installer/tazinst:176 -msgid "created." -msgstr "Criado" - -#: installer/tazinst:178 installer/tazinst:226 -msgid "Setup file not found" -msgstr "Arquivo de configuração não encontrado" - -#: installer/tazinst:192 -msgid "Another instance of tazinst is running." -msgstr "Outra instância do tazinst está em execução" - -#: installer/tazinst:224 -msgid "Unable to read setup file" -msgstr "Não foi possível ler o arquivo de configuração" - -#: installer/tazinst:229 -msgid "No setup file provided" -msgstr "Nenhum arquivo de configuração informado" - -#: installer/tazinst:260 -msgid "Unknown install mode" -msgstr "Modo de instalação desconhecido" - -#: installer/tazinst:269 -msgid "No source file provided" -msgstr "Nenhum arquivo fonte informado" - -#: installer/tazinst:271 -msgid "Unknown source type" -msgstr "Tipo de arquivo fonte desconhecido" - -#: installer/tazinst:285 -msgid "Source file not found" -msgstr "Arquivo fonte não encontrado" - -#: installer/tazinst:289 -msgid "URL not found" -msgstr "URL não encontrada" - -#: installer/tazinst:300 -msgid "Partition for / not found" -msgstr "Partição para / não encontrada" - -#: installer/tazinst:303 -msgid "Target and source partitions should be different" -msgstr "Partição alvo e fonte devem ser diferentes" - -#: installer/tazinst:315 installer/tazinst:346 -msgid "is not installed" -msgstr "não foi instalado" - -#: installer/tazinst:317 -msgid "Unknown filesystem (/)" -msgstr "Sistema de arquivos desconhecido (/)" - -#: installer/tazinst:327 -msgid "Partition for /home not found" -msgstr "Partição para /home não encontrada" - -#: installer/tazinst:330 -msgid "/home and source partitions should be different" -msgstr "/home e partição fonte devem ser diferentes" - -#: installer/tazinst:333 -msgid "/ and /home partitions should be different" -msgstr "partições / e /home devem ser diferentes" - -#: installer/tazinst:348 -msgid "Unknown filesystem (/home)" -msgstr "Sistema de arquivos desconhecido (/home)" - -#: installer/tazinst:354 -msgid "Bootloader (grub): Invalid settings" -msgstr "Gerenciador de boot (grub): configurações inválidas" - -#: installer/tazinst:362 -msgid "Windows Dual-Boot: Invalid settings" -msgstr "Dual-boot com Windows: configurações inválidas" - -#: installer/tazinst:373 -msgid "" -"You must be the root user (system administrator) to install SliTaz, please " -"use 'su' to get a root SHell and restart installation." -msgstr "" -"Você deve se tornar root (administrador do sistema) para instalar o SliTaz, " -"por favor use 'su' para obter um SHell root e proceder à instalação." - -#: installer/tazinst:390 -msgid "Mount failed" -msgstr "Comando mount falhou" - -#: installer/tazinst:409 -msgid "Failed to mount USB device" -msgstr "Falha ao montar dispositivo USB" - -#: installer/tazinst:422 -msgid "md5sum mismatch, file corrupted" -msgstr "Divergência de md5sum, arquivo corrompido" - -#: installer/tazinst:424 -msgid "md5 file not found, unable to check integrity." -msgstr "Arquivo md5 não encontrado, impossível checar integridade." - -#: installer/tazinst:431 -msgid "Failed to mount ISO." -msgstr "Falha ao montar imagem ISO." - -#: installer/tazinst:443 installer/tazinst:447 -msgid "File download failed." -msgstr "Falha ao baixar arquivo." - -#: installer/tazinst:461 -msgid "Web boot files not found" -msgstr "Arquivos de boot via web não encontrados" - -#: installer/tazinst:484 installer/tazinst:557 installer/tazinst:656 -#: installer/tazinst:691 installer/tazinst:759 installer/tazinst:1019 -#: installer/tazinst:1111 installer/tazinst:1152 -msgid "Internal" -msgstr "Interno" - -#: installer/tazinst:491 -msgid "Invalid source" -msgstr "Fonte inválida" - -#: installer/tazinst:507 installer/tazinst:991 -msgid "Partition in use" -msgstr "Partição em uso" - -#: installer/tazinst:521 -msgid "Formatting / partition:" -msgstr "Formatando partição /:" - -#: installer/tazinst:533 -msgid "Formatting /home partition:" -msgstr "Formatando partição /home:" - -#: installer/tazinst:546 installer/tazinst:1000 -msgid "Unable to mount partition" -msgstr "Falha ao montar partição" - -#: installer/tazinst:586 -msgid "Kernel name not found, falling back to:" -msgstr "Nome do Kernel não encontrado, voltando a:" - -#: installer/tazinst:706 -msgid "Configuring host name:" -msgstr "Configurando nome do host:" - -#: installer/tazinst:814 -msgid "No windows partition found. Dual-boot disabled" -msgstr "Partição windows não encontrada. Dual-boot desabilitado" - -#: installer/tazinst:870 -msgid "Enabling Windows dual-boot" -msgstr "Habilitando dual-boot com windows" - -#: installer/tazinst:891 -msgid "Installing SliTaz on:" -msgstr "Instalando SliTaz em:" - -#: installer/tazinst:910 -msgid "Configuring root and default user account:" -msgstr "Configurando conta dos usuários padrão e root:" - -#: installer/tazinst:914 -msgid "Configuring partition to be used as /home:" -msgstr "Configurando partição a ser usada com /home:" - -#: installer/tazinst:933 -msgid "Running grub-install on:" -msgstr "Executando grub-install em:" - -#: installer/tazinst:947 -msgid "Unmounting target partition:" -msgstr "Desmontando partição alvo:" - -#: installer/tazinst:953 -msgid "Unmounting:" -msgstr "Desmontando:" - -#: installer/tazinst:959 -msgid "Ejecting cdrom..." -msgstr "Ejetando cdrom..." - -#: installer/tazinst:970 -msgid "Installation complete. You can now restart (reboot)" -msgstr "Instalação completa. Você pode reiniciar (reboot)" - -#: installer/tazinst:971 installer/tazinst:1187 -msgid "from your SliTaz GNU/Linux system." -msgstr "do seu sistema SliTaz GNU/Linux." - -#: installer/tazinst:974 -msgid "Copying log files" -msgstr "Copiando arquivos de log" - -#: installer/tazinst:1009 -msgid "Preparing upgrade of SliTaz release:" -msgstr "Preparando atualização do SliTaz:" - -#: installer/tazinst:1011 -msgid "" -"This partition doesn't appear to contain a valid SliTaz system, the file: /" -"etc/slitaz-release doesn't exist." -msgstr "" -"Esta partição parece não conter um sistema SliTaz válido, o arquivo: /etc/" -"slitaz-release não existe." - -#: installer/tazinst:1126 -msgid "" -"The list of available packages on the mirror could not be downloaded. No " -"missing packages will be reinstalled now, but you can do so later by looking " -"at the following list: /var/lib/tazinst/packages-selection.diff" -msgstr "" -"A lista de pacotes disponíveis no mirror não pode ser obtida. Nenhum pacote " -"perdido será reinstalado, mas pode-se fazer isso depois mediante verificação " -"da seguinte lista: /var/lib/tazinst/packages-selection.diff" - -#: installer/tazinst:1139 -msgid "Grub update" -msgstr "Atualizando Grub" - -#: installer/tazinst:1157 -msgid "Backup /etc, /home and the packages list..." -msgstr "Backup de /etc/, /home e da lista de pacotes..." - -#: installer/tazinst:1160 -msgid "Upgrading SliTaz on:" -msgstr "Atualizando SliTaz em:" - -#: installer/tazinst:1168 -msgid "Restoring configuration files..." -msgstr "Recuperando arquivos de configuração..." - -#: installer/tazinst:1174 -msgid "Upgrading added packages..." -msgstr "Atualizando pacotes adicionados..." - -#: installer/tazinst:1186 -msgid "Upgrade finished. You can now restart (reboot)" -msgstr "Atualização terminada. Você pode reiniciar (reboot)" - -#: installer/tazinst:1188 -msgid "Packages on the cdrom :" -msgstr "Pacotes no cdrom :" - -#: installer/tazinst:1189 -msgid "Packages installed from the mirror :" -msgstr "Pacotes instalados a partir do mirror :" - -#: installer/tazinst:1233 -msgid "Unknown url shortcut" -msgstr "URL desconhecida" diff -r e8cb58647552 -r 81f961f39b06 po/tazinst/tazinst.pot --- a/po/tazinst/tazinst.pot Sun Feb 17 12:58:55 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,327 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: Tazinst\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-07-01 20:20+0000\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#: installer/tazinst:51 -msgid "Tazinst - SliTaz installer - Version" -msgstr "" - -#: installer/tazinst:53 -msgid "Usage" -msgstr "" - -#: installer/tazinst:53 -msgid "tazinst [command] [setup-file|url-shortcut]" -msgstr "" - -#: installer/tazinst:55 -msgid "Commands" -msgstr "" - -#: installer/tazinst:56 -msgid "Print this short usage." -msgstr "" - -#: installer/tazinst:57 -msgid "Install SliTaz on HDD using setup file contents." -msgstr "" - -#: installer/tazinst:58 -msgid "Upgrade SliTaz on HDD using setup file contents." -msgstr "" - -#: installer/tazinst:59 -msgid "Create a new setup file." -msgstr "" - -#: installer/tazinst:60 -msgid "Check validity of settings in a setup file." -msgstr "" - -#: installer/tazinst:61 -msgid "Show full URL of a predefined shortcut (stable|cooking|rolling)." -msgstr "" - -#: installer/tazinst:62 -msgid "Display log file contents and exit." -msgstr "" - -#: installer/tazinst:63 -msgid "Print version and exit." -msgstr "" - -#: installer/tazinst:83 -msgid "Error" -msgstr "" - -#: installer/tazinst:91 -msgid "Warning:" -msgstr "" - -#: installer/tazinst:119 -msgid "Can't write setup file" -msgstr "" - -#: installer/tazinst:176 -msgid "created." -msgstr "" - -#: installer/tazinst:178 installer/tazinst:226 -msgid "Setup file not found" -msgstr "" - -#: installer/tazinst:192 -msgid "Another instance of tazinst is running." -msgstr "" - -#: installer/tazinst:224 -msgid "Unable to read setup file" -msgstr "" - -#: installer/tazinst:229 -msgid "No setup file provided" -msgstr "" - -#: installer/tazinst:260 -msgid "Unknown install mode" -msgstr "" - -#: installer/tazinst:269 -msgid "No source file provided" -msgstr "" - -#: installer/tazinst:271 -msgid "Unknown source type" -msgstr "" - -#: installer/tazinst:285 -msgid "Source file not found" -msgstr "" - -#: installer/tazinst:289 -msgid "URL not found" -msgstr "" - -#: installer/tazinst:300 -msgid "Partition for / not found" -msgstr "" - -#: installer/tazinst:303 -msgid "Target and source partitions should be different" -msgstr "" - -#: installer/tazinst:315 installer/tazinst:346 -msgid "is not installed" -msgstr "" - -#: installer/tazinst:317 -msgid "Unknown filesystem (/)" -msgstr "" - -#: installer/tazinst:327 -msgid "Partition for /home not found" -msgstr "" - -#: installer/tazinst:330 -msgid "/home and source partitions should be different" -msgstr "" - -#: installer/tazinst:333 -msgid "/ and /home partitions should be different" -msgstr "" - -#: installer/tazinst:348 -msgid "Unknown filesystem (/home)" -msgstr "" - -#: installer/tazinst:354 -msgid "Bootloader (grub): Invalid settings" -msgstr "" - -#: installer/tazinst:362 -msgid "Windows Dual-Boot: Invalid settings" -msgstr "" - -#: installer/tazinst:373 -msgid "" -"You must be the root user (system administrator) to install SliTaz, please " -"use 'su' to get a root SHell and restart installation." -msgstr "" - -#: installer/tazinst:390 -msgid "Mount failed" -msgstr "" - -#: installer/tazinst:409 -msgid "Failed to mount USB device" -msgstr "" - -#: installer/tazinst:422 -msgid "md5sum mismatch, file corrupted" -msgstr "" - -#: installer/tazinst:424 -msgid "md5 file not found, unable to check integrity." -msgstr "" - -#: installer/tazinst:431 -msgid "Failed to mount ISO." -msgstr "" - -#: installer/tazinst:443 installer/tazinst:447 -msgid "File download failed." -msgstr "" - -#: installer/tazinst:461 -msgid "Web boot files not found" -msgstr "" - -#: installer/tazinst:484 installer/tazinst:557 installer/tazinst:656 -#: installer/tazinst:691 installer/tazinst:759 installer/tazinst:1019 -#: installer/tazinst:1111 installer/tazinst:1152 -msgid "Internal" -msgstr "" - -#: installer/tazinst:491 -msgid "Invalid source" -msgstr "" - -#: installer/tazinst:507 installer/tazinst:991 -msgid "Partition in use" -msgstr "" - -#: installer/tazinst:521 -msgid "Formatting / partition:" -msgstr "" - -#: installer/tazinst:533 -msgid "Formatting /home partition:" -msgstr "" - -#: installer/tazinst:546 installer/tazinst:1000 -msgid "Unable to mount partition" -msgstr "" - -#: installer/tazinst:586 -msgid "Kernel name not found, falling back to:" -msgstr "" - -#: installer/tazinst:706 -msgid "Configuring host name:" -msgstr "" - -#: installer/tazinst:814 -msgid "No windows partition found. Dual-boot disabled" -msgstr "" - -#: installer/tazinst:870 -msgid "Enabling Windows dual-boot" -msgstr "" - -#: installer/tazinst:891 -msgid "Installing SliTaz on:" -msgstr "" - -#: installer/tazinst:910 -msgid "Configuring root and default user account:" -msgstr "" - -#: installer/tazinst:914 -msgid "Configuring partition to be used as /home:" -msgstr "" - -#: installer/tazinst:933 -msgid "Running grub-install on:" -msgstr "" - -#: installer/tazinst:947 -msgid "Unmounting target partition:" -msgstr "" - -#: installer/tazinst:953 -msgid "Unmounting:" -msgstr "" - -#: installer/tazinst:959 -msgid "Ejecting cdrom..." -msgstr "" - -#: installer/tazinst:970 -msgid "Installation complete. You can now restart (reboot)" -msgstr "" - -#: installer/tazinst:971 installer/tazinst:1187 -msgid "from your SliTaz GNU/Linux system." -msgstr "" - -#: installer/tazinst:974 -msgid "Copying log files" -msgstr "" - -#: installer/tazinst:1009 -msgid "Preparing upgrade of SliTaz release:" -msgstr "" - -#: installer/tazinst:1011 -msgid "" -"This partition doesn't appear to contain a valid SliTaz system, the file: /" -"etc/slitaz-release doesn't exist." -msgstr "" - -#: installer/tazinst:1126 -msgid "" -"The list of available packages on the mirror could not be downloaded. No " -"missing packages will be reinstalled now, but you can do so later by looking " -"at the following list: /var/lib/tazinst/packages-selection.diff" -msgstr "" - -#: installer/tazinst:1139 -msgid "Grub update" -msgstr "" - -#: installer/tazinst:1157 -msgid "Backup /etc, /home and the packages list..." -msgstr "" - -#: installer/tazinst:1160 -msgid "Upgrading SliTaz on:" -msgstr "" - -#: installer/tazinst:1168 -msgid "Restoring configuration files..." -msgstr "" - -#: installer/tazinst:1174 -msgid "Upgrading added packages..." -msgstr "" - -#: installer/tazinst:1186 -msgid "Upgrade finished. You can now restart (reboot)" -msgstr "" - -#: installer/tazinst:1188 -msgid "Packages on the cdrom :" -msgstr "" - -#: installer/tazinst:1189 -msgid "Packages installed from the mirror :" -msgstr "" - -#: installer/tazinst:1233 -msgid "Unknown url shortcut" -msgstr ""