Expanding on NO_ROOT: Categorizing installed files

Nathan Whitehorn nwhitehorn at freebsd.org
Thu Jul 10 17:03:14 UTC 2014


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"



More information about the freebsd-hackers mailing list