This is the mail archive of the mailing list for the systemtap project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] markers: modpost

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.


--- 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 $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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]