]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- build nopae kernel only on ix86 auto/th/kernel-nopae-3.18.5-1
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 31 Jan 2015 11:25:24 +0000 (12:25 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 31 Jan 2015 11:25:24 +0000 (12:25 +0100)
kernel.spec

index 484f4d788363dd990605680bdd74dfc8f1df2afa..1073fdd24a742656d485fadb44a030be35089fdd 100644 (file)
@@ -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)
 
This page took 0.536886 seconds and 4 git commands to generate.