Re: Expanding on NO_ROOT: Categorizing installed files
--Mjqg7Yu+0hL22rav
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Jul 16, 2014 at 12:29:44PM -0700, Sean Fagan wrote:
> On Jul 16, 2014, at 12:24 PM, Brooks Davis <brooks@freebsd.org> wrote:
>=20
> > That said, I think the second argues that -P generating category=3D 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).
>=20
> -K <key>=3D<value> is easy enough to do, and seems mnemonical enough.
> (Then change the makefiles to have "-K category=3D${META_CATEGORY}"
> and whatnot.)
Sounds good.
> 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 hierarc=
hical --
> that is, adding a tag/label/whatever at one level didn't automatically pe=
rcolate
> its way down. So I got rid of those changes.
The METALOG is an mtree file.
That sounds like a bug in the mtree code given the rational view that
unknown key=3Dvalue's should just be passed along as text.
-- Brooks
--Mjqg7Yu+0hL22rav
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEARECAAYFAlPG2bwACgkQXY6L6fI4GtTWqQCeLNRea31tDcsWG7HOcXeKWkBO
XgIAmwSxUlyD7apAzh0ClIWvQQkNavX0
=3FPE
-----END PGP SIGNATURE-----
--Mjqg7Yu+0hL22rav--
討論串 (同標題文章)
完整討論串 (本文為第 14 之 16 篇):