Expanding on NO_ROOT: Categorizing installed files

Sean Fagan sef at ixsystems.com
Wed Jul 16 19:29:57 UTC 2014


On Jul 16, 2014, at 12:24 PM, Brooks Davis <brooks at freebsd.org> wrote:

> That said, I think the second argues that -P generating category= is the
> wrong approach.  Instead a new flag should just let you add arbitrary
> stuff to the mtree file (subject to validation that it is well formed).

-K <key>=<value> is easy enough to do, and seems mnemonical enough.
(Then change the makefiles to have "-K category=${META_CATEGORY}"
and whatnot.)

This doesn't get added to the mtree files, though.  I played with changing
mtree (well, nmtree), but I was thrown by the fact that it wasn't hierarchical --
that is, adding a tag/label/whatever at one level didn't automatically percolate
its way down.  So I got rid of those changes.

Sean.



More information about the freebsd-hackers mailing list