1
0
forked from pool/kernel-source
OBS User unknown 2009-05-24 22:39:22 +00:00 committed by Git OBS Bridge
parent d4ad2e2ea3
commit e769c89f5e
28 changed files with 276 additions and 34 deletions

View File

@ -10,13 +10,22 @@ flavor=${1##*-}
/usr/lib/rpm/find-provides "$@" <"$filelist" /usr/lib/rpm/find-provides "$@" <"$filelist"
( case `uname -m` in
grep '\.ko$' "$filelist" | \ ia64)
xargs -r $sourcedir/symsets.pl --list-exported-symbols; image="vmlinuz"
grep '/Module\.symvers$' "$filelist" | while read f; do ;;
$sourcedir/symsets.pl --list-exported-symbols --symvers-file="$f" *)
done image="vmlinux"
) | awk -v flavor="$flavor" ' 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); sub(/^0x0*/, "", $1);
if (!$1) if (!$1)

View File

@ -678,7 +678,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %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} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun May 24 10:36:18 CEST 2009 - mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
-------------------------------------------------------------------
Sat May 23 22:18:05 CEST 2009 - mmarek@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 15:47:01 CEST 2009 - teheo@suse.de Fri May 22 15:47:01 CEST 2009 - teheo@suse.de

View File

@ -62,7 +62,7 @@
Name: kernel-debug Name: kernel-debug
Summary: A Debug Version of the Kernel Summary: A Debug Version of the Kernel
Version: 2.6.30 Version: 2.6.30
Release: 2 Release: 3
%if %using_buildservice %if %using_buildservice
%else %else
%endif %endif
@ -604,7 +604,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %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} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -790,6 +790,12 @@ kernel module packages) against the -debug flavor of the kernel.
%endif %endif
%changelog %changelog
* Sun May 24 2009 mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
* Sat May 23 2009 mmarek@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@suse.de * Fri May 22 2009 teheo@suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE - patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation. relocation.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun May 24 10:36:18 CEST 2009 - mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
-------------------------------------------------------------------
Sat May 23 22:18:05 CEST 2009 - mmarek@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 15:47:01 CEST 2009 - teheo@suse.de Fri May 22 15:47:01 CEST 2009 - teheo@suse.de

View File

@ -62,7 +62,7 @@
Name: kernel-default Name: kernel-default
Summary: The Standard Kernel Summary: The Standard Kernel
Version: 2.6.30 Version: 2.6.30
Release: 2 Release: 3
%if %using_buildservice %if %using_buildservice
%else %else
%endif %endif
@ -619,7 +619,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %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} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -802,6 +802,12 @@ kernel module packages) against the -default flavor of the kernel.
%endif %endif
%changelog %changelog
* Sun May 24 2009 mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
* Sat May 23 2009 mmarek@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@suse.de * Fri May 22 2009 teheo@suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE - patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation. relocation.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun May 24 10:36:18 CEST 2009 - mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
-------------------------------------------------------------------
Sat May 23 22:18:05 CEST 2009 - mmarek@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 15:47:01 CEST 2009 - teheo@suse.de Fri May 22 15:47:01 CEST 2009 - teheo@suse.de

View File

@ -62,7 +62,7 @@
Name: kernel-kdump Name: kernel-kdump
Summary: kernel for kdump Summary: kernel for kdump
Version: 2.6.30 Version: 2.6.30
Release: 2 Release: 3
%if %using_buildservice %if %using_buildservice
%else %else
%endif %endif
@ -606,7 +606,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %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} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -798,6 +798,12 @@ kernel module packages) against the -kdump flavor of the kernel.
%endif %endif
%changelog %changelog
* Sun May 24 2009 mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
* Sat May 23 2009 mmarek@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@suse.de * Fri May 22 2009 teheo@suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE - patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation. relocation.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun May 24 10:36:18 CEST 2009 - mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
-------------------------------------------------------------------
Sat May 23 22:18:05 CEST 2009 - mmarek@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 15:47:01 CEST 2009 - teheo@suse.de Fri May 22 15:47:01 CEST 2009 - teheo@suse.de

View File

@ -62,7 +62,7 @@
Name: kernel-legacy Name: kernel-legacy
Summary: The Standard Kernel Summary: The Standard Kernel
Version: 2.6.30 Version: 2.6.30
Release: 2 Release: 3
%if %using_buildservice %if %using_buildservice
%else %else
%endif %endif
@ -603,7 +603,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %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} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -792,6 +792,12 @@ kernel module packages) against the -legacy flavor of the kernel.
%endif %endif
%changelog %changelog
* Sun May 24 2009 mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
* Sat May 23 2009 mmarek@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@suse.de * Fri May 22 2009 teheo@suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE - patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation. relocation.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun May 24 10:36:18 CEST 2009 - mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
-------------------------------------------------------------------
Sat May 23 22:18:05 CEST 2009 - mmarek@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 15:47:01 CEST 2009 - teheo@suse.de Fri May 22 15:47:01 CEST 2009 - teheo@suse.de

