From owner-freebsd-arm@FreeBSD.ORG Sun May 10 07:03:56 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7A39381; Sun, 10 May 2015 07:03:55 +0000 (UTC) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B0B231876; Sun, 10 May 2015 07:03:55 +0000 (UTC) Received: by iepj10 with SMTP id j10so85872613iep.0; Sun, 10 May 2015 00:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=fNMfELmSE1KsI7O156A2uDzc+zkcwF9RCh4/D0Te8qw=; b=ZqighgClLGvueZ7bycn/qJDd1BfZqwkl8Z+Gb42pTvtfB602TH+pZHI5nhzcW4av1c nMYQV37N26xGqHj5jn5m4/Gc5qI+7+hCf0X1BUTuN6g4ZQzTfel3dZ/NRXOxCdYHiOvU SnHu55G2a943+AshgM10frglvI86ATZVqEqMZagenPjBSIJ2FtAWC/gR/84HlUdV2nHh Lw1JPWY7rhbtTTURNave5L6UwFtag0Oye47C8CkMBvIWzaOjYe8K7jgCH1MND6A5i3kE X+9ndNUH8dr6QDU+zpalHHnq5He8r5oIOCoJiJ0xUy4nsnFGp9ZV4TtiYukLBox4Cs+y uqFQ== MIME-Version: 1.0 X-Received: by 10.107.46.39 with SMTP id i39mr6509415ioo.8.1431241434987; Sun, 10 May 2015 00:03:54 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Sun, 10 May 2015 00:03:54 -0700 (PDT) In-Reply-To: <20150510054019.GW94075@hub.FreeBSD.org> References: <0FD2F2B4EF6E490B9DB6CEF1119ECB70@ad.peach.ne.jp> <2DD4D1CE-E05B-44D7-B396-92BB4CD1D98D@kientzle.com> <20150510054019.GW94075@hub.FreeBSD.org> Date: Sun, 10 May 2015 00:03:54 -0700 X-Google-Sender-Auth: 6JNtTbDfZSADQ_tx4d32P_XQ4nU Message-ID: Subject: Re: RPi2 support... From: Adrian Chadd To: Glen Barber Cc: Jordan Hubbard , Tim Kientzle , freebsd-arm Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 May 2015 07:03:56 -0000 On 9 May 2015 at 22:40, Glen Barber wrote: > On Sat, May 09, 2015 at 10:24:34PM -0700, Adrian Chadd wrote: >> gjb didn't like how development wasn't freebsd-releng-friendly (but >> really, which upstream vendor project is in all honesty) so he's >> rolled a replacement that's just landed in head. Time will tell which >> will work out better. >> > > My recent commit is not about "being better than Crochet", it is about > providing an in-tree build method (for RE purposes) that can be > reproduced. For people that do not need to do pristine-environment, > reproducible builds, I encourage the use of Crochet. > >> Me, I'm completely ignoring /all of that/ because I'm fed up with >> building things as root and having to do loopback mounts to build >> things and loopback devices to create filesystems. My mips stuff does >> everything 100% as a user, and it's actually really damned pleasant. >> I'd love to see FreeBSD move to that model but I have a feeling it'll >> be fighting against lazy developers who are used to having root >> everywhere. >> > > I personally fail to see the reasoning behind this, but I'm looking at > things from an entirely different perspective, I suppose. While it's > great that your tools provide a mechanism to produce a build as > non-root, FreeBSD releases are built as the root user. Hi, The reasoning is that there are more outputs of FreeBSD than just "make iso and snapshots for ftp.freebsd.org", and having things not require root simplifies a lot of system administration requirements. I have to currently jump through hoops via various FreeBSD-derived build things in order to tidy up when things go wrong because people use all the root features they can - zfs mounts, loopback mounts, loopback devices, etc - and it's just plain silly. Almost none of it is required. It's also nice to be reasonably sure you're not going to have some badly behaving piece of Makefile decide to scribble over the running system rather than the destination directory - so you use jails, but then you have to ensure they're tidied up as well. There's also the desire to build freebsd under non-FreeBSD, and having a build process that doesn't require root helps constrain things so you don't rely on FreeBSD-isms when there's perfectly good userland substitutes. It's okay, we can rant about this in person one day. :) -adrian