Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Zac Medico <zmedico@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH] postinst_qa_check: initialize preinst state (bug 635474)
Date: Thu, 26 Oct 2017 19:31:51
Message-Id: 1509046305.18656.0.camel@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] postinst_qa_check: initialize preinst state (bug 635474) by Zac Medico
1 W dniu śro, 25.10.2017 o godzinie 23∶16 -0700, użytkownik Zac Medico
2 napisał:
3 > In order to prevent false-positives during postinst_qa_check,
4 > use a preinst_qa_check function to initialize a baseline state
5 > for the postinst checks.
6 >
7 > Bug: https://bugs.gentoo.org/635474
8 > ---
9 > bin/misc-functions.sh | 18 +++++++++++-------
10 > bin/postinst-qa-check.d/50gnome2-utils | 3 +++
11 > bin/postinst-qa-check.d/50xdg-utils | 6 ++++++
12 > bin/preinst-qa-check.d/50gnome2-utils | 1 +
13 > bin/preinst-qa-check.d/50xdg-utils | 1 +
14 > pym/portage/package/ebuild/doebuild.py | 1 +
15 > 6 files changed, 23 insertions(+), 7 deletions(-)
16 > create mode 120000 bin/preinst-qa-check.d/50gnome2-utils
17 > create mode 120000 bin/preinst-qa-check.d/50xdg-utils
18 >
19
20 To be honest, I think that's a serious overkill for a minor issue.
21 The same effect could be achieved by adding a small pkg_postinst()
22 to sys-apps/portage.
23
24 --
25 Best regards,
26 Michał Górny

Replies