Date: Mon, 28 Jul 2014 17:47:28 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 192194] New: bsdinstall ignoring BSDINSTALL_DISTSITE defined environment variable for mirrorselect Message-ID: <bug-192194-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192194 Bug ID: 192194 Summary: bsdinstall ignoring BSDINSTALL_DISTSITE defined environment variable for mirrorselect Product: Base System Version: 10.0-RELEASE Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: whatexercise+bugsfreebsdorg@gmail.com Created attachment 145081 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145081&action=edit Patch for mirrorselect to respect previously defined BSDINSTALL_DISTSITE Per bsdinstall man page for BSDINSTALL_DISTSITE: "Most targets (e.g. auto and jail) that prompt for a FreeBSD mirror will skip that step if this variable is already defined in the environment.". This is not happening and FreeBSD mirror is prompted for. To reproduce using FreeBSD 10.0 release: for sh: BSDINSTALL_DISTSITE=ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/10.0-RELEASE export BSDINSTALL_DISTSITE for csh: setenv BSDINSTALL_DISTSITE ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/10.0-RELEASE Run the command and work through the menus. bsdinstall Note how "Mirror Selection" appears. This should not happen. What should happen is for "Mirror Selection" menu not appearing and installation continues with bsdinstall fetching the required packages from the provided BSDINSTALL_DISTSITE location. Attached is a patch for mirrorselect to follow the documented behavior. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192194-8>