diff options
author | Yixun Lan <dlan@gentoo.org> | 2016-02-16 17:57:05 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2016-02-16 18:04:16 +0800 |
commit | b0f5aa7239b0d047772f4462e7d4f18ac52e2f6f (patch) | |
tree | e352c87e07e15dbe9793a06ce6868476af08c72c /sys-cluster/ceph/ceph-9.2.0.ebuild | |
parent | sys-kernel/vanilla-sources: Automated version bump to {3.12.54,3.18.27,4.1.18... (diff) | |
download | gentoo-b0f5aa7239b0d047772f4462e7d4f18ac52e2f6f.tar.gz gentoo-b0f5aa7239b0d047772f4462e7d4f18ac52e2f6f.tar.bz2 gentoo-b0f5aa7239b0d047772f4462e7d4f18ac52e2f6f.zip |
sys-cluster/ceph: warn user about permission changes
Gentoo-bug: 574792
Package-Manager: portage-2.2.27
Diffstat (limited to 'sys-cluster/ceph/ceph-9.2.0.ebuild')
-rw-r--r-- | sys-cluster/ceph/ceph-9.2.0.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys-cluster/ceph/ceph-9.2.0.ebuild b/sys-cluster/ceph/ceph-9.2.0.ebuild index 434fd90e1a2e..0f82103c41ca 100644 --- a/sys-cluster/ceph/ceph-9.2.0.ebuild +++ b/sys-cluster/ceph/ceph-9.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -90,6 +90,8 @@ check-reqs_export_vars() { export CHECKREQS_DISK_BUILD="9G" export CHECKREQS_DISK_USR="450M" fi + + export CHECKREQS_MEMORY="7G" } user_setup() { @@ -184,3 +186,11 @@ src_install() { readme.gentoo_create_doc } + +pkg_postinst() { + if [[ -n ${REPLACING_VERSIONS} ]] && ! version_is_at_least 9.0 ${REPLACING_VERSIONS}; then + ewarn "You've upgraded ceph from old version, please fix the permission issue" + ewarn "Please refer section 4) in README.gentoo doc for detail info" + ewarn " bzless /usr/share/doc/${P}/README.gentoo.bz2" + fi +} |