commit:     86e209b696711d76591391587aec7069c383d6f3
Author:     Richard Yao <ryao <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  3 18:25:04 2015 +0000
Commit:     Richard Yao <ryao <AT> gentoo <DOT> org>
CommitDate: Thu Dec  3 18:28:00 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86e209b6

sys-fs/zfs-0.6.5.3-r1: Block <sys-fs/zfs-kmod-0.6.5.3-r1

We also add a warning about updating your initramfs.

Package-Manager: portage-2.2.20.1
Signed-off-by: Richard Yao <ryao <AT> gentoo.org>

 sys-fs/zfs/zfs-0.6.5.3-r1.ebuild | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/sys-fs/zfs/zfs-0.6.5.3-r1.ebuild b/sys-fs/zfs/zfs-0.6.5.3-r1.ebuild
index 50ccf06..e57ece0 100644
--- a/sys-fs/zfs/zfs-0.6.5.3-r1.ebuild
+++ b/sys-fs/zfs/zfs-0.6.5.3-r1.ebuild
@@ -36,7 +36,10 @@ DEPEND="${COMMON_DEPEND}
 
 RDEPEND="${COMMON_DEPEND}
        !=sys-apps/grep-2.13*
-       !kernel-builtin? ( =sys-fs/zfs-kmod-${PV}* )
+       !kernel-builtin? (
+               =sys-fs/zfs-kmod-${PV}*
+               !<sys-fs/zfs-kmod-0.6.5.3-r1
+               )
        !sys-fs/zfs-fuse
        !prefix? ( virtual/udev )
        test-suite? (
@@ -197,6 +200,22 @@ pkg_postinst() {
                rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
        fi
 
+       einfo "sys-kernel/spl-0.6.5.3-r1, sys-fs/zfs-kmod-0.6.5.3-r1 and "
+       einfo "sys-fs/zfs-0.6.5.3-r1 have introduced a partial stable "
+       einfo "/dev/zfs API developed by ClusterHQ. This means that situations "
+       einfo "arising from the kernel modules and userland tools being "
+       einfo "mismatched on future updates will not cause problems."
+       einfo
+       einfo "In specific, this should solve the failure to mount filesystems 
when "
+       einfo "old modules are cached in an old initramfs provided that those "
+       einfo "modules support this API"
+       if use rootfs
+       then
+               einfo
+               ewarn "The older modules will *NOT* work with the new userland 
code."
+               ewarn "It is very important that you update your initramfs 
after this "
+               ewarn "update."
+       fi
 }
 
 pkg_postrm() {

Reply via email to