diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-09-12 14:44:50 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-09-12 14:50:01 -0700 |
commit | f2ab1916a056a89be7653b446502e0f4b5ab0c0e (patch) | |
tree | 444ba71fe32b972296bb7c5dd5c92bef51731f97 /sys-fs | |
parent | sys-fs/zfs: fix missing DEPEND in live ebuild (diff) | |
download | gentoo-f2ab1916a056a89be7653b446502e0f4b5ab0c0e.tar.gz gentoo-f2ab1916a056a89be7653b446502e0f4b5ab0c0e.tar.bz2 gentoo-f2ab1916a056a89be7653b446502e0f4b5ab0c0e.zip |
sys-fs/zfs-kmod: require !PREEMPT on arm64 only on >= 5.x kernels
Bug: https://bugs.gentoo.org/693912
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/zfs-kmod/zfs-kmod-9999.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild b/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild index a8669aea640b..743338031070 100644 --- a/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild +++ b/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild @@ -63,7 +63,9 @@ pkg_setup() { DEVTMPFS " - use arm64 && CONFIG_CHECK="${CONFIG_CHECK} !PREEMPT" + if use arm64; then + kernel_is -ge 5 && CONFIG_CHECK="${CONFIG_CHECK} !PREEMPT" + fi kernel_is -lt 5 && CONFIG_CHECK="${CONFIG_CHECK} IOSCHED_NOOP" |