Re: kernel package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/11/2007 02:01 PM, David Woodhouse wrote:
Readable diff attached. And the answer (at least from me) is no -- I'm
not happy about applying it with all the ifdefs. We can apply the clean
bits though -- obviously it won't actually build, but then we can set
about actually _fixing_ exec-shield, etc.

k. ack.

Can you explain each ifarch? And show Patch701? Why at the end?

will do so.

Once upon a time the folks at HP were threatening to send me SMP Alpha
boxen -- not sure if I could still pull that off...

give 'em my address :-)

I'll try to provide you with all details within the next few days. Maybe on Monday, soonest... I'm not sure. For me weekend starts now. :-)

Best,
 Oliver

Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.3148
diff -u -r1.3148 kernel-2.6.spec
--- kernel-2.6.spec	10 May 2007 23:26:42 -0000	1.3148
+++ kernel-2.6.spec	11 May 2007 11:57:12 -0000
@@ -167,6 +167,16 @@
 %define usesparse 0
 %endif
+%ifarch alpha alphaev5 alphaev56 alphaev6 alphaev67
+%define with_smp 0
+%define with_pae 0
+%define with_xen 0
+%define with_kdump 0
+%define with_debug 0
+%define usesparse 0
+%define with_modsign 0
+%endif
+
 # Per-arch tweaks
%ifarch %{all_x86}
@@ -238,6 +248,13 @@
 %define xen_image vmlinux.gz
 %endif
+%ifarch alpha alphaev6 alphaev67
+%define all_arch_configs $RPM_SOURCE_DIR/kernel-%{kversion}-alpha*.config
+%define image_install_path boot
+%define make_target boot
+%define kernel_image vmlinux
+%endif
+
 # To temporarily exclude an architecture from being built, add it to
 # %nobuildarches. Do _NOT_ use the ExclusiveArch: line, because if we
 # don't build kernel-headers then the new build system will no longer let
@@ -290,13 +307,13 @@
 Group: System Environment/Kernel
 License: GPLv2
 Version: %{rpmversion}
-Release: %{release}
+Release: %{release}axp
 %if 0%{?olpc}
 ExclusiveArch: i386 i586
 %else
 # DO NOT CHANGE THIS LINE TO TEMPORARILY EXCLUDE AN ARCHITECTURE BUILD.
 # SET %nobuildarches (ABOVE) INSTEAD
-ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparc64 s390 s390x
+ExclusiveArch: noarch %{all_x86} x86_64 ppc ppc64 ia64 sparc sparc64 s390 s390x alpha alphaev6 alphaev67
 %endif
 ExclusiveOS: Linux
 Provides: kernel-drm = 4.3.0
@@ -363,6 +380,9 @@
 #Source67: kernel-%{kversion}-sparc64.config
 #Source68: kernel-%{kversion}-sparc64-smp.config
+Source50: kernel-%{kversion}-alpha.config
+Source50: kernel-%{kversion}-alpha-smp.config
+
 Source80: config-rhel-generic
 Source81: config-rhel-x86-generic
 Source82: config-olpc-generic
@@ -452,6 +472,9 @@
# 600 - 699 sparc(64) +# 700 - 799 alpha
+Patch701: linux-2.6-no_fec_for_alpha.patch
+
 #
 # Patches 800 through 899 are reserved for bugfixes to the core system
 # and patches related to how RPMs are build
@@ -1001,7 +1024,9 @@
 # Patches 10 through 100 are meant for core subsystem upgrades
# Roland's utrace ptrace replacement.
+%ifnarch alpha alphaev5 alphaev56 alphaev6 alphaev67
 %patch10 -p1
+%endif
 %patch11 -p1
# Power management fixes
@@ -1106,7 +1131,9 @@
 %patch800 -p1
# Exec shield
+%ifnarch alpha alphaev5 alphaev56 alphaev6 alphaev6
 %patch810 -p1
+%endif
#
 # GPG signed kernel modules
@@ -1181,7 +1208,9 @@
 %patch1018 -p1
 %patch1019 -p1
 %patch1020 -p1
+%ifnarch alpha alphaev5 alphaev56 alphaev6 alphaev6
 %patch1021 -p1
+%endif
 %patch1022 -p1
 %if %{includexen}
 %patch1023 -p1
@@ -1198,7 +1227,9 @@
 #
 # /dev/crash driver for the crashdump analysis tool
 #
+%ifnarch alpha alphaev5 alphaev56 alphaev6 alphaev67
 %patch1060 -p1
+%endif
 %if %{includexen}
 %patch1061 -p1
 %endif
@@ -1258,7 +1289,9 @@
 # DVB spinlock bug
 %patch1700 -p1
 # setuid /proc/self/maps fix.
+%ifnarch alpha alphaev5 alphaev56 alphaev6 alphaev67
 %patch1720 -p1
+%endif
 # Add a safety net to softlockup so that it doesn't prevent installs.
 %patch1740 -p1
 # Speed up spinlock debug.
@@ -1346,7 +1379,9 @@
 #
# Pull in the new firewire stack
+%ifnarch alpha alphaev5 alphaev56 alphaev6 alphaev67
 %patch5000 -p1
+%endif
#
 # final stuff
@@ -1360,6 +1395,9 @@
 %patch10002 -p1
 %patch10003 -p1
+# alpha related, but must be done at the end...
+%patch701 -p0
+
 # END OF PATCH APPLICATIONS
cp %{SOURCE10} Documentation/



--
Oliver Falk
UNIX/Linux Systems Administrator
Mail: oliver@xxxxxxxxxxxxxxx
Phone: +43 (664) 838 59 25

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux