1 |
On Tue, 29 Aug 2017 16:38:15 -0400 |
2 |
Michael Orlitzky <mjo@g.o> wrote: |
3 |
|
4 |
> What should happen if an ebuild calls "die" in pkg_prerm? |
5 |
> |
6 |
> The issue arose while trying to create a package that could not be |
7 |
> uninstalled except as part of an upgrade. The first thing that came to |
8 |
> mind was to have it die in pkg_prerm. |
9 |
> |
10 |
> What portage does is *appear* to crash, but then continue along as if |
11 |
> nothing happened. |
12 |
> |
13 |
> Does the PMS cover this indirectly? (Is there a reliable way to make |
14 |
> package removal fail?) |
15 |
|
16 |
Is there any point in dying in any phase after (or during) |
17 |
pkg_postinst ? |
18 |
files are already live by then; what would this achieve ? |