Updating FBSD on one slice from another slice
m.seaman at infracaninophile.co.uk
Mon Jun 23 08:29:37 PDT 2003
On Mon, Jun 23, 2003 at 08:43:07AM -0500, D J Hawkey Jr wrote:
> What I'm stumped with is how to tell 'make [build|install][world|kernel]'
> to do their thing from the OS in the slice I'm running (the newer), but
> do the reads and writes on the other, older slice. Same conundrum with
> 'mergemaster'; how do I tell it to do it's thing on that older slice?
> A mountpoint on the newer slice I'm running, "/mnt/s2", is the older
> slice's "/", so the entire other, older slice is visible.
You'll have to copy /mnt/s2/etc/make.conf temporarily in place of
/etc/make.conf, if there's any significant difference between the two
systems. Then you can just do:
# cd /mnt/s2/usr/src
# make installkernel installworld KERNCONF=FOO DESTDIR=/mnt/s2
# mergemaster -m /mnt/s2/usr/src -D /mnt/s2
Alternatively, take a look at the chroot(8) or jail(8) man pages...
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030623/a82ec64d/attachment.bin
More information about the freebsd-questions