View File

@ -62,7 +62,7 @@
Name: kernel-ppc64 Name: kernel-ppc64
Summary: Kernel for ppc64 Systems Summary: Kernel for ppc64 Systems
Version: 2.6.30 Version: 2.6.30
Release: 2 Release: 3
%if %using_buildservice %if %using_buildservice
%else %else
%endif %endif
@ -621,7 +621,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %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} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -853,6 +853,12 @@ Authors:
%endif %endif
%changelog %changelog
* Sun May 24 2009 mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
* Sat May 23 2009 mmarek@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@suse.de * Fri May 22 2009 teheo@suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE - patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation. relocation.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun May 24 10:36:18 CEST 2009 - mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
-------------------------------------------------------------------
Sat May 23 22:18:05 CEST 2009 - mmarek@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 15:47:01 CEST 2009 - teheo@suse.de Fri May 22 15:47:01 CEST 2009 - teheo@suse.de

View File

@ -62,7 +62,7 @@
Name: kernel-ps3 Name: kernel-ps3
Summary: kernel for ps3 bootloader Summary: kernel for ps3 bootloader
Version: 2.6.30 Version: 2.6.30
Release: 2 Release: 3
%if %using_buildservice %if %using_buildservice
%else %else
%endif %endif
@ -606,7 +606,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %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} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -792,6 +792,12 @@ kernel module packages) against the -default flavor of the kernel.
%endif %endif
%changelog %changelog
* Sun May 24 2009 mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
* Sat May 23 2009 mmarek@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@suse.de * Fri May 22 2009 teheo@suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE - patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation. relocation.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun May 24 10:36:18 CEST 2009 - mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
-------------------------------------------------------------------
Sat May 23 22:18:05 CEST 2009 - mmarek@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 15:47:01 CEST 2009 - teheo@suse.de Fri May 22 15:47:01 CEST 2009 - teheo@suse.de

View File

@ -62,7 +62,7 @@
Name: kernel-s390 Name: kernel-s390
Summary: The Standard Kernel Summary: The Standard Kernel
Version: 2.6.30 Version: 2.6.30
Release: 2 Release: 3
%if %using_buildservice %if %using_buildservice
%else %else
%endif %endif
@ -607,7 +607,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %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} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -790,6 +790,12 @@ kernel module packages) against the -s390 flavor of the kernel.
%endif %endif
%changelog %changelog
* Sun May 24 2009 mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
* Sat May 23 2009 mmarek@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@suse.de * Fri May 22 2009 teheo@suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE - patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation. relocation.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun May 24 10:36:18 CEST 2009 - mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
-------------------------------------------------------------------
Sat May 23 22:18:05 CEST 2009 - mmarek@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 15:47:01 CEST 2009 - teheo@suse.de Fri May 22 15:47:01 CEST 2009 - teheo@suse.de

View File

@ -42,7 +42,7 @@ Url: http://www.kernel.org/
Name: kernel-source Name: kernel-source
Summary: The Linux Kernel Sources Summary: The Linux Kernel Sources
Version: 2.6.30 Version: 2.6.30
Release: 2 Release: 3
%if %using_buildservice %if %using_buildservice
%else %else
%endif %endif
@ -235,6 +235,12 @@ done
%endif %endif
%changelog %changelog
* Sun May 24 2009 mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
* Sat May 23 2009 mmarek@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@suse.de * Fri May 22 2009 teheo@suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE - patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation. relocation.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun May 24 10:36:18 CEST 2009 - mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
-------------------------------------------------------------------
Sat May 23 22:18:05 CEST 2009 - mmarek@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 15:47:01 CEST 2009 - teheo@suse.de Fri May 22 15:47:01 CEST 2009 - teheo@suse.de

View File

@ -33,7 +33,7 @@ Url: http://www.kernel.org/
Name: kernel-syms Name: kernel-syms
Summary: Kernel Symbol Versions (modversions) Summary: Kernel Symbol Versions (modversions)
Version: 2.6.30 Version: 2.6.30
Release: 2 Release: 3
%if %using_buildservice %if %using_buildservice
%else %else
%define kernel_source_release %(LC_ALL=C rpm -q kernel-source%variant-%version --qf "%{RELEASE}" | grep -v 'not installed' || echo 0) %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 @@ install -m 644 -D %{SOURCE0} %buildroot/%_docdir/%name/README.SUSE
%_docdir/%name/README.SUSE %_docdir/%name/README.SUSE
%changelog %changelog
* Sun May 24 2009 mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
* Sat May 23 2009 mmarek@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@suse.de * Fri May 22 2009 teheo@suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE - patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation. relocation.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun May 24 10:36:18 CEST 2009 - mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
-------------------------------------------------------------------
Sat May 23 22:18:05 CEST 2009 - mmarek@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 15:47:01 CEST 2009 - teheo@suse.de Fri May 22 15:47:01 CEST 2009 - teheo@suse.de

View File

@ -62,7 +62,7 @@
Name: kernel-trace Name: kernel-trace
Summary: The Realtime Linux Kernel Summary: The Realtime Linux Kernel
Version: 2.6.30 Version: 2.6.30
Release: 2 Release: 3
%if %using_buildservice %if %using_buildservice
%else %else
%endif %endif
@ -609,7 +609,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %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} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -812,6 +812,12 @@ Authors:
%endif %endif
%changelog %changelog
* Sun May 24 2009 mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
* Sat May 23 2009 mmarek@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@suse.de * Fri May 22 2009 teheo@suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE - patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation. relocation.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun May 24 10:36:18 CEST 2009 - mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
-------------------------------------------------------------------
Sat May 23 22:18:05 CEST 2009 - mmarek@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 15:47:01 CEST 2009 - teheo@suse.de Fri May 22 15:47:01 CEST 2009 - teheo@suse.de

View File

@ -62,7 +62,7 @@
Name: kernel-vanilla Name: kernel-vanilla
Summary: The Standard Kernel - without any SUSE patches Summary: The Standard Kernel - without any SUSE patches
Version: 2.6.30 Version: 2.6.30
Release: 2 Release: 3
%if %using_buildservice %if %using_buildservice
%else %else
%endif %endif
@ -611,7 +611,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %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} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -790,6 +790,12 @@ kernel module packages) against the -vanilla flavor of the kernel.
%endif %endif
%changelog %changelog
* Sun May 24 2009 mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
* Sat May 23 2009 mmarek@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@suse.de * Fri May 22 2009 teheo@suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE - patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation. relocation.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun May 24 10:36:18 CEST 2009 - mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
-------------------------------------------------------------------
Sat May 23 22:18:05 CEST 2009 - mmarek@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 15:47:01 CEST 2009 - teheo@suse.de Fri May 22 15:47:01 CEST 2009 - teheo@suse.de

View File

@ -62,7 +62,7 @@
Name: kernel-xen Name: kernel-xen
Summary: The Xen Kernel Summary: The Xen Kernel
Version: 2.6.30 Version: 2.6.30
Release: 2 Release: 3
%if %using_buildservice %if %using_buildservice
%else %else
%endif %endif
@ -606,7 +606,7 @@ add_dirs_to_filelist() {
# Collect the file lists. # Collect the file lists.
shopt -s nullglob shopt -s nullglob
> %my_builddir/kernel-devel.files > %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} f=${file##%buildroot}
echo "$f" >> %my_builddir/kernel-devel.files echo "$f" >> %my_builddir/kernel-devel.files
done done
@ -798,6 +798,12 @@ kernel module packages) against the -xen flavor of the kernel.
%endif %endif
%changelog %changelog
* Sun May 24 2009 mmarek@suse.cz
- rpm/find-provides: fix for kernel-kdump.
* Sat May 23 2009 mmarek@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@suse.de * Fri May 22 2009 teheo@suse.de
- patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE - patches.arch/i586-unwind-quick-fix: i586-relocs: ignore NONE
relocation. relocation.

View File

@ -1,3 +1,3 @@
2009-05-22 15:47:06 +0200 2009-05-24 10:36:30 +0200
GIT Revision: 004d7f8460e6b2588aae824b928acd18fdb74cb4 GIT Revision: b74f2b51e1f325297f352ba2ee9648782e4516d7
GIT Branch: master GIT Branch: master

View File

@ -107,6 +107,7 @@ use warnings;
use Digest::MD5 qw(md5_hex); use Digest::MD5 qw(md5_hex);
use Getopt::Long; use Getopt::Long;
use File::Temp qw(tempfile);
eval { require Pod::Usage; }; eval { require Pod::Usage; };
if ($@) { if ($@) {
sub pod2usage { sub pod2usage {
@ -126,6 +127,10 @@ Install Pod::Usage for a better help message.
Pod::Usage->import('pod2usage'); Pod::Usage->import('pod2usage');
} }
my @cleanfiles = ();
END {
unlink @cleanfiles;
}
our ($opt_verbose); our ($opt_verbose);
our $kabi_badness = 0; our $kabi_badness = 0;
@ -292,8 +297,20 @@ sub module_exports {
my ($file) = @_; my ($file) = @_;
my (%crcs, %types, @res); my (%crcs, %types, @res);
my $mod = $file; 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"; open(my $pipe, '-|', 'objdump', '-t', $file) or die "objdump -t $file: $!\n";
while (<$pipe>) { while (<$pipe>) {