On Tue, Oct 25, 2005 at 09:33:20PM +0100, Manuel Moreno wrote:
The one of you saying that ubuntu kernel has more patches than
fedora's
Fedora
-----------
$ cd /usr/src/redhat/SOURCES/
$ rpm -Uvh ../SRPMS/kernel-2.6.13-1.1529_FC4.src.rpm
I assume you mean kernel-2.6.13-1.1529_FC5.src.rpm.
$ ls -l *.patch | wc -l
$ 101
Not all patches in the src.rpm are applied.
Ubuntu
-------
16 + 24 = 40 patches
Number of patch files is irrelevent. How many actual changes are in
those patches?
Fedora applied patches:
applied=`grep -i ^%patch kernel-2.6.spec \
| awk '{print $1}' \
| sed -e's/^%patch/^Patch/' \
| grep -i -f - kernel-2.6.spec \
| awk '{print $2}'`
ls `echo $applied` | wc -l
88
diffstat $applied
[...]
817 files changed, 143397 insertions(+), 4911 deletions(-)
How many of those changes are bugfixes with a low risk vs. new
features?