Hello community,
here is the log from the commit of package kernel-source for openSUSE:Factory
checked in at Mon May 25 00:39:03 CEST 2009.
--------
--- kernel-source/kernel-debug.changes 2009-05-22 15:53:46.000000000 +0200
+++ /mounts/work_src_done/STABLE/kernel-source/kernel-debug.changes 2009-05-24 10:51:22.000000000 +0200
@@ -1,0 +2,12 @@
+Sun May 24 10:36:18 CEST 2009 - mmarek(a)suse.cz
+
+- rpm/find-provides: fix for kernel-kdump.
+
+-------------------------------------------------------------------
+Sat May 23 22:18:05 CEST 2009 - mmarek(a)suse.cz
+
+- rpm/find-provides, rpm/kernel-binary.spec.in, rpm/symsets.pl:
+ workaround to fix provides of built-in symbols: move vmlinux*.gz
+ back to -base and extract the provides from it.
+
+-------------------------------------------------------------------
kernel-default.changes: same change
kernel-kdump.changes: same change
kernel-legacy.changes: same change
kernel-ppc64.changes: same change
kernel-ps3.changes: same change
kernel-s390.changes: same change
kernel-source.changes: same change
kernel-syms.changes: same change
kernel-trace.changes: same change
kernel-vanilla.changes: same change
kernel-xen.changes: same change
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kernel-debug.spec ++++++
--- /var/tmp/diff_new_pack.UO8334/_old 2009-05-25 00:33:22.000000000 +0200
+++ /var/tmp/diff_new_pack.UO8334/_new 2009-05-25 00:33:22.000000000 +0200
@@ -62,7 +62,7 @@
Name: kernel-debug
Summary: A Debug Version of the Kernel
Version: 2.6.30
-Release: 2
+Release: 3
%if %using_buildservice
%else
%endif
@@ -604,7 +604,7 @@
# Collect the file lists.
shopt -s nullglob
> %my_builddir/kernel-devel.files
-for file in %buildroot/boot/vmlinux-*gz %buildroot/boot/sym* ; do
+for file in %buildroot/boot/sym* ; do
f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files
done
@@ -790,6 +790,12 @@
%endif
%changelog
+* Sun May 24 2009 mmarek(a)suse.cz
+- rpm/find-provides: fix for kernel-kdump.
+* Sat May 23 2009 mmarek(a)suse.cz
+- rpm/find-provides, rpm/kernel-binary.spec.in, rpm/symsets.pl:
+ workaround to fix provides of built-in symbols: move vmlinux*.gz
+ back to -base and extract the provides from it.
* Fri May 22 2009 teheo(a)suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation.
kernel-default.spec: same change
++++++ kernel-kdump.spec ++++++
--- /var/tmp/diff_new_pack.UO8334/_old 2009-05-25 00:33:23.000000000 +0200
+++ /var/tmp/diff_new_pack.UO8334/_new 2009-05-25 00:33:23.000000000 +0200
@@ -62,7 +62,7 @@
Name: kernel-kdump
Summary: kernel for kdump
Version: 2.6.30
-Release: 2
+Release: 3
%if %using_buildservice
%else
%endif
@@ -606,7 +606,7 @@
# Collect the file lists.
shopt -s nullglob
> %my_builddir/kernel-devel.files
-for file in %buildroot/boot/vmlinux-*gz %buildroot/boot/sym* ; do
+for file in %buildroot/boot/sym* ; do
f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files
done
@@ -798,6 +798,12 @@
%endif
%changelog
+* Sun May 24 2009 mmarek(a)suse.cz
+- rpm/find-provides: fix for kernel-kdump.
+* Sat May 23 2009 mmarek(a)suse.cz
+- rpm/find-provides, rpm/kernel-binary.spec.in, rpm/symsets.pl:
+ workaround to fix provides of built-in symbols: move vmlinux*.gz
+ back to -base and extract the provides from it.
* Fri May 22 2009 teheo(a)suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation.
++++++ kernel-legacy.spec ++++++
--- /var/tmp/diff_new_pack.UO8334/_old 2009-05-25 00:33:23.000000000 +0200
+++ /var/tmp/diff_new_pack.UO8334/_new 2009-05-25 00:33:23.000000000 +0200
@@ -62,7 +62,7 @@
Name: kernel-legacy
Summary: The Standard Kernel
Version: 2.6.30
-Release: 2
+Release: 3
%if %using_buildservice
%else
%endif
@@ -603,7 +603,7 @@
# Collect the file lists.
shopt -s nullglob
> %my_builddir/kernel-devel.files
-for file in %buildroot/boot/vmlinux-*gz %buildroot/boot/sym* ; do
+for file in %buildroot/boot/sym* ; do
f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files
done
@@ -792,6 +792,12 @@
%endif
%changelog
+* Sun May 24 2009 mmarek(a)suse.cz
+- rpm/find-provides: fix for kernel-kdump.
+* Sat May 23 2009 mmarek(a)suse.cz
+- rpm/find-provides, rpm/kernel-binary.spec.in, rpm/symsets.pl:
+ workaround to fix provides of built-in symbols: move vmlinux*.gz
+ back to -base and extract the provides from it.
* Fri May 22 2009 teheo(a)suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation.
kernel-ppc64.spec: same change
kernel-ps3.spec: same change
kernel-s390.spec: same change
++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.UO8334/_old 2009-05-25 00:33:24.000000000 +0200
+++ /var/tmp/diff_new_pack.UO8334/_new 2009-05-25 00:33:24.000000000 +0200
@@ -42,7 +42,7 @@
Name: kernel-source
Summary: The Linux Kernel Sources
Version: 2.6.30
-Release: 2
+Release: 3
%if %using_buildservice
%else
%endif
@@ -235,6 +235,12 @@
%endif
%changelog
+* Sun May 24 2009 mmarek(a)suse.cz
+- rpm/find-provides: fix for kernel-kdump.
+* Sat May 23 2009 mmarek(a)suse.cz
+- rpm/find-provides, rpm/kernel-binary.spec.in, rpm/symsets.pl:
+ workaround to fix provides of built-in symbols: move vmlinux*.gz
+ back to -base and extract the provides from it.
* Fri May 22 2009 teheo(a)suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation.
++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.UO8334/_old 2009-05-25 00:33:25.000000000 +0200
+++ /var/tmp/diff_new_pack.UO8334/_new 2009-05-25 00:33:25.000000000 +0200
@@ -33,7 +33,7 @@
Name: kernel-syms
Summary: Kernel Symbol Versions (modversions)
Version: 2.6.30
-Release: 2
+Release: 3
%if %using_buildservice
%else
%define kernel_source_release %(LC_ALL=C rpm -q kernel-source%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0)
@@ -102,6 +102,12 @@
%_docdir/%name/README.SUSE
%changelog
+* Sun May 24 2009 mmarek(a)suse.cz
+- rpm/find-provides: fix for kernel-kdump.
+* Sat May 23 2009 mmarek(a)suse.cz
+- rpm/find-provides, rpm/kernel-binary.spec.in, rpm/symsets.pl:
+ workaround to fix provides of built-in symbols: move vmlinux*.gz
+ back to -base and extract the provides from it.
* Fri May 22 2009 teheo(a)suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation.
++++++ kernel-trace.spec ++++++
--- /var/tmp/diff_new_pack.UO8334/_old 2009-05-25 00:33:25.000000000 +0200
+++ /var/tmp/diff_new_pack.UO8334/_new 2009-05-25 00:33:25.000000000 +0200
@@ -62,7 +62,7 @@
Name: kernel-trace
Summary: The Realtime Linux Kernel
Version: 2.6.30
-Release: 2
+Release: 3
%if %using_buildservice
%else
%endif
@@ -609,7 +609,7 @@
# Collect the file lists.
shopt -s nullglob
> %my_builddir/kernel-devel.files
-for file in %buildroot/boot/vmlinux-*gz %buildroot/boot/sym* ; do
+for file in %buildroot/boot/sym* ; do
f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files
done
@@ -812,6 +812,12 @@
%endif
%changelog
+* Sun May 24 2009 mmarek(a)suse.cz
+- rpm/find-provides: fix for kernel-kdump.
+* Sat May 23 2009 mmarek(a)suse.cz
+- rpm/find-provides, rpm/kernel-binary.spec.in, rpm/symsets.pl:
+ workaround to fix provides of built-in symbols: move vmlinux*.gz
+ back to -base and extract the provides from it.
* Fri May 22 2009 teheo(a)suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation.
kernel-vanilla.spec: same change
kernel-xen.spec: same change
++++++ find-provides ++++++
--- /var/tmp/diff_new_pack.UO8334/_old 2009-05-25 00:33:29.000000000 +0200
+++ /var/tmp/diff_new_pack.UO8334/_new 2009-05-25 00:33:29.000000000 +0200
@@ -10,13 +10,22 @@
/usr/lib/rpm/find-provides "$@" <"$filelist"
-(
- grep '\.ko$' "$filelist" | \
- xargs -r $sourcedir/symsets.pl --list-exported-symbols;
- grep '/Module\.symvers$' "$filelist" | while read f; do
- $sourcedir/symsets.pl --list-exported-symbols --symvers-file="$f"
- done
-) | awk -v flavor="$flavor" '
+case `uname -m` in
+ia64)
+ image="vmlinuz"
+ ;;
+*)
+ image="vmlinux"
+esac
+while read f; do
+ test -e "$f" || continue
+ case "$f" in
+ *.ko | */$image* )
+ echo "$f"
+ esac
+done <"$filelist" | \
+ xargs -r $sourcedir/symsets.pl --list-exported-symbols | \
+ awk -v flavor="$flavor" '
{
sub(/^0x0*/, "", $1);
if (!$1)
++++++ kernel-binary.spec.in ++++++
--- /var/tmp/diff_new_pack.UO8334/_old 2009-05-25 00:33:29.000000000 +0200
+++ /var/tmp/diff_new_pack.UO8334/_new 2009-05-25 00:33:29.000000000 +0200
@@ -678,7 +678,7 @@
# Collect the file lists.
shopt -s nullglob
> %my_builddir/kernel-devel.files
-for file in %buildroot/boot/vmlinux-*gz %buildroot/boot/sym* ; do
+for file in %buildroot/boot/sym* ; do
f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files
done
++++++ minmem ++++++
--- /var/tmp/diff_new_pack.UO8334/_old 2009-05-25 00:33:34.000000000 +0200
+++ /var/tmp/diff_new_pack.UO8334/_new 2009-05-25 00:33:34.000000000 +0200
@@ -1 +1 @@
-2096000
+1048576
++++++ needed_space_in_mb ++++++
--- /var/tmp/diff_new_pack.UO8334/_old 2009-05-25 00:33:34.000000000 +0200
+++ /var/tmp/diff_new_pack.UO8334/_new 2009-05-25 00:33:34.000000000 +0200
@@ -1 +1 @@
-6000
+6144
++++++ source-timestamp ++++++
--- /var/tmp/diff_new_pack.UO8334/_old 2009-05-25 00:33:37.000000000 +0200
+++ /var/tmp/diff_new_pack.UO8334/_new 2009-05-25 00:33:37.000000000 +0200
@@ -1,3 +1,3 @@
-2009-05-22 15:47:06 +0200
-GIT Revision: 004d7f8460e6b2588aae824b928acd18fdb74cb4
+2009-05-24 10:36:30 +0200
+GIT Revision: b74f2b51e1f325297f352ba2ee9648782e4516d7
GIT Branch: master
++++++ symsets.pl ++++++
--- /var/tmp/diff_new_pack.UO8334/_old 2009-05-25 00:33:38.000000000 +0200
+++ /var/tmp/diff_new_pack.UO8334/_new 2009-05-25 00:33:38.000000000 +0200
@@ -107,6 +107,7 @@
use Digest::MD5 qw(md5_hex);
use Getopt::Long;
+use File::Temp qw(tempfile);
eval { require Pod::Usage; };
if ($@) {
sub pod2usage {
@@ -126,6 +127,10 @@
Pod::Usage->import('pod2usage');
}
+my @cleanfiles = ();
+END {
+ unlink @cleanfiles;
+}
our ($opt_verbose);
our $kabi_badness = 0;
@@ -292,8 +297,20 @@
my ($file) = @_;
my (%crcs, %types, @res);
my $mod = $file;
- $mod =~ s/.*\/lib\/modules\/[^\/]*\/kernel\///;
- $mod =~ s/\.(k?o|a)$//;
+
+ if ($file =~ /\/vmlinu[xz]/) {
+ $mod = "vmlinux";
+ } else {
+ $mod =~ s/.*\/lib\/modules\/[^\/]*\/kernel\///;
+ $mod =~ s/\.(k?o|a)$//;
+ }
+ if ($file =~ /\.gz$|\/vmlinuz/) {
+ my ($fh, $newfile) = tempfile();
+ close($fh);
+ push(@cleanfiles, $newfile);
+ system("gzip -cd $file >$newfile");
+ $file = $newfile;
+ }
open(my $pipe, '-|', 'objdump', '-t', $file) or die "objdump -t $file: $!\n";
while (<$pipe>) {
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org