diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-07-19 00:09:47 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-07-19 00:20:40 -0700 |
commit | b8d5c09f404df0f04e5f2627e7715157cad25839 (patch) | |
tree | b1e047b3c98ea79478a365795a610ac8dc004b60 /profiles/default/linux/ppc64 | |
parent | net-libs/nghttp2: Removed old (diff) | |
download | gentoo-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.bashrc | 9 |
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 |