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

Re: Installation report on CDROM-less machine



On Fri, Dec 12, 2003 at 04:03:05PM +0800, Cameron Patrick wrote:

| About the only odd thing that I noticed was that it tried to download
| each package four times

This seems to be because busybox wget doesn't write any progress output
to stderr for debootstrap to read; debootstrap interprets this as wget
failing to download, so it retries again and again.

Delving into the source of busybox-cvs 20030926-2.1, there are a whole
bunch of busybox config files, some of which have WGET_STATUSBAR and
some of which don't.

- config-deb and config-static both have it, but they aren't used for d-i
- config-net-udeb-* and config-udeb-i386 have the status bar disabled,
  but AFAICT no binaries are ever built from them anyway
- config-udeb and config-udeb-linux have the status bar enabled
- config-udeb-linux-i386 has the status bar disabled for some reason;
  this is the one that I noticed

The attached patch /should/ fix this, although I haven't tested it
thoroughly.

It also seems that busybox-cvs doesn't build properly; gcc choked on
fdisk.c:
	util-linux/fdisk.c: In function `get_geometry':
	util-linux/fdisk.c:4060: error: subscripted value is neither array nor pointer
The line in question doesn't seem to contain any kind of array
subscript, so I've no idea what's causing this.

Cameron.

--- config-udeb-linux-i386.old	2003-12-12 16:58:20.000000000 +0800
+++ config-udeb-linux-i386	2003-12-12 17:06:00.000000000 +0800
@@ -307,7 +307,7 @@
 # CONFIG_TRACEROUTE is not set
 # CONFIG_VCONFIG is not set
 CONFIG_WGET=y
-# CONFIG_FEATURE_WGET_STATUSBAR is not set
+CONFIG_FEATURE_WGET_STATUSBAR=y
 CONFIG_FEATURE_WGET_AUTHENTICATION=y
 # CONFIG_FEATURE_WGET_IP6_LITERAL is not set
 

Reply to: