commit: 1147fcba9a61dc37a892e10e19c0d39c96f6cd04
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu May 23 18:37:53 2019 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu May 23 18:43:33 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1147fcba
sys-fs/zfs: add postinst message to 0.8.0 regarding genkernel
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
sys-fs/zfs/zfs-0.8.0.ebuild | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sys-fs/zfs/zfs-0.8.0.ebuild b/sys-fs/zfs/zfs-0.8.0.ebuild
index e24458b4194..b128cd4729d 100644
--- a/sys-fs/zfs/zfs-0.8.0.ebuild
+++ b/sys-fs/zfs/zfs-0.8.0.ebuild
@@ -170,6 +170,13 @@ src_install() {
}
pkg_postinst() {
+ if has_version "<=sys-kernel/genkernel-3.5.3.3"; then
+ einfo "genkernel version 3.5.3.3 and earlier does NOT support"
+ einfo " unlocking pools with native zfs encryption enabled at
boot"
+ einfo " use dracut or genkernel-9999 if you requre this
functionality"
+ einfo
+ fi
+
if ! use kernel-builtin && [[ ${PV} = "9999" ]]; then
einfo "Adding ${P} to the module database to ensure that the"
einfo "kernel modules and userland utilities stay in sync."