1 |
commit: b8d5c09f404df0f04e5f2627e7715157cad25839 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 19 07:09:47 2021 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 19 07:20:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8d5c09f |
7 |
|
8 |
profiles/default/linux/ppc64: add symlink bashrc check |
9 |
|
10 |
Bug: https://bugs.gentoo.org/640184 |
11 |
Bug: https://bugs.gentoo.org/715680 |
12 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
13 |
|
14 |
profiles/default/linux/ppc64/profile.bashrc | 9 +++++++++ |
15 |
1 file changed, 9 insertions(+) |
16 |
|
17 |
diff --git a/profiles/default/linux/ppc64/profile.bashrc b/profiles/default/linux/ppc64/profile.bashrc |
18 |
new file mode 100644 |
19 |
index 00000000000..62968526d54 |
20 |
--- /dev/null |
21 |
+++ b/profiles/default/linux/ppc64/profile.bashrc |
22 |
@@ -0,0 +1,9 @@ |
23 |
+if [[ "${EBUILD_PHASE}" == "setup" ]] ; then |
24 |
+ if [[ "$(realpath ${ROOT%/}/lib)" == "${ROOT%/}/lib64" || "$(realpath ${ROOT%/}/usr/lib)" == "${ROOT%/}/usr/lib64" ]] ; then |
25 |
+ eerror "Please follow the instructions in the news item:" |
26 |
+ eerror "2021-07-17-new-ppc64-profiles" |
27 |
+ eerror "or choose the old profile in" |
28 |
+ eerror "default/linux/powerpc/ppc64 structure" |
29 |
+ die "ERROR: SYMLINK_LIB migration has not been performed!!" |
30 |
+ fi |
31 |
+fi |