Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2014 14:39:10 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Bryan Drewery <bdrewery@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, Baptiste Daroussin <bapt@freebsd.org>, src-committers@freebsd.org, Nathan Whitehorn <nwhitehorn@freebsd.org>
Subject:   Re: svn commit: r266553 - head/release/scripts
Message-ID:  <20140523213909.GV43976@funkthat.com>
In-Reply-To: <8740c21d1e7467ea0e0355c5d05729c9@shatow.net>
References:  <537F6EBC.3080008@freebsd.org> <20140523162020.GG72340@ivaldir.etoilebsd.net> <537F7976.3060705@freebsd.org> <20140523164521.GH72340@ivaldir.etoilebsd.net> <537F8153.7080808@freebsd.org> <20140523172636.GK72340@ivaldir.etoilebsd.net> <537F9AF4.1070502@freebsd.org> <20140523192701.GL72340@ivaldir.etoilebsd.net> <537FBB4E.2010409@freebsd.org> <8740c21d1e7467ea0e0355c5d05729c9@shatow.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140523213909.GV43976>