Expanding on NO_ROOT: Categorizing installed files

Sean Fagan sef at ixsystems.com
Wed Jul 9 23:33:44 UTC 2014


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 :).)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: categorizing-diffs.txt
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20140709/a307ef97/attachment.txt>


More information about the freebsd-hackers mailing list