From owner-svn-src-head@FreeBSD.ORG Fri May 23 21:39:11 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A236DD96; Fri, 23 May 2014 21:39:11 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F720291F; Fri, 23 May 2014 21:39:11 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s4NLdA4p025925 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 May 2014 14:39:10 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s4NLdAtx025924; Fri, 23 May 2014 14:39:10 -0700 (PDT) (envelope-from jmg) Date: Fri, 23 May 2014 14:39:10 -0700 From: John-Mark Gurney To: Bryan Drewery Subject: Re: svn commit: r266553 - head/release/scripts Message-ID: <20140523213909.GV43976@funkthat.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8740c21d1e7467ea0e0355c5d05729c9@shatow.net> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Fri, 23 May 2014 14:39:10 -0700 (PDT) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Baptiste Daroussin , src-committers@freebsd.org, Nathan Whitehorn X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 21:39:11 -0000 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."