1 |
commit: 04aeea5c0f2dfd4be2f2be64b91d579e1a92dd05 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 7 02:46:54 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 7 02:46:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04aeea5c |
7 |
|
8 |
app-text/build-docbook-catalog: die on failed build-docbook-catalog |
9 |
|
10 |
Fail loudly if build-docbook-catalog wasn't successful; this is likely |
11 |
due to /run not being (bind-)mounted (in chroots/new installs). |
12 |
|
13 |
Bug: https://bugs.gentoo.org/816303 |
14 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
app-text/build-docbook-catalog/build-docbook-catalog-1.21.ebuild | 3 ++- |
18 |
app-text/build-docbook-catalog/build-docbook-catalog-2.0.ebuild | 3 ++- |
19 |
2 files changed, 4 insertions(+), 2 deletions(-) |
20 |
|
21 |
diff --git a/app-text/build-docbook-catalog/build-docbook-catalog-1.21.ebuild b/app-text/build-docbook-catalog/build-docbook-catalog-1.21.ebuild |
22 |
index faaa5b36fd2..ea434173b02 100644 |
23 |
--- a/app-text/build-docbook-catalog/build-docbook-catalog-1.21.ebuild |
24 |
+++ b/app-text/build-docbook-catalog/build-docbook-catalog-1.21.ebuild |
25 |
@@ -34,5 +34,6 @@ src_configure() { |
26 |
|
27 |
pkg_postinst() { |
28 |
# New version -> regen files |
29 |
- build-docbook-catalog |
30 |
+ # See bug #816303 for rationale behind die |
31 |
+ build-docbook-catalog || die "Failed to regenerate docbook catalog. Is /run mounted?" |
32 |
} |
33 |
|
34 |
diff --git a/app-text/build-docbook-catalog/build-docbook-catalog-2.0.ebuild b/app-text/build-docbook-catalog/build-docbook-catalog-2.0.ebuild |
35 |
index 48f66b4d572..d3143b3652b 100644 |
36 |
--- a/app-text/build-docbook-catalog/build-docbook-catalog-2.0.ebuild |
37 |
+++ b/app-text/build-docbook-catalog/build-docbook-catalog-2.0.ebuild |
38 |
@@ -32,5 +32,6 @@ src_configure() { |
39 |
|
40 |
pkg_postinst() { |
41 |
# New version -> regen files |
42 |
- build-docbook-catalog |
43 |
+ # See bug #816303 for rationale behind die |
44 |
+ build-docbook-catalog || die "Failed to regenerate docbook catalog. Is /run mounted?" |
45 |
} |