commit 4f58ff4b3fa6b2b6d764d77c8130401b689463c0
Author: Jan RÄ™korajski <[email protected]>
Date:   Sat Jan 31 12:25:24 2015 +0100

    - build nopae kernel only on ix86

 kernel.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/kernel.spec b/kernel.spec
index 484f4d7..1073fdd 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -94,6 +94,9 @@
 %if %{with vanilla}
 %define                alt_kernel      vanilla
 %endif
+%if %{without pae}
+%define                alt_kernel      nopae
+%endif
 
 # kernel release (used in filesystem and eventually in uname -r)
 # modules will be looked from /lib/modules/%{kernel_release}
@@ -308,7 +311,11 @@ Conflicts: udev < 1:081
 Conflicts:     util-linux < 2.10o
 Conflicts:     util-vserver < 0.30.216
 Conflicts:     xfsprogs < 2.6.0
+%if %{without pae}
+ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon
+%else
 ExclusiveArch: i486 i586 i686 pentium3 pentium4 athlon %{x8664} x32 alpha arm 
ia64 ppc ppc64 sparc sparc64
+%endif
 ExclusiveOS:   Linux
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/4f58ff4b3fa6b2b6d764d77c8130401b689463c0

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to