From owner-freebsd-questions@FreeBSD.ORG Thu Jul 1 11:22:54 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 C662D1065670 for ; Thu, 1 Jul 2010 11:22:54 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 70C678FC0A for ; Thu, 1 Jul 2010 11:22:54 +0000 (UTC) Received: by vws6 with SMTP id 6so1365232vws.13 for ; Thu, 01 Jul 2010 04:22:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=efFd4dAJHvngHon1Qv3HdSC420WleFfOC47j+RfJbCg=; b=TJXimziBOqvB5r95qGrPNrKI6vUoYqlcHqsmNW82SUL+9yllYsKFOem8jdbbR9lfWH jVFlmqYIKlDn37bu1JOl1SNLXWUWX2oXyqClx/bJiPVbpoLgS4bkI2Lp/vbKv89hj8dS tl73hTqpy9QdUUUbRoB9iV3essmXgqXzsp5M0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=uIx6oyFm79RklHzJXEAxt6CLtOksQxA66lY2aqAaf44JQETGWwr17vD+0zvTy3WjYO 3mAYIMeGzJ6Ehbr/r8nRChfLNuIafHr5iY1rZpNnnOC2DzCAr4Jc+hoLCO7Dv70d++rm ORQDbMRl2cfWB/bYPXkOyB78nh/fFiuZVV388= Received: by 10.220.62.206 with SMTP id y14mr5580340vch.241.1277983368138; Thu, 01 Jul 2010 04:22:48 -0700 (PDT) Received: from schism.local (173-161-130-225-Philadelphia.hfc.comcastbusiness.net [173.161.130.225]) by mx.google.com with ESMTPS id k8sm4748521vcr.6.2010.07.01.04.22.45 (version=SSLv3 cipher=RC4-MD5); Thu, 01 Jul 2010 04:22:46 -0700 (PDT) Message-ID: <4C2C7A85.1030107@gmail.com> Date: Thu, 01 Jul 2010 07:22:45 -0400 From: Glen Barber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: Anders Andersson References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading without building and without freebsd-update 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: Thu, 01 Jul 2010 11:22:54 -0000 Hi, On 7/1/10 6:48 AM, Anders Andersson wrote: > 2010/7/1 Christer Solskogen > >> I've got two FreeBSD machines on two different networks(and two >> different locations). One of them is as fast machine (i7-920) while >> the other one is a Intel Atom. How can I build on the fast machine and >> use those binaries on the slow one, without mounting /usr/obj using >> nfs? first I was thinking about creating a dump file on the fast >> machine and extract that on the slow, but that wont work on a >> filesystem that is already populated. Would a tarfile work? (how about >> /libexec/ld-elf.so.1?) >> >> -- >> chs, >> > > Hello! > > I can provide some help at least. I found the page > http://onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html which says that > "make package" creates tgz packages which you can copy over to the slow > machine and use pkg_add to install. > This works for ports. The OP is asking about the base system. > Commands that "might" be intresting to read about: > make fetch > portinstall > > As I am quiet new to this as well, lets hope someone else can explain how to > extract all packages easily (make package seems to work on one single > package, portinstall has an option for making packages as it works through > the build process whihc can be handy to create all dependencies in one go) > and what to think about when building for different architectures (if that > is necessary). > You could use 'make package-recursive', or have a look at ports-mgmt/tinderbox, which does this by default. Regards, -- Glen Barber