On 2 October 2014 10:43, Ed Maste <ema...@freebsd.org> wrote:
>
> I've been using brooks' NO_ROOT support along with makefs / mkimg to
> build and test changes by creating an image to boot in QEMU.  This
> change provides a noticeable improvement in the cycle time.

I've had a couple of inquiries about the workflow I've been using, so
I've added a brief set of steps to my Wiki page at
https://wiki.freebsd.org/EdMaste/BuildVM .

With -DNO_ROOT for the install targets an mtree file named METALOG
file is created at the top of DESTDIR.  Files are installed owned by
the user, without special flags.  Makefs reads the METALOG file and
applies the desired ownership, permissions and flags in the generated
file system.

Then mkimg creates an image with a GPT partition table, the UFS
filesystem created by makefs, and the various boot loader bits for
legacy and UEFI boot.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to