From 1147fcba9a61dc37a892e10e19c0d39c96f6cd04 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Thu, 23 May 2019 11:37:53 -0700 Subject: [PATCH] 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 --- 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 e24458b4194f..b128cd4729d0 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." -- 2.26.2