summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-07-19 00:09:47 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-07-19 00:20:40 -0700
commitb8d5c09f404df0f04e5f2627e7715157cad25839 (patch)
treeb1e047b3c98ea79478a365795a610ac8dc004b60 /profiles/default/linux/ppc64
parentnet-libs/nghttp2: Removed old (diff)
downloadgentoo-b8d5c09f404df0f04e5f2627e7715157cad25839.tar.gz
gentoo-b8d5c09f404df0f04e5f2627e7715157cad25839.tar.bz2
gentoo-b8d5c09f404df0f04e5f2627e7715157cad25839.zip
profiles/default/linux/ppc64: add symlink bashrc check
Bug: https://bugs.gentoo.org/640184 Bug: https://bugs.gentoo.org/715680 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'profiles/default/linux/ppc64')
-rw-r--r--profiles/default/linux/ppc64/profile.bashrc9
1 files changed, 9 insertions, 0 deletions
diff --git a/profiles/default/linux/ppc64/profile.bashrc b/profiles/default/linux/ppc64/profile.bashrc
new file mode 100644
index 000000000000..62968526d541
--- /dev/null
+++ b/profiles/default/linux/ppc64/profile.bashrc
@@ -0,0 +1,9 @@
+if [[ "${EBUILD_PHASE}" == "setup" ]] ; then
+ if [[ "$(realpath ${ROOT%/}/lib)" == "${ROOT%/}/lib64" || "$(realpath ${ROOT%/}/usr/lib)" == "${ROOT%/}/usr/lib64" ]] ; then
+ eerror "Please follow the instructions in the news item:"
+ eerror "2021-07-17-new-ppc64-profiles"
+ eerror "or choose the old profile in"
+ eerror "default/linux/powerpc/ppc64 structure"
+ die "ERROR: SYMLINK_LIB migration has not been performed!!"
+ fi
+fi