commit: b8d5c09f404df0f04e5f2627e7715157cad25839 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Mon Jul 19 07:09:47 2021 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Mon Jul 19 07:20:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8d5c09f
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 <AT> gentoo.org> profiles/default/linux/ppc64/profile.bashrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/profiles/default/linux/ppc64/profile.bashrc b/profiles/default/linux/ppc64/profile.bashrc new file mode 100644 index 00000000000..62968526d54 --- /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
