From owner-freebsd-questions@FreeBSD.ORG Fri Feb 29 15:21:15 2008 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 8F70C106566C for ; Fri, 29 Feb 2008 15:21:15 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 470D38FC31 for ; Fri, 29 Feb 2008 15:21:15 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (p54A7C1E1.dip.t-dialin.net [84.167.193.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id A5CF3405B1B; Fri, 29 Feb 2008 16:21:13 +0100 (CET) Message-ID: <47C822E4.3020902@bsdforen.de> Date: Fri, 29 Feb 2008 16:21:08 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.9 (X11/20080228) MIME-Version: 1.0 To: Steve Bertrand References: <47C81ACA.5010800@ibctech.ca> In-Reply-To: <47C81ACA.5010800@ibctech.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading a removable disk installation 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: Fri, 29 Feb 2008 15:21:15 -0000 Steve Bertrand wrote: > Hi all, > > I have a couple of systems that run from USB thumb sticks. These > machines run 6.2. > > I'd like to do a typical source upgrade to 7.0 on a test machine. > > To do this, I plug the USB disk into a 'host' machine, and to save space > on the thumb drive, I csup the sources to the standard locations on the > host machine. > > My thumb drive 'OS' slice is mounted as /var/removable-os on the host > machine. > > What I am unclear about is how I go about telling buildworld etc on the > host machine. that I want to install the updates to the > /var/removable-os location, instead of the default '/'. > > I know how to do this with sysinstall, but I'm not sure if I need to put > an entry into /etc/make.conf, or use a command-line switch to get my > desired results. > > Can someone please help clarify how I go about this? > > Steve Use DESTDIR for installkernel and installworld. This is documented in the build(7) manual page. Use the -D parameter for mergemaster.