svn commit: r266553 - head/release/scripts

John-Mark Gurney jmg at
Fri May 23 21:39:11 UTC 2014

Bryan Drewery wrote this message on Fri, May 23, 2014 at 16:34 -0500:
> On 2014-05-23 16:19, Nathan Whitehorn wrote:
> >Knowing a priori which architectures are "supported" by a chroot based
> >on ELF type of /bin/sh doesn't even work. How do you know what kernel
> >will be running in there and how it will be configured? You don't.
> >IA64 can -- sometimes -- run i386 binaries, for example. amd64 may or
> >may not be able to run i386, depending on kernel options.
> >
> You're assuming that you would only use a chroot to RUN things. This is
> also useful for building images. Install a world into a chroot, run
> pkg -c install whatever and it picks the right ABI. Just an example.

Will there be a mode to output an mtree file (or append to one) w/ the
correct permissions?

We are slowly moving to not requiring root to build images, and if you
now need to have root to chroot or chown files, then it won't be as
useful for building images...

Right now I'm looking at tools/tools/makeroot that allows merging of
mtree files, which will allow us to easily customize the built image..

  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."

More information about the svn-src-head mailing list