Gentoo Archives: gentoo-commits

From: Richard Yao <ryao@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs/
Date: Thu, 03 Dec 2015 18:36:41
Message-Id: 1449167280.86e209b696711d76591391587aec7069c383d6f3.ryao@gentoo
1 commit: 86e209b696711d76591391587aec7069c383d6f3
2 Author: Richard Yao <ryao <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 3 18:25:04 2015 +0000
4 Commit: Richard Yao <ryao <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 3 18:28:00 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86e209b6
7
8 sys-fs/zfs-0.6.5.3-r1: Block <sys-fs/zfs-kmod-0.6.5.3-r1
9
10 We also add a warning about updating your initramfs.
11
12 Package-Manager: portage-2.2.20.1
13 Signed-off-by: Richard Yao <ryao <AT> gentoo.org>
14
15 sys-fs/zfs/zfs-0.6.5.3-r1.ebuild | 21 ++++++++++++++++++++-
16 1 file changed, 20 insertions(+), 1 deletion(-)
17
18 diff --git a/sys-fs/zfs/zfs-0.6.5.3-r1.ebuild b/sys-fs/zfs/zfs-0.6.5.3-r1.ebuild
19 index 50ccf06..e57ece0 100644
20 --- a/sys-fs/zfs/zfs-0.6.5.3-r1.ebuild
21 +++ b/sys-fs/zfs/zfs-0.6.5.3-r1.ebuild
22 @@ -36,7 +36,10 @@ DEPEND="${COMMON_DEPEND}
23
24 RDEPEND="${COMMON_DEPEND}
25 !=sys-apps/grep-2.13*
26 - !kernel-builtin? ( =sys-fs/zfs-kmod-${PV}* )
27 + !kernel-builtin? (
28 + =sys-fs/zfs-kmod-${PV}*
29 + !<sys-fs/zfs-kmod-0.6.5.3-r1
30 + )
31 !sys-fs/zfs-fuse
32 !prefix? ( virtual/udev )
33 test-suite? (
34 @@ -197,6 +200,22 @@ pkg_postinst() {
35 rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown"
36 fi
37
38 + einfo "sys-kernel/spl-0.6.5.3-r1, sys-fs/zfs-kmod-0.6.5.3-r1 and "
39 + einfo "sys-fs/zfs-0.6.5.3-r1 have introduced a partial stable "
40 + einfo "/dev/zfs API developed by ClusterHQ. This means that situations "
41 + einfo "arising from the kernel modules and userland tools being "
42 + einfo "mismatched on future updates will not cause problems."
43 + einfo
44 + einfo "In specific, this should solve the failure to mount filesystems when "
45 + einfo "old modules are cached in an old initramfs provided that those "
46 + einfo "modules support this API"
47 + if use rootfs
48 + then
49 + einfo
50 + ewarn "The older modules will *NOT* work with the new userland code."
51 + ewarn "It is very important that you update your initramfs after this "
52 + ewarn "update."
53 + fi
54 }
55
56 pkg_postrm() {