[packages/lttng-modules] - don't build userspece for alt_kernel
baggins
baggins at pld-linux.org
Thu Jul 25 17:46:59 CEST 2013
commit 17aa6c61f5e360b2a56dcc46cf17d48bf74f3345
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Jul 25 17:46:46 2013 +0200
- don't build userspece for alt_kernel
lttng-modules.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/lttng-modules.spec b/lttng-modules.spec
index fd62289..6070008 100644
--- a/lttng-modules.spec
+++ b/lttng-modules.spec
@@ -4,6 +4,10 @@
%bcond_without allprobes # all probes build (some probes, e.g. fs, need full kernel source)
%bcond_with verbose # verbose build (V=1)
#
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine with_userspace
+%endif
+
%define rel 2
%define pname lttng-modules
Summary: LTTng 2.x kernel modules
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lttng-modules.git/commitdiff/17aa6c61f5e360b2a56dcc46cf17d48bf74f3345
More information about the pld-cvs-commit
mailing list