Re: Expanding on NO_ROOT: Categorizing installed files
On Jul 16, 2014, at 12:24 PM, Brooks Davis <brooks@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.
_______________________________________________
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"
討論串 (同標題文章)
完整討論串 (本文為第 12 之 16 篇):