svn commit: r284345 - in head: . bin/cat bin/chflags bin/chio bin/chmod bin/cp bin/csh bin/date bin/dd bin/df bin/domainname bin/echo bin/ed bin/expr bin/freebsd-version bin/getfacl bin/hostname bi...

Simon J. Gerraty sjg at juniper.net
Wed Sep 2 23:20:41 UTC 2015


Craig Rodrigues <rodrigc at FreeBSD.org> wrote:
> Do you have a list of steps that can be used to test META_MODE mode in
> FreeBSD-CURRENT?

Good question... probably somewhere 

> Would these steps work:

close 

> (1)  Put in /boot/loader.conf
> 
>       filemon_load="YES"
> 
>       and reboot.

No need to reboot, you can simply kldload it.

> (2)  Put in /etc/make.conf
> 
>       WITH_META_MODE=yes

Sure

> (3)  Do this:
> 
> cd /usr/src/targets/pseudo/universe
> make

You do not need to cd anywhere, just 'make universe' would do
when META_MODE is true src/Makefile includes targets/Makefile to do its
thing. 

Of course 'universe' is no where near ready to do what you would expect ;-)
We have our own tree of targets that build the packages we need.
There's not a lot of overlap with the traditional build/install model.

For the purpose of testing 'userland' might be more practical.

Also unless you already have external toolchains built (we include a
toolchain.mk from local.sys.mk), you will likely
need to

env MACHINE=host make bootstrap-tools

which shamelessly leverages src/Makefile* to build the toolchains

If it works - currently looks to be broken some of the tools need latest
libelf, libdarf etc but when building for host one generally wants to
use the host toolchain.

Will see if I can get it building again ...


More information about the freebsd-testing mailing list