[PATCH] markers: modpost
Roland McGrath
roland@redhat.com
Thu Nov 1 01:12:00 GMT 2007
Frank, I hope you can take it away from there. If it needs to be reworked,
there should be enough made clear by my patch for someone else on the team
to follow up on the details.
A simple change of a couple of lines will be required for the Fedora-style
packaging to pick up the file once the patch goes in.
If the patch turns out noncontroversial and is on track upstream but does
not look like it will hit 2.6.24, I will throw it into Fedora development
(rawhide) builds early for you.
Thanks,
Roland
--- kernel.spec 31 Oct 2007 17:58:34 -0700 1.228
+++ kernel.spec 31 Oct 2007 18:00:41 -0700
@@ -1276,6 +1276,10 @@ 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
+ if [ -s Module.markers ]; then
+ cp Module.markers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
+ fi
+ 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 Systemtap
mailing list