[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debootstrap: option to install locales packages with the base stuff



Package: debootstrap
Version: 0.1.16.1
Severity: wishlist

Hello,

I would like to see the attached patch included into debootstrap. The
idea is: if you set a environment variable, it will install the locales
package (and depending debconf package). 

My plan is: the i18n enabled boot floppies call debootstrap with this
environment, so locales are installed with the simplest configuration.
Then we preset it's debconf settings to generate localisation files for
the currently used locales (on boot floppies) and set this locale as
default.

After the installation, when base-config will (as first) first force the
reconfiguration of debconf, then ask whether the user wishes to change
the localisation settings and reconfigure locales pacakge.

Another thing in this patch is pppoeconf. This could be enabled in
base-config as alternative to pppconfig, since it configures DSL
connection (what pppconfig does not) and is much simpler to use. And it
has only 15kB size.

Gruss/Regards,
Eduard.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux zombie 2.4.17-bf2.4 #2 Son Jan 27 17:06:26 CET 2002 i686
Locale: LANG=de_DE, LC_CTYPE=de_DE@euro

Versions of packages debootstrap depends on:
ii  libc6                         2.2.5-1    GNU C Library: Shared libraries an
ii  wget                          1.7-3      utility to retrieve files from the

-- 
>Actually, Microsoft is sort of a mixture between the Borg and the Ferengi.
Das stimmt so nicht - die Borg wissen wenigstens, wie ein Netzwerk
auszusehen hat.
--- woody.orig	Sun Jan 27 19:04:38 2002
+++ woody	Sun Jan 27 19:08:37 2002
@@ -5,13 +5,17 @@
 
     required="base-files base-passwd bash bsdutils debconf debianutils diff dpkg e2fsprogs fileutils findutils grep gzip hostname libcap1 libc6 libdb2 libdb3 libgdbmg1 libncurses5 libnewt0 libpam-modules libpam-runtime libpam0g libperl5.6 libpopt0 libreadline4 libstdc++2.10-glibc2.2 login makedev mawk modutils mount ncurses-base ncurses-bin passwd perl-base procps sed shellutils slang1 sysvinit tar textutils util-linux whiptail"
 
-    base="adduser apt apt-utils at base-config bsdmainutils console-common console-tools console-tools-libs console-data cpio cron dhcp-client ed exim fdutils gettext-base groff-base ifupdown info ipchains klogd libident libldap2 liblockfile1 libpcre3 libsasl7 libwrap0 logrotate mailx man-db manpages modconf nano net-tools netbase netkit-inetd netkit-ping nvi ppp pppconfig pppoe libpcap0 sysklogd tasksel tcpd telnet"
+    base="adduser apt apt-utils at base-config bsdmainutils console-common console-tools console-tools-libs console-data cpio cron dhcp-client ed exim fdutils gettext-base groff-base ifupdown info ipchains klogd libident libldap2 liblockfile1 libpcre3 libsasl7 libwrap0 logrotate mailx man-db manpages modconf nano net-tools netbase netkit-inetd netkit-ping nvi ppp pppconfig pppoe pppoeconf libpcap0 sysklogd tasksel tcpd telnet"
 
     without_package () {
         echo "$2" | tr ' ' '\n' | grep -v "^$1$" | tr '\n' ' '
     }
 
     LIBC6=libc6
+
+    if [ -n $install_locales ] ; then
+       base="$base locales debconf"
+    fi
 
     case $ARCH in
         "alpha")

Reply to: