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

Bug#177459: does not set SUITE



Package: prebaseconfig
Version: 0.019
Tags: patch

SUITE should be set to the value of mirror/distribution in
/root/dbootstrap_settings.  Else, base-config configures apt to
use woody.

Matt

--- tools/prebaseconfig/prebaseconfig.d/90prepare-base-config.orig	2003-01-19 18:22:53.000000000 -0800
+++ tools/prebaseconfig/prebaseconfig.d/90prepare-base-config	2003-01-19 18:23:41.000000000 -0800
@@ -10,6 +10,10 @@
     LANG_INST="$RET"
 fi
 
+if db_get mirror/distribution && [ "$RET" ] ; then
+    SUITE="$RET"
+fi
+
 # Look in /proc/cmdline for console=ttyS*, indicating a serial console
 # and fix inittab if so.
 console=$( echo " " $( cat /proc/cmdline ) " " | sed -n 's/^.* console=\([^ ]*\) .*$/\1/p' )
@@ -38,5 +42,5 @@
 cp /usr/share/prebaseconfig/inittab /target/etc/inittab
 (
     echo LANG_INST="$LANG_INST"
+    echo SUITE="$SUITE"
 ) >> /target/root/dbootstrap_settings
-



Reply to: