From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 10 17:03:14 2014 Return-Path: Delivered-To: hackers@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 7E7F4F80 for ; Thu, 10 Jul 2014 17:03:14 +0000 (UTC) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 64E9E2EDD for ; Thu, 10 Jul 2014 17:03:14 +0000 (UTC) Received: from aurora.physics.berkeley.edu (aurora.Physics.Berkeley.EDU [128.32.117.67]) (authenticated bits=0) by c.mail.sonic.net (8.14.9/8.14.9) with ESMTP id s6AH3B1e023866 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 10 Jul 2014 10:03:12 -0700 Message-ID: <53BEC74F.6070803@freebsd.org> Date: Thu, 10 Jul 2014 10:03:11 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Sean Fagan , hackers@freebsd.org Subject: Re: Expanding on NO_ROOT: Categorizing installed files References: <048B595B-6B91-40B6-84A4-E23948423354@ixsystems.com> In-Reply-To: <048B595B-6B91-40B6-84A4-E23948423354@ixsystems.com> X-Sonic-ID: C;lpQWE1QI5BGUH02zUc16mQ== M;8G4yE1QI5BGUH02zUc16mQ== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 17:03:14 -0000 Don't we already have this in the form of the DISTRIBUTION make variable? That's what is already used for packaging the base system for the installer. -Nathan On 07/09/14 16:33, Sean Fagan wrote: > We've been looking at some significant changes to how we distribute and update FreeNAS; one of the things I've done is take the NO_ROOT build changes, and expand upon them to have categories. > > I'd like to say I went for minimal changes here, but mostly what I was going for was minimal work on my part. However, this seems to mostly work; the METALOG that gets generated has lines such as > > ./bin/cat type=file uname=root gname=wheel mode=0555 size=11520 category=base > > and I've written a python script that will take that METALOG, and create PKGNG-style packages from it. (This may be more useful for things like "category=dev", or "secure".) I did have to change xinstall a bit to handle this, and I also changed how it handled hard links for the metalog. > > Any comments on this? More importantly, any interest in it? > > (Note that I am not subscribed to the list from this address, so if you respond to the list, I may follow up from a different address :).) > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"