install System.map in kernel-devel

Roland McGrath roland at redhat.com
Tue Oct 23 13:05:28 UTC 2007


The systemtap folks are interested in having System.map installed by
kernel-devel, not just by the kernel rpm itself.  This makes it possible to
do more preparations off-line for a kernel other than an installed one.

Without objection, I'll check this in on all branches.

Thanks,
Roland


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/kernel.spec,v
retrieving revision 1.239
diff -u -b -p -r1.239 kernel.spec
--- kernel.spec	22 Oct 2007 20:49:43 -0000	1.239
+++ kernel.spec	23 Oct 2007 13:02:39 -0000
@@ -1446,6 +1446,7 @@ BuildKernel() {
     # first copy everything
     cp --parents `find  -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
     cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
+    cp System.map $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
     # then drop all but the needed Makefiles/Kconfig files
     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Documentation
     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts




More information about the Fedora-kernel-list mailing list