From owner-freebsd-current@FreeBSD.ORG Tue Oct 8 22:04:42 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5FD718B4 for ; Tue, 8 Oct 2013 22:04:42 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [IPv6:2607:fc50:1000:8200::42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 352C625CA for ; Tue, 8 Oct 2013 22:04:42 +0000 (UTC) Received: from [192.168.42.129] (d66-183-220-167.bchsia.telus.net [66.183.220.167] (may be forged)) (authenticated bits=0) by orthanc.ca (8.14.6/8.14.6) with ESMTP id r98M4ceW036677 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 8 Oct 2013 15:04:40 -0700 (PDT) (envelope-from lyndon@orthanc.ca) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: rcs From: Lyndon Nerenberg In-Reply-To: Date: Tue, 8 Oct 2013 15:04:37 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <316CC412-A884-4E23-95D5-8565872FC844@orthanc.ca> References: <77307DF8-637D-4295-BF47-8742F1552CE8@orthanc.ca> <20131008031517.GA31864@troutmask.apl.washington.edu> <60177810-8DC4-4EA3-8040-A834B79039D2@orthanc.ca> <52538EDC.2080001@freebsd.org> <52541202.3010707@mu.org> To: Freddie Cash X-Mailer: Apple Mail (2.1510) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2013 22:04:42 -0000 On 2013-10-08, at 11:17 AM, Freddie Cash wrote: > =E2=80=8BI haven't kept up-to-date with all the developments, but = isn't this part of the bsdinstall/pkgng plan? Once the pkgng repos are = all available and populated, then bsdinstall will be able to install = packages from there during the install. And, isn't that part of the = plan for the DVD installers, to include an "installer repo" for off-line = installs? >=20 > IOW, theoretically, one could just download the 10.0 DVD, boot, = install the base, browse the repo on the DVD, select items to install, = install, reboot, and be finished. Without ever needing to touch an = Internet connection until after rebooting into FreeBSD, if it's even = needed at all. The big issue here is having access to the distfiles. We rarely, if = ever, install pre-compiled packages, because we don't know how they have = been configured. Quite often the packages are built with features or = dependencies we don't want, or are built without features we *do* want. = Instead, we configure and compile the port according to our = requirements, then build a package from that for internal use. For this to work in a disconnected environment, you need a ports tree = with a fully populated distfiles/ directory. The hack we came up with = was to put a FreeBSD host on the external network, on which we ran a = script once a week or so that would do the something like 'portsnap = fetch update; portsclean -DD; for in in /usr/ports/*/*; (cd $i && make = fetch); done'. That would give us a (mostly) populated /usr/ports/distfiles. We would = then rsync /usr/ports from the public machine onto a USB drive. That = drive would then be disconnected from the public machine and attached to = an internal file server, and its /usr/ports rsynced to the file server's = /usr/ports. Not pretty, but it got the job done. But that /usr/ports tree is way = too big to fit on a DVD. In fact, it might even be too large for a = BD-ROM. (I don't have access to the file server right now to check.) --lyndon