Date: Mon, 25 Sep 2000 13:23:07 -0700 (PDT) From: "Jordan K. Hubbard" <jkh@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/release/sysinstall http.c media.c sysinstall.h Message-ID: <200009252023.NAA51837@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jkh 2000/09/25 13:23:07 PDT
Modified files: (Branch: RELENG_4)
release/sysinstall http.c media.c sysinstall.h
Log:
MFC: [and I'll take the opportunity to put a more informative commit message
into this one from the PR]
1) Installing via HTTP proxy ( mediaSetHTTP() ) relies on mediaSetFTP().
It's broken right now because the method of looking up the correct
directory on the FTP server was changed in version 1.39 of ftp.c.
This has to be changed in http.c, too. I only look for one path
(pub/FreeBSD/releases/MACHINE), though.
2) The issue that the FTP server's name should be resolved by the proxy:
The current fix unsets VAR_NAMESERVER before calling mediaSetFTP().
But in a normal install, the network hasn't been set up at this
time. Therefore, mediaSetFTP() will call tcpDeviceSelect() which
sets VAR_NAMESERVER. Therefore the unwanted lookup takes place.
PR: 21449
Submitted by: Philipp Mergenthaler <p@i609.hadiko.de>
Revision Changes Path
1.2.2.2 +30 -7 src/release/sysinstall/http.c
1.107.2.4 +9 -8 src/release/sysinstall/media.c
1.186.2.10 +2 -1 src/release/sysinstall/sysinstall.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009252023.NAA51837>
