* Add Minimal (core) installation, consisting of a kernel, base + etc
* Fixup all of the German translations.
This commit is contained in:
parent
225449e795
commit
042bbb2bb1
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: defs.h,v 1.130 2006/06/10 14:48:46 dsl Exp $ */
|
||||
/* $NetBSD: defs.h,v 1.131 2006/09/04 02:20:40 hubertf Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -133,8 +133,10 @@ enum {
|
||||
/* All kernels */
|
||||
#define SET_KERNEL SET_KERNEL_1, SET_KERNEL_2, SET_KERNEL_3, SET_KERNEL_4, \
|
||||
SET_KERNEL_5, SET_KERNEL_6, SET_KERNEL_7, SET_KERNEL_8
|
||||
/* Core system sets */
|
||||
#define SET_CORE SET_BASE, SET_ETC
|
||||
/* All system sets */
|
||||
#define SET_SYSTEM SET_BASE, SET_ETC, SET_COMPILER, SET_GAMES, \
|
||||
#define SET_SYSTEM SET_CORE, SET_COMPILER, SET_GAMES, \
|
||||
SET_MAN_PAGES, SET_MISC, SET_TEXT_TOOLS
|
||||
/* All X11 sets */
|
||||
#define SET_X11_NOSERVERS SET_X11_BASE, SET_X11_FONTS, SET_X11_PROG, SET_X11_ETC
|
||||
@ -397,7 +399,7 @@ int check_partitions(void);
|
||||
void set_sizemultname_cyl(void);
|
||||
void set_sizemultname_meg(void);
|
||||
int check_lfs_progs(void);
|
||||
void init_set_status(void);
|
||||
void init_set_status(int);
|
||||
void customise_sets(void);
|
||||
void umount_mnt2(void);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: menus.mi,v 1.27 2006/02/26 10:25:52 dsl Exp $ */
|
||||
/* $NetBSD: menus.mi,v 1.28 2006/09/04 02:20:40 hubertf Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2003 The NetBSD Foundation, Inc.
|
||||
@ -234,9 +234,10 @@ menu distmedium, title MSG_Select_medium, y=-5;
|
||||
option MSG_Abandon, exit, action { *(int *)arg = SET_ABANDON; };
|
||||
|
||||
menu distset, title MSG_Select_your_distribution;
|
||||
display action { init_set_status(); msg_display (MSG_distset); };
|
||||
option MSG_Full_installation, exit;
|
||||
option MSG_Custom_installation, exit, action { customise_sets(); };
|
||||
display action { msg_display (MSG_distset); };
|
||||
option MSG_Full_installation, exit, action { init_set_status(0); };
|
||||
option MSG_Minimal_installation, exit, action { init_set_status(1); };
|
||||
option MSG_Custom_installation, exit, action { };
|
||||
|
||||
menu ftpsource, y=-4, x=0, w=70, no box, no clear,
|
||||
exitstring MSG_Get_Distribution;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: msg.mi.de,v 1.32 2006/07/21 14:04:26 martin Exp $ */
|
||||
/* $NetBSD: msg.mi.de,v 1.33 2006/09/04 02:20:40 hubertf Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -428,17 +428,17 @@ mehrere Optionen.
|
||||
Für FTP oder NFS müssen Sie mit einem Netzwerk verbunden sein und
|
||||
Zugriff auf die entsprechenden Server haben.
|
||||
|
||||
Sets selected %d, processed %d. Next set %s.
|
||||
Insgesamt %d Pakete ausgewählt, %d installiert. Nächstes set: %s.
|
||||
|
||||
} /* XXX translate last line */
|
||||
}
|
||||
|
||||
message distset
|
||||
{Die NetBSD Distribution ist in verschiedene Pakete aufgeteilt.
|
||||
{Die NetBSD Distribution ist in verschiedene Pakete (Sets) aufgeteilt.
|
||||
Es gibt einige grundlegende Pakete, die auf jeden Fall benötigt werden,
|
||||
sowie optionale.
|
||||
Es bleibt Ihnen überlassen, ob Sie alle Pakete (volle Installation)
|
||||
installieren möchten oder bei den optionalen doch lieber einige auslassen
|
||||
wollen.
|
||||
Es bleibt Ihnen überlassen ein Basissystem (Minimale Installation) oder
|
||||
alle Pakete (volle Installation) zu installieren bzw. einen benutzer-
|
||||
definierten Satz auswählen möchten.
|
||||
}
|
||||
|
||||
message ftpsource
|
||||
@ -460,9 +460,10 @@ finden ist.
|
||||
|
||||
}
|
||||
|
||||
message floppysource /* XXX translate */
|
||||
{Enter the floppy device to be used and transfer directory on the target
|
||||
filesystem. The set files must be in the root directory of the floppies.
|
||||
message floppysource
|
||||
{Geben Sie das Floppylaufwerk und das Transfer-Verzeichnis auf dem
|
||||
Zielfilesystem an. Das Installationspaket muß direkt im obersten
|
||||
Verzeichnis der Floppy liegen.
|
||||
|
||||
}
|
||||
|
||||
@ -600,8 +601,8 @@ message realdir
|
||||
{Konnte nicht in das Verzeichnis %s: %s wechseln. Installation abgebrochen.
|
||||
}
|
||||
|
||||
message delete_xfer_file /* XXX translate */
|
||||
{Delete after install}
|
||||
message delete_xfer_file
|
||||
{Nach der Installation löschen}
|
||||
|
||||
message verboseextract
|
||||
{
|
||||
@ -712,10 +713,10 @@ message badroot
|
||||
Sind Sie sicher, daß Sie alle benötigten Sets installiert haben?
|
||||
}
|
||||
|
||||
message fd_type /* XXX translate */
|
||||
{Floppy file system type}
|
||||
message fd_type
|
||||
{Floppy Dateisystem-Typ}
|
||||
|
||||
message fdnotfound /* XXX fix translation */
|
||||
message fdnotfound
|
||||
{Ich konnte die Datei nicht finden.
|
||||
}
|
||||
|
||||
@ -723,11 +724,13 @@ message fdremount
|
||||
{Die Diskette konnte nicht gemountet werden.
|
||||
}
|
||||
|
||||
message fdmount /* XXX translate */
|
||||
{Please load the floppy containing the file named "%s.%s".
|
||||
message fdmount
|
||||
{Bitte legen Sie die Diskette mit der Datei "%s.%s" ein.
|
||||
|
||||
If the set's has no more disks, select "Set finished" to install the set.
|
||||
Select "Abort fetch" to return to the install media selection menu.
|
||||
Falls das Paket keine weiteren Disketten enthält so wählen Sie
|
||||
"Paket fertig" um das Paket zu installieren. Wählen Sie
|
||||
"Holen abbrechen" um zur Auswahl des Installationsmediums
|
||||
zurückzukehren.
|
||||
}
|
||||
|
||||
.if 0
|
||||
@ -947,6 +950,7 @@ message local_fs {Ungemountetes Dateisysytem}
|
||||
message local_dir {Lokales Verzeichnis}
|
||||
message Select_your_distribution {Wählen Sie Ihre Pakete}
|
||||
message Full_installation {Volle Installation}
|
||||
message Minimal_installation {Minimale Installation}
|
||||
message Custom_installation {Benutzerdefinierte Installation}
|
||||
message hidden {** versteckt **}
|
||||
message Host {Host}
|
||||
@ -961,10 +965,10 @@ message Continue {Weiter}
|
||||
message What_do_you_want_to_do {Was möchten Sie tun?}
|
||||
message Try_again {Versuchen Sie es erneut}
|
||||
message Set_finished {Paket fertig}
|
||||
message Skip_set {Paket skip} /* XXX */
|
||||
message Skip_group {Paket skip group} /* XXX */
|
||||
message Abandon {Abandon installation} /* XXX */
|
||||
message Abort_fetch {Abort fetch} /* XXX */
|
||||
message Skip_set {Paket überspringen}
|
||||
message Skip_group {Paketgruppe überspringen}
|
||||
message Abandon {Installation abbrechen}
|
||||
message Abort_fetch {Holen abbrechen}
|
||||
message Password_cipher {Passwort Verschlüsselungsverfahren}
|
||||
message DES {DES}
|
||||
message MD5 {MD5}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: msg.mi.en,v 1.145 2006/02/26 10:25:52 dsl Exp $ */
|
||||
/* $NetBSD: msg.mi.en,v 1.146 2006/09/04 02:20:40 hubertf Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -424,9 +424,9 @@ message distset
|
||||
{The NetBSD distribution is broken into a collection of distribution
|
||||
sets. There are some basic sets that are needed by all installations
|
||||
and there are some other sets that are not needed by all installations.
|
||||
You may choose to install all of them (Full installation) or you
|
||||
select from the optional distribution sets.
|
||||
}
|
||||
You may choose to install a core set (Minimal installation), all of them
|
||||
(Full installation) or you select from the optional distribution sets.
|
||||
} /* XXX add 'minimal installation' */
|
||||
|
||||
message ftpsource
|
||||
{The following are the %s site, directory, user, and password that
|
||||
@ -895,6 +895,7 @@ message local_fs {Unmounted fs}
|
||||
message local_dir {Local directory}
|
||||
message Select_your_distribution {Select your distribution}
|
||||
message Full_installation {Full installation}
|
||||
message Minimal_installation {Minimal installation}
|
||||
message Custom_installation {Custom installation}
|
||||
message hidden {** hidden **}
|
||||
message Host {Host}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: msg.mi.es,v 1.15 2006/02/26 10:25:52 dsl Exp $ */
|
||||
/* $NetBSD: msg.mi.es,v 1.16 2006/09/04 02:20:40 hubertf Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -434,7 +434,7 @@ distribuci
|
||||
las instalaciones, y otros conjuntos que no son necesarios para todas las
|
||||
instalaciones. Puede escoger para instalar todos ellos (Instalación
|
||||
completa) o seleccionar de entre los conjuntos de distribución opcionales.
|
||||
}
|
||||
} /* XXX add 'minimal installation' */
|
||||
|
||||
message ftpsource
|
||||
{Lo siguiente son el sitio %s, directorio, usuario y contraseña que se
|
||||
@ -915,6 +915,7 @@ message local_fs {Sistema de ficheros desmontado}
|
||||
message local_dir {Directorio Local}
|
||||
message Select_your_distribution {Seleccione su distribución}
|
||||
message Full_installation {Instalación completa}
|
||||
message Minimal_installation {Instalación mínima}
|
||||
message Custom_installation {Instalación personalizada}
|
||||
message hidden {** oculto **}
|
||||
message Host {Máquina}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: msg.mi.fr,v 1.94 2006/02/26 10:25:52 dsl Exp $ */
|
||||
/* $NetBSD: msg.mi.fr,v 1.95 2006/09/04 02:20:40 hubertf Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -425,7 +425,7 @@ Certains sont imp
|
||||
Vous pouvez choisir de les installer tous
|
||||
(Installation complète) ou bien d'installer séparément les
|
||||
composants optionnels.
|
||||
}
|
||||
} /* XXX add 'minimal installation' */
|
||||
|
||||
message ftpsource
|
||||
{Vous trouverez ci dessous le site %s, le répertoire, le code utilisateur
|
||||
@ -918,6 +918,7 @@ message local_fs {Systeme de fichier non-mont
|
||||
message local_dir {Répertoire local}
|
||||
message Select_your_distribution {Sélection de la distribution}
|
||||
message Full_installation {Installation complète}
|
||||
message Minimal_installation {Installation minimale}
|
||||
message Custom_installation {Installation personnalisée}
|
||||
message hidden {** caché **}
|
||||
message Host {Serveur ftp}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: msg.mi.pl,v 1.55 2006/02/26 10:25:52 dsl Exp $ */
|
||||
/* $NetBSD: msg.mi.pl,v 1.56 2006/09/04 02:20:40 hubertf Exp $ */
|
||||
/* Based on english version: */
|
||||
/* NetBSD: msg.mi.pl,v 1.36 2004/04/17 18:55:35 atatat Exp */
|
||||
|
||||
@ -416,7 +416,7 @@ message distset
|
||||
Czesc z nich to pakiety podstawowe wymagane przez wszystkie instalacje,
|
||||
a czesc nie jest przez wszystkie wymagana. Mozesz zainstalowac je
|
||||
wszystkie (Pelna instalacja) lub wybrac z opcjonalnych pakietow.
|
||||
}
|
||||
} /* XXX add 'minimal installation' */
|
||||
|
||||
message ftpsource
|
||||
{Ponizej masz site %s, katalog, uzytkownika, oraz haslo gotowe do uzycia.
|
||||
@ -882,6 +882,7 @@ message local_fs {Niezamontowany SP}
|
||||
message local_dir {Lokalny katalog}
|
||||
message Select_your_distribution {Wybierz swoja dystrybucje}
|
||||
message Full_installation {Pelna instalacja}
|
||||
message Minimal_installation {Minimalna instalacja}
|
||||
message Custom_installation {Inna instalacja}
|
||||
message hidden {** ukryte **}
|
||||
message Host {Host}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: util.c,v 1.144 2006/09/03 23:54:02 hubertf Exp $ */
|
||||
/* $NetBSD: util.c,v 1.145 2006/09/04 02:20:40 hubertf Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -57,6 +57,9 @@
|
||||
#ifndef MD_SETS_SELECTED
|
||||
#define MD_SETS_SELECTED SET_KERNEL_1, SET_SYSTEM, SET_X11, SET_MD
|
||||
#endif
|
||||
#ifndef MD_SETS_SELECTED_MINIMAL
|
||||
#define MD_SETS_SELECTED_MINIMAL SET_KERNEL_1, SET_CORE
|
||||
#endif
|
||||
#ifndef MD_SETS_VALID
|
||||
#define MD_SETS_VALID SET_KERNEL, SET_SYSTEM, SET_X11, SET_MD
|
||||
#endif
|
||||
@ -145,13 +148,20 @@ distinfo dist_list[] = {
|
||||
static int check_for(unsigned int mode, const char *pathname);
|
||||
|
||||
void
|
||||
init_set_status(void)
|
||||
init_set_status(int minimal)
|
||||
{
|
||||
const static uint8_t sets_valid[] = {MD_SETS_VALID};
|
||||
const static uint8_t sets_selected[] = {MD_SETS_SELECTED};
|
||||
const static uint8_t sets_selected_full[] = {MD_SETS_SELECTED};
|
||||
const static uint8_t sets_selected_minimal[] = {MD_SETS_SELECTED_MINIMAL};
|
||||
const static uint8_t *sets_selected;
|
||||
unsigned int i, len;
|
||||
const char *longest;
|
||||
|
||||
if (minimal)
|
||||
sets_selected = sets_selected_minimal;
|
||||
else
|
||||
sets_selected = sets_selected_full;
|
||||
|
||||
for (i = 0; i < nelem(sets_valid); i++)
|
||||
set_status[sets_valid[i]] = SET_VALID;
|
||||
for (i = 0; i < nelem(sets_selected); i++)
|
||||
|
Loading…
Reference in New Issue
Block a user