From owner-freebsd-questions@FreeBSD.ORG Thu Jul 1 11:14:00 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 5A9DB1065674 for ; Thu, 1 Jul 2010 11:14:00 +0000 (UTC) (envelope-from anders.freebsd@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id DB99F8FC1B for ; Thu, 1 Jul 2010 11:13:59 +0000 (UTC) Received: by ewy26 with SMTP id 26so851161ewy.13 for ; Thu, 01 Jul 2010 04:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=FPdoShZot1ppKbuh7QQCejSiLCr3Qfhf2JYBP2P5sY8=; b=hLKT65fUaTAZxOt6qCNf+0RD/2t7h9EwakMM1xaFwTLl5kTeYWtura/iLkfqrM5uaT usjPcNSh52eX1gFBx1ZpOTjlb+xb0CEBhn3FZnuMIsDfNRkaJnCDEhPRP+dCA/ucQjJf BraQYhwXooAcDW7Ms7/AEWIcZmY+mds5BxB88= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jww9Pp8dGWaY4ZPt80/hic/cf5+E9BD6LuL4Kv5q9TxmLpBPLrV+DR6K6opv2o7+Zj fMKKBf1uFvzvO0A4xB7/xr7Pg6BeefTpV3eS6fsx3iXkLwCdc8Y/LFuFlvTLjnvSJjKd Gwje8NIBH9+y7YYoCyg9QjIK1vqJg1A3XjnXw= MIME-Version: 1.0 Received: by 10.213.97.65 with SMTP id k1mr5187543ebn.44.1277981326348; Thu, 01 Jul 2010 03:48:46 -0700 (PDT) Received: by 10.216.186.18 with HTTP; Thu, 1 Jul 2010 03:48:46 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 Jul 2010 12:48:46 +0200 Message-ID: From: Anders Andersson To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:14:00 -0000 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. 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). -- Anders Andersson