Date: Fri, 3 Oct 2014 10:59:41 -0400 From: Ed Maste <emaste@freebsd.org> To: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r272384 - head/usr.bin/mkimg Message-ID: <CAPyFy2Ckb99u7kJu=Yddr42Rt9hchO%2BwCdTx8pxh9=9UEQzehQ@mail.gmail.com> In-Reply-To: <CAPyFy2AsJkiATeCjRVThaG%2B0oXnRZYtaYu-YLTukXYP0sWiNeA@mail.gmail.com> References: <201410012103.s91L3HR0010906@svn.freebsd.org> <CAPyFy2AsJkiATeCjRVThaG%2B0oXnRZYtaYu-YLTukXYP0sWiNeA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2 October 2014 10:43, Ed Maste <emaste@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2Ckb99u7kJu=Yddr42Rt9hchO%2BwCdTx8pxh9=9UEQzehQ>