summaryrefslogtreecommitdiff
path: root/profiles/default
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/default')
-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