Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Of death and prerm
Date: Tue, 29 Aug 2017 20:38:28
Message-Id: 09043e39-bcec-f73b-683e-17de59b8e5d5@gentoo.org
1 What should happen if an ebuild calls "die" in pkg_prerm?
2
3 The issue arose while trying to create a package that could not be
4 uninstalled except as part of an upgrade. The first thing that came to
5 mind was to have it die in pkg_prerm.
6
7 What portage does is *appear* to crash, but then continue along as if
8 nothing happened.
9
10 Does the PMS cover this indirectly? (Is there a reliable way to make
11 package removal fail?)

Replies

Subject Author
Re: [gentoo-dev] Of death and prerm Alexis Ballier <aballier@g.o>
Re: [gentoo-dev] Of death and prerm "Michał Górny" <mgorny@g.o>