diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-18 00:01:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-18 00:01:42 +0100 |
commit | 075fd1f8cabc5879c6eb42127fb84c3058677fde (patch) | |
tree | 8b761e85416656264e041b1954427a58894b3333 /sys-fs/zfs-kmod/zfs-kmod-2.2.4.ebuild | |
parent | 6c9dc10e04cd513437e046ccca0e51a3d6d4dc7c (diff) |
gentoo auto-resync : 18:05:2024 - 00:01:41
Diffstat (limited to 'sys-fs/zfs-kmod/zfs-kmod-2.2.4.ebuild')
-rw-r--r-- | sys-fs/zfs-kmod/zfs-kmod-2.2.4.ebuild | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sys-fs/zfs-kmod/zfs-kmod-2.2.4.ebuild b/sys-fs/zfs-kmod/zfs-kmod-2.2.4.ebuild index fe2cc8b18efb..79b2c443b06d 100644 --- a/sys-fs/zfs-kmod/zfs-kmod-2.2.4.ebuild +++ b/sys-fs/zfs-kmod/zfs-kmod-2.2.4.ebuild @@ -3,7 +3,8 @@ EAPI=8 -inherit autotools dist-kernel-utils flag-o-matic linux-mod-r1 multiprocessing +MODULES_INITRAMFS_IUSE=+initramfs +inherit autotools flag-o-matic linux-mod-r1 multiprocessing DESCRIPTION="Linux ZFS kernel module for sys-fs/zfs" HOMEPAGE="https://github.com/openzfs/zfs" @@ -64,13 +65,6 @@ PATCHES=( pkg_pretend() { use rootfs || return 0 - - if has_version virtual/dist-kernel && ! use dist-kernel; then - ewarn "You have virtual/dist-kernel installed, but" - ewarn "USE=\"dist-kernel\" is not enabled for ${CATEGORY}/${PN}" - ewarn "It's recommended to globally enable dist-kernel USE flag" - ewarn "to auto-trigger initrd rebuilds with kernel updates" - fi } pkg_setup() { @@ -192,10 +186,6 @@ pkg_postinst() { linux-mod-r1_pkg_postinst - if [[ -z ${ROOT} ]] && use dist-kernel ; then - dist-kernel_reinstall_initramfs "${KV_DIR}" "${KV_FULL}" - fi - if use x86 || use arm ; then ewarn "32-bit kernels will likely require increasing vmalloc to" ewarn "at least 256M and decreasing zfs_arc_max to some value less than that." |