Re: Expanding on NO_ROOT: Categorizing installed files

看板FB_hackers作者時間11年前 (2014/07/17 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串14/16 (看更多)
--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--
文章代碼(AID): #1Jnjd-RS (FB_hackers)
討論串 (同標題文章)
文章代碼(AID): #1Jnjd-RS (FB_hackers)