Re: kernel package

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

 



On Fri, 2007-05-11 at 13:01 +0100, 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.
> 
> Can you explain each ifarch? And show Patch701? Why at the end?
> 
> 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...
> 
> 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

instead of listing all the alpha arches everywhere, you should define a
macro like %{all_alpha}

>  # 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

Shouldn't need to muck with Release

>  %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

Do you need an alpha-smp.config since you turned smp builds off?
 
> +# 700 - 799   alpha
> +Patch701: linux-2.6-no_fec_for_alpha.patch

Where's this?

>  #
>  # 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

Is utrace really broken on alpha?
 
>  # 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

Does this patch not apply, or doesn't work, or?

>  %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

Same thing here

>  %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

Same thing here

josh

-- 
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