From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 28 00:29:37 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4D5B1065670 for ; Sun, 28 Aug 2011 00:29:37 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id D14B68FC16 for ; Sun, 28 Aug 2011 00:29:36 +0000 (UTC) Received: from ur.dons.net.au (ppp118-210-181-105.lns20.adl6.internode.on.net [118.210.181.105]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id p7S0C4Sa087192 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 28 Aug 2011 09:42:10 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=iso-8859-1 From: "Daniel O'Connor" In-Reply-To: Date: Sun, 28 Aug 2011 09:42:04 +0930 Content-Transfer-Encoding: quoted-printable Message-Id: <556ADB48-FC69-4BC1-A1A7-28692A96196F@gsoft.com.au> References: To: Aryeh Friedman X-Mailer: Apple Mail (2.1244.3) X-Spam-Score: 2.162 (**) BAYES_00,KHOP_DYNAMIC,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: FreeBSD Mailing List , Dustyn , Steven Platt Subject: Re: best way to get distfiles added to ports.tgz during make release X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2011 00:29:37 -0000 On 28/08/2011, at 1:09, Aryeh Friedman wrote: > I have made a custom install USB drive from R/cdrom/dvd1 and pkg_add = works > fine for everything but xorg/nvidia-driver so part of the post install > script I made is "portmaster xorg/nvidia-driver" the only problem is = it then > needs to fetch the distfiles (the target install machine{s) will not = have > nic's attached)... so my questoin is whats the best way to make it so = when > sysinstall unpacks ./8.2-NHK_KIOSK/ports/ports.tgz that the distfiles = are > also unpacked? I would suggest that you don't use ports :) If you want it all ready to go then build all the packages you want and = add then in a script. Alternatively you can do what I do, and create a chroot, build all the = ports you want, then tar it up and splat it onto the destination disk = after a minimal install. That way you can tweak to your hearts content and it is considerably = faster than pkg_add. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C