summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorRichard Yao <ryao@gentoo.org>2015-10-09 11:30:30 -0400
committerRichard Yao <ryao@gentoo.org>2015-10-09 11:31:55 -0400
commitc38770f58b278dce35b82a3d45a134f69d4b8926 (patch)
treef1e360c069e34cf7b7d06e24d5662d4ac8f75b00 /sys-fs
parent98e12c120474c509b247cdc95a98322bda50696c (diff)
downloadgentoo-c38770f58b278dce35b82a3d45a134f69d4b8926.tar.gz
gentoo-c38770f58b278dce35b82a3d45a134f69d4b8926.tar.xz
sys-fs/zfs: Only check kernel sources with USE=test-suite
Package-Manager: portage-2.2.20.1 Reported-by: Yixun Lan <dlan@gentoo.org> Signed-off-by: Richard Yao <ryao@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/zfs/zfs-0.6.5.2-r1.ebuild2
-rw-r--r--sys-fs/zfs/zfs-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-fs/zfs/zfs-0.6.5.2-r1.ebuild b/sys-fs/zfs/zfs-0.6.5.2-r1.ebuild
index 83049e7f4ec..d8d2c6426e3 100644
--- a/sys-fs/zfs/zfs-0.6.5.2-r1.ebuild
+++ b/sys-fs/zfs/zfs-0.6.5.2-r1.ebuild
@@ -63,7 +63,7 @@ RDEPEND="${COMMON_DEPEND}
"
pkg_setup() {
- if use kernel_linux; then
+ if use kernel_linux && use test-suite; then
linux-info_pkg_setup
if ! linux_config_exists; then
ewarn "Cannot check the linux kernel configuration."
diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild
index 54dd3410ffc..8bb60aa0c45 100644
--- a/sys-fs/zfs/zfs-9999.ebuild
+++ b/sys-fs/zfs/zfs-9999.ebuild
@@ -63,7 +63,7 @@ RDEPEND="${COMMON_DEPEND}
"
pkg_setup() {
- if use kernel_linux; then
+ if use kernel_linux && use test-suite; then
linux-info_pkg_setup
if ! linux_config_exists; then
ewarn "Cannot check the linux kernel configuration."