From owner-freebsd-questions@FreeBSD.ORG Wed Sep 22 17:58:45 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 5806E1065673 for ; Wed, 22 Sep 2010 17:58:45 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-gw0-f72.google.com (mail-gw0-f72.google.com [74.125.83.72]) by mx1.freebsd.org (Postfix) with ESMTP id 1322C8FC12 for ; Wed, 22 Sep 2010 17:58:44 +0000 (UTC) Received: by gwaa18 with SMTP id a18so1044406gwa.7 for ; Wed, 22 Sep 2010 10:58:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.202.73 with SMTP id fd9mr212143vcb.4.1285178323462; Wed, 22 Sep 2010 10:58:43 -0700 (PDT) In-Reply-To: Message-ID: <90e6ba4fc2067170350490dce5ce@google.com> Date: Wed, 22 Sep 2010 17:58:43 +0000 From: vrwmiller@gmail.com To: Adam Vande More Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Re: Media Packages Vs. Ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2010 17:58:45 -0000 Thanks, Adam. This is most helpful. I appreciate it. On Sep 21, 2010 3:55pm, Adam Vande More wrote: > On Tue, Sep 21, 2010 at 11:41 AM, vrwmiller@gmail.com> wrote: > Hi all, > I am performing PXE boots and automated installs of FreeBSD 8.1-RELEASE > with a custom sysinstall.cfg file which identifies packages that are to > be installed in addition to the distributions. We have need to install > compat6x-amd64 and I'd like to have this done during install. > Unfortunately, it does not appear that this package exists in the FreeBSD > media from which the install occurs. However, it is available through the > ports collection. > You'll probably want to do something like this: > http://bsdbased.com/2010/03/23/freebsd-binary-package-repository-howto > FWIW, that's not the end all, be all to setting up your own package > repository just a reasonably simple method. > What is the relationship between the packages directory on the media and > the ports collection? > http://www.freebsd.org/doc/handbook/packages-using.html > Packages associated with a RELEASE also ultimately come from the ports > tree. However, those RELEASE packages come from a ports tree that was put > into slush, then frozen. This means those packages had more testing and > tweaking. > Is it possible to take a port, make a package of it and put it in the > packages directory of my own media? > Sure it's easy. When build a port you can issue a make package command, > or you can use pkg_create to create packages from installed ported. A > common approach to this is build all your updates in a jail, make > packages of them, then delete package from the host and install the newly > built ones from the jail. Very small, if any downtime. You can use the > jail to create pkg's for a custom repository too. > http://www.mail-archive.com/freebsd-questions@freebsd.org/msg228757.html > -- > Adam Vande More