Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Feb 2008 16:21:08 +0100
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        Steve Bertrand <iaccounts@ibctech.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Upgrading a removable disk installation
Message-ID:  <47C822E4.3020902@bsdforen.de>
In-Reply-To: <47C81ACA.5010800@ibctech.ca>
References:  <47C81ACA.5010800@ibctech.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47C822E4.3020902>