From owner-freebsd-questions@FreeBSD.ORG Thu Mar 4 15:41:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84095106564A for ; Thu, 4 Mar 2010 15:41:43 +0000 (UTC) (envelope-from westr@connection.ca) Received: from nc-tor-mail2.connection.ca (nc-tor-mail2.connection.ca [205.207.122.27]) by mx1.freebsd.org (Postfix) with ESMTP id 636218FC15 for ; Thu, 4 Mar 2010 15:41:43 +0000 (UTC) Received: from westr-main.tor.connection.ca (external.tor.connection.ca [216.234.38.18]) by nc-tor-mail2.connection.ca (Postfix) with ESMTP id A2B3274E597; Thu, 4 Mar 2010 10:41:42 -0500 (EST) Date: Thu, 4 Mar 2010 10:41:42 -0500 From: Ross Organization: Network Connection X-Priority: 3 (Normal) Message-ID: <353224805.20100304104142@connection.ca> To: don Juan In-Reply-To: <2c16b4711002240651q5ac2128fl19010e8bec39bfd9@mail.gmail.com> References: <2c16b4711002240651q5ac2128fl19010e8bec39bfd9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: install.cfg for Documentation Installation Menu on 8.0-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ross List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2010 15:41:43 -0000 dJ> What come up with 8.0-RELEASE is the new FreeBSD dJ> Documentation Installation Menu in sysinstall. I would like to know dJ> what command for install.cfg to configure my installation with, say, dJ> English Documentation. It's undocumented (and breaks non-interactive installs) so I ended up going through the source to find the answer for myself a while ago. The option you want is: distDoc=#### Where the #### is a bitfield for which versions of the doc packages you want installed. Also the bitfield must be in _decimal_, not 0x## format, or it won't correctly select what you want. You need to view version 1.75 or higher of dist.h (from sysinstall's source) to get the full listing. URL: http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/sysinstall/dist.h?rev=1.75.2.1.2.1;content-type=text%2Fplain 0 (zero) disables installation. 16 is english. *** WARNING/RANT: If you use any of the "distSetxxxxxx" (eg: distSetKernDeveloper) options to select what to install, it doesn't matter what you've selected above - you _will_ be prompted with a menu to select a doc package upon running sysinstall. (Those options reset distDoc option above). Non-interactive sysinstall is effectively broken in FreeBSD 8.0 distribution disks. (There is a way around it, but it's a pain in the butt) That being said: sysinstall has been patched in source last month (Feb 2010), so should be good for 8.1, with the default of no docs installed if "nonInteractive=yes" is set in your sysinstall.cfg file. R. --