summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-05-23 11:37:53 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-05-23 11:43:33 -0700
commit1147fcba9a61dc37a892e10e19c0d39c96f6cd04 (patch)
tree5406e34b67426dc1ff57277c727e74706f691bb2 /sys-fs
parentsys-fs/zfs: bump to 0.8.0 (diff)
downloadgentoo-1147fcba9a61dc37a892e10e19c0d39c96f6cd04.tar.gz
gentoo-1147fcba9a61dc37a892e10e19c0d39c96f6cd04.tar.bz2
gentoo-1147fcba9a61dc37a892e10e19c0d39c96f6cd04.zip
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@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/zfs/zfs-0.8.0.ebuild7
1 files changed, 7 insertions, 0 deletions
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."