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

PATCH: Re: dpkg-reconfigure base-config

On Wed, Jun 06, 2001 at 07:01:50PM -0400, Joey Hess wrote:
> Richard Hirst wrote:
> > and when I reboot the system I get T0 respawning too fast from init.
> > Rebooted with init=/bin/sh, renamed inittab.real to inittab, rebooted,
> > logged in, and I find that "/usr/sbin/dpkg-reconfigure base-config"
> > just pauses for a short while and returns to the prompt.
> Then you mist have base-config 1.0 installed. See the change I committed
> to the inittab earlier today to use the new command, which is just
> /usr/sbin/base-config.

Yes, I had base-config 1.0.  Picked up your change to inittab, and now
have a problem with the editting of inittab for serial consoles.
Fix below.

base-config now runs and I selected an http source for APT.  Unfortunately
it chose to go for 'stable' without asking.  I want unstable, for hppa.
I installed kernel+modules and base system from an unstable tree on a
local http server.

I'm guessing that is because of the following line in base-config/apt-setup
specifying 'low':

                db_input low apt-setup/distribution || true

Anyway, the patch for editting inittab:

--- boot-floppies/utilities/dbootstrap/baseconfig.c	Mon May 14 17:45:00 2001
+++ boot-floppies/utilities/dbootstrap/baseconfig.c.new	Thu Jun  7 20:52:10 2001
@@ -154,7 +154,7 @@
 	    " -e "
-	    "s/^#\\(T%d:.\\+dpkg-reconfigure.*\\)/\\1/; "
+	    "s/^#\\(T%d:.\\+base-config.*\\)/\\1/; "
 	    "< %s > %s",

Reply to: