Re: [PATCH] install-qa-check.d: Add a QA check for installing xattrs

Michał Górny <[email protected]> Tue, 28 Sep 2021 08:25:52 +0200
Newsgroups gmane.linux.gentoo.portage.devel
Organization Gentoo
Message-ID <[email protected]>
On Mon, 2021-09-27 at 21:09 -0400, Mike Gilbert wrote:
> On Mon, Sep 27, 2021 at 1:20 PM Michał Górny <[email protected]> wrote:
> > +               eqawarn
> > +               eqawarn "It is impossible to reliably guarantee that the extended attributes"
> > +               eqawarn "will be reliably preserved while merging.  Please ensure that any"
> > +               eqawarn "extended metadata necessary is applied in pkg_postinst() phase,"
> > +               eqawarn "and that the implementation includes a fallback if necessary."
> 
> This message suggests that applying xattrs in pkg_postinst is
> acceptable. However, your patch offers no way to disable the QA
> warning for ebuilds that do so.

We'll cross that bridge when we get there.  Ideally, we wouldn't need to
silence the check because no packages would do that.  If they do, then
we'll probably want to work on an eclass like fcaps.eclas.

-- 
Best regards,
Michał Górny