Subject: Re: How do I build a bootable system?
To: None <>
From: Alan Barrett <>
List: tech-toolchain
Date: 03/26/2007 11:07:52
On Mon, 26 Mar 2007, der Mouse wrote:
> Okay, I give up.  How do I do this under the new world order?
> I have a source tree.  I want to do a build from it and install the
> newly built system into a new disk mounted on, say, /mnt, such that
> adding a kernel and setting up my port's boot machinery gives me a
> bootable system.

I would use ... release, followed by unpacking

> How do I do this?  My best guess so far has been
> % -D ... -O ... -U distribution
> # -D ... -O ... -U -u -V TOOLDIR=... install=/mnt
> but that leaves me with nothing but directory structure in /mnt/etc,
> except for /mnt/etc/release and some files in /mnt/etc/mtree/ - and an
> empty /dev, which init apparently doesn't know how to fix because
> there's no /etc/MAKEDEV.

If that didn't work, I think it's a bug, but I never use
install=..., so don't take my word for it.

--apb (Alan Barrett